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

Marek Vasut marex at denx.de
Fri Jul 27 22:02:47 CEST 2012


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?

> Best regards,
> 
> Wolfgang Denk

Best regards,
Marek Vasut


More information about the U-Boot mailing list