From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Wed, 02 Mar 2005 13:34:39 +0100 Subject: [U-Boot-Users] ...uses hardware FP, whereas u-boot uses software FP... Message-ID: <4225B2DF.40301@imc-berlin.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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