public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] ...uses hardware FP, whereas u-boot uses software FP...
@ 2005-03-02 12:34 Steven Scholz
  2005-03-02 16:22 ` Wolfgang Denk
  0 siblings, 1 reply; 10+ messages in thread
From: Steven Scholz @ 2005-03-02 12:34 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-03-05 14:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02 12:34 [U-Boot-Users] ...uses hardware FP, whereas u-boot uses software FP Steven Scholz
2005-03-02 16:22 ` Wolfgang Denk
2005-03-03 11:23   ` Steven Scholz
2005-03-03 16:03     ` Wolfgang Denk
2005-03-03 16:41       ` Steven Scholz
2005-03-03 16:52         ` Wolfgang Denk
2005-03-03 16:57           ` Steven Scholz
2005-03-04 23:39             ` Wolfgang Denk
2005-03-05 13:38               ` Steven Scholz
2005-03-05 14:19                 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox