[BusyBox] buildroot using incorrect assembler version?

Ralph Siemsen ralphs at netwinder.org
Mon Jul 11 12:53:53 UTC 2005


I've just checked out a fresh tree from SVN (snapshot 10782) and am 
trying to build for ARM little-endian.  The build is failing in uClibc, 
specifically it appears to be calling the host gcc instead of the 
cross-compiler version for .S targets:

make[3]: Entering directory 
`/home/rsiemsen/src/buildroot-svn-arm/toolchain_build_arm_nofpu/uClibc-0.9.27/ldso/ldso'
gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
-fstrict-aliasing -Os -funit-at-a-time    -mlittle-endian 
-mtune=strongarm110 -march=armv4 -msoft-float -fPIC 
-DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC 
-I../../ldso/include -I. -I../../include -isystem 
/usr/lib/gcc/i386-redhat-linux/3.4.3/include  -I../libdl -c 
arm/resolve.S -o arm/resolve.o
cc1: error: invalid option `little-endian'
arm/resolve.S:0: error: bad value (armv4) for -march= switch
arm/resolve.S:0: error: bad value (strongarm110) for -mtune= switch
make[3]: *** [arm/resolve.o] Error 1

This used to work, am I missing something obvious, or is it just a case 
of bit-rot?  My config settings are mostly the default ones:

$ grep ^BR2 .config
BR2_HAVE_DOT_CONFIG=y
BR2_arm=y
BR2_ARCH="arm"
BR2_WGET="wget --passive-ftp"
BR2_SVN="svn co"
BR2_SOURCEFORGE_MIRROR="unc"
BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir"
BR2_JLEVEL=1
BR2_KERNEL_HEADERS_2_4_29=y
BR2_DEFAULT_KERNEL_HEADERS="2.4.29"
BR2_BINUTILS_VERSION_2_16_1=y
BR2_BINUTILS_VERSION="2.16.1"
BR2_GCC_VERSION_3_4_2=y
BR2_GCC_VERSION="3.4.2"
BR2_GCC_USE_SJLJ_EXCEPTIONS=""
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
BR2_LARGEFILE=y
BR2_SOFT_FLOAT=y
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_PACKAGE_BUSYBOX=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox.config"
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
BR2_TARGET_ROOTFS_EXT2_INODES=0
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
BR2_TARGET_ROOTFS_EXT2_COPYTO=""

Thanks
-R



More information about the busybox mailing list