From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 27 Jul 2012 23:24:40 +0200 Subject: [U-Boot] [U-Boot-DM] [PATCH V2] dm: mips: Import libgcc components from Linux In-Reply-To: References: <1343414125-23359-1-git-send-email-marex@denx.de> <201207272202.47977.marex@denx.de> Message-ID: <201207272324.41073.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Daniel Schwierzeck, > Hi Marek, > > 2012/7/27 Marek Vasut : > > Dear Wolfgang Denk, > > > >> Dear Marek Vasut, > >> > >> In message <1343417017-26346-1-git-send-email-marex@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