[Buildroot] Problems building toolchain

Kim Strøger ks at sfktech.com
Tue Oct 9 15:18:03 UTC 2007


I am trying to build just the toolchain, using svn revision 20210.
following the instruction from here:

# Point your web browser here <http://buildroot.uclibc.org/>,
# Download of copy of buildroot
# Unpack the tarball on your Linux system somewhere
# Edit the Makefile as needed if you wish to change anything.
# run 'unset CC'. Then run 'unset CXX'. Some Linux systems (i.e. Gentoo)
set variables such as 'CC' in the system environment which really messes
things up when cross compiling.
# run 'make menuconfig'
# Select the things you want to build. If you /only/ want a toolchain,
leave everything except the toolchain disabled.
# save your buildroot configuration.
# run 'make'

and I end up with this error msg. every time I try to build it.

make[1]: Leaving directory
/usr/bin/make MAKE="/usr/bin/make -j1" -C
/home/cz2/Crossdev/buildroot/toolchain_build_arm/uClibc \
                PREFIX= \
                DEVEL_PREFIX=/ \
                RUNTIME_PREFIX=/ \
                HOSTCC="/usr/lib/distcc/bin/gcc" \
make[1]: Entering directory
make[2]: `conf' is up to date.
  CC ldso/ldso/ldso.oS
cc1: error: unrecognized command line option "-mfdpic"
make[1]: *** [ldso/ldso/ldso.oS] Error 1
make[1]: Leaving directory
make: ***
[/home/cz2/Crossdev/buildroot/toolchain_build_arm/uClibc/lib/libc.a] Error 2

How do I get passed this point ?

Thanks, Kim S.

More information about the buildroot mailing list