...uses hardware FP, whereas u-boot uses software FP...

Steven Scholz steven.scholz@imc-berlin.de
Thu Mar 3 17:13:00 GMT 2005


Hi there,

while compiling my bootloader (U-Boot) for an ARM processor I got

arm-softfloat-linux-gnu-ld: ERROR: 
/opt/crosstool/arm-softfloat-linux-gnu/gcc-3.3.3-glibc-2.3.2-linux-2.4.27/lib/gcc-lib/arm-softfloat-linux-gnu/3.3.3/libgcc.a(_divsi3.oS) 
uses hardware FP, whereas u-boot uses software FP
arm-softfloat-linux-gnu-ld: failed to merge target specific data of file 
/opt/crosstool/arm-softfloat-linux-gnu/gcc-3.3.3-glibc-2.3.2-linux-2.4.27/lib/gcc-lib/arm-softfloat-linux-gnu/3.3.3/libgcc.a(_divsi3.oS)

This bootload does _not_ link against glibc but was compiled with "-msoft-float"

My toolchain gcc-3.3.3-glibc-2.3.2-linux-2.4.27 was built with 
crosstool-0.28-rc37 using

TARGET=arm-softfloat-linux-gnu
TARGET_CFLAGS="-O"
GCC_EXTRA_CONFIG="--with-float=soft"
GLIBC_EXTRA_CONFIG="--without-fp"
BINUTILS_DIR=binutils-2.15
GCC_DIR=gcc-3.3.3
GLIBC_DIR=glibc-2.3.2
LINUX_DIR=linux-2.4.27

AFAIK this toolchain should support softfloat by default.
So why do I get the above error message?

Thanks a million!

-- 
Steven

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list