This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, 03 Mar 2005 18:09:49 +0100, Steven Scholz
<steven.scholz@imc-berlin.de> wrote:

> 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?

No idea, but I have not had any problems compiling u-boot with a
gcc-3.4.1-glibc-2.3.3 toolchain (softfloat) built with crosstool or
the current OpenEmbedded arm softfloat toolchains.  You may want to
try a newer version of GCC.

Cliff

-- 
=======================
Cliff Brake
http://bec-systems.com

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]