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

Marek Vasut marex at denx.de
Fri Jul 27 23:24:40 CEST 2012


Dear Daniel Schwierzeck,

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

All right, understood. Wolfgang also explained this to me so I know where the 
problem is. Please ignore this one.

> Best regards,
> Daniel

Best regards,
Marek Vasut


More information about the U-Boot mailing list