[U-Boot-Users] ...uses hardware FP, whereas u-boot uses software FP...

Steven Scholz steven.scholz at imc-berlin.de
Wed Mar 2 13:34:39 CET 2005


Hi there,

I just tried

CROSS_COMPILE=arm-softfloat-linux-gnu- ./MAKEALL ARM9

on the CVS HEAD but 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)
make: *** [u-boot] Fehler 1

for at91rm9200dk and cmc_pu2.

Removing " -msoft-float" from /cpu/at91rm9200/config.mk solves this problem.

But why?

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

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

so I am pretty sure that I am using softfloat by default. But then why is it a 
problem if I pass -msoft-float to the compiler?

Thanks!

-- 
Steven




More information about the U-Boot mailing list