[U-Boot] [U-Boot-DM] [PATCH V2] dm: mips: Import libgcc components from Linux

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Fri Jul 27 22:53:04 CEST 2012


Hi Marek,

2012/7/27 Marek Vasut <marex at denx.de>:
> Dear Wolfgang Denk,
>
>> Dear Marek Vasut,
>>
>> In message <1343417017-26346-1-git-send-email-marex at denx.de> you wrote:
>> > Import ashldr3, ashrdi3 and lshrdi3 to squash possible libgcc fp
>> > mismatch,
>>
>> > resulting in the following warning:
>> ...
>>
>> > --- a/arch/mips/config.mk
>> > +++ b/arch/mips/config.mk
>> > @@ -52,3 +52,5 @@ PLATFORM_CPPFLAGS         += -msoft-float
>> >
>> >  PLATFORM_LDFLAGS           += -G 0 -static -n -nostdlib
>> >  PLATFORM_RELFLAGS          += -ffunction-sections -fdata-sections
>> >  LDFLAGS_FINAL                      += --gc-sections
>> >
>> > +
>> > +USE_PRIVATE_LIBGCC         = yes
>>
>> NAK.  It is always wrong to mandatorily set this!!
>
> How is that a bug in the toolchain? The u-boot shall be completely self-
> contained, am I wrong?
>

it's not a bug. You should try with a soft-float or multilib toolchain
and not a hard-float one.
The very few MIPS CPUs and SoCs we are currently supporting don't have
a FPU at all.

Best regards,
Daniel


More information about the U-Boot mailing list