[Buildroot] Adding Microblaze support to Buildroot

Spenser Gilliland spenser309 at gmail.com
Thu Nov 10 22:55:18 UTC 2011


Hi, I'm trying to add the Microblaze arch to buildroot.  However, I'm
having some issues.  The following error comes up when building the
intermediate compiler.

zh_HK.utf8
zh_SG.utf8
zh_TW.utf8
zu_ZA.utf8
/usr/bin/make -j1 -C
/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc \
         ARCH="microblaze" \

PREFIX=/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev/
\
         DEVEL_PREFIX=/usr/ \

RUNTIME_PREFIX=/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev/
\
         HOSTCC="/usr/bin/gcc" headers \
         lib/crt1.o lib/crti.o lib/crtn.o \
         install_headers
make[1]: Entering directory
`/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc'
make[1]: Nothing to be done for `headers'.
make[1]: `lib/crt1.o' is up to date.
make[1]: `lib/crti.o' is up to date.
make[1]: `lib/crtn.o' is up to date.
   INSTALL include ->
/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev//usr/include
unifdef: can't open include/bits/semaphore.h: No such file or directory
unifdef: can't open include/bits/pthreadtypes.h: No such file or directory
make[1]: Leaving directory
`/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc'
# Install the kernel headers to the first stage gcc include dir
# if necessary
if [ ! -f
/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev/usr/include/linux/version.h
]; then \
         cp -pLR
/home/spenser/Research/buildroot/buildroot/output/toolchain/linux/include/*
\

/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev/usr/include/;
\
     fi
/home/spenser/Research/buildroot/buildroot/output/host/usr/bin/microblaze-unknown-linux-uclibc-gcc
-nostdlib -nostartfiles -shared -x c /dev/null -o
/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev/usr/lib/libc.so
/tmp/ccU2bXNp.o: could not read symbols: No error
collect2: ld returned 1 exit status
make: ***
[/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc/.configured]
Error 1

The part which states "could not read symbols: No error" leaves me with
very little idea on how to proceed.

Additionally, the missing semaphore.h and pthreadtypes.h could be
related.  Which component provides these files and how do I ensure they
are installed correctly.

My changes are available at  git://github.com/Spenser309/buildroot.git

Thanks,
Spenser

-- 
Spenser Gilliland
Illinois Institute of Technology
Computer Engineering




More information about the buildroot mailing list