[Buildroot] Error on compiling busybox using buildroot for mipsel

Doug Brewer brewer.doug at gmail.com
Thu Dec 7 12:48:03 UTC 2006


I used buildroot to build mipsel crss-compiler and busybox. While compilng
on busybox, I encounter errors:

make[1]: Leaving directory `/home/brewer/buildroot/build_mipsel/busybox'
touch /home/brewer/buildroot/build_mipsel/busybox/.configured
make -j1 CC=/home/brewer/buildroot/build_mipsel/staging_dir/bin/mipsel-linux-ucl
ibc-gcc CROSS_COMPILE="/home/brewer/buildroot/build_mipsel/staging_dir/bin/mipse
l-linux-uclibc-" \
l-linux-uclibc-" PREFIX="/home/brewer/buildroot/build_mipsel/root" \
                EXTRA_CFLAGS="-Os -pipe " -C /home/brewer/buildroot/build_mipsel
make[1]: Entering directory `/home/brewer/buildroot/build_mipsel/busybox'
  SPLIT   include/autoconf.h -> include/config/*
  GEN     include/bbconfigopts.h
  HOSTCC  applets/usage
  GEN     include/usage_compressed.h
  CC      applets/applets.o
cc1: error: invalid option `preferred-stack-boundary=2'
applets/applets.c:1: error: bad value (i386) for -march
Assembler messages:
Error: Bad value (i386) for -march
make[2]: *** [applets/applets.o] Error 1
make[1]: *** [applets] Error 2
make[1]: Leaving directory `/home/brewer/buildroot/build_mipsel/busybox'

It looks that buildroot passed the wrong arch for busybox? Thanks.


More information about the buildroot mailing list