ct-ng msoft-float problem

Khem Raj raj.khem@gmail.com
Mon Dec 1 19:36:00 GMT 2008


On (21/11/08 11:48), Eibach, Dirk wrote:
> I used ct-ng to build a powerpc-440fp-linux-gnu toolchain. I configured
> CT_ARCH_FLOAT_HW=y.
> When I build u-boot, which uses -msoft-float, I get these warnings:
> /home/de/x-tools/powerpc-440fp-linux-gnu/bin/powerpc-440fp-linux-gnu-ld:
> Warning:
> /home/de/x-tools/powerpc-440fp-linux-gnu/lib/gcc/powerpc-440fp-linux-gnu
> /4.3.2/libgcc.a(_udivdi3.o) uses hard float, u-boot uses soft float
> /home/de/x-tools/powerpc-440fp-linux-gnu/bin/powerpc-440fp-linux-gnu-ld:
> Warning:
> /home/de/x-tools/powerpc-440fp-linux-gnu/lib/gcc/powerpc-440fp-linux-gnu
> /4.3.2/libgcc.a(_umoddi3.o) uses hard float, u-boot uses soft float
> 
> So -msoft-float does not seem to work properly.

Currently it seems that uboot is configured to be built with soft float
but the libs (libgcc.a in this context) its linking with are compiled with hard-float.

You are building the toolchain with hard float. You need to either
configure multilib that can generate libraries and startup files with
soft-float too. 

Secondly also make sure that uboot's linking mechanism is working
correctly with multilibbed toolchains. 

> Is something wrong with my configuration or does ct-ng something
> unexpected?
> Building u-boot with ppc_4xxFP-Toolchain from Denx ELDK works fine btw.
> 
> Cheers
> Dirk
> 
>  
> 
> 
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list