[U-Boot] Build failures with older toolchain

Premi, Sanjeev
2010-11-22T13:50:54Z

> From: u-boot-bounces at lists.denx.de
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Premi, Sanjeev
> Sent: Monday, November 22, 2010 2:44 PM
> To: Wolfgang Denk
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] Build failures with older toolchain
>
> > -----Original Message-----
> > From: Wolfgang Denk [mailto:wd at denx.de]
> > Sent: Saturday, November 20, 2010 1:44 AM
> > To: Premi, Sanjeev
> > Cc: u-boot at lists.denx.de
> > Subject: Re: [U-Boot] Build failures with older toolchain
> >
> > Dear "Premi, Sanjeev",
> >
> > In message
> > <B85A65D85D7EB246BE421B3FB0FBB59302477EABCA@dbde02.ent.ti.com>
> > you wrote:
> > >
> > > This points leads me to this commit:
> > >
> > > commit 6d8962e814c15807dd6ac5757904be2a02d187b8
> > > Author: Sebastien Carlier <sebastien.carlier@gmail.com>
> > > Date: Fri Nov 5 15:48:07 2010 +0100
> > >
> > > Switch from archive libraries to partial linking
> > >
> > > Is this related to toolchain version?
> > > Still doesn't explain why failure occurs for omap3_evm; not
> > omap3_beagle...
> >
> > This commit may require further changes to board specific
> > linker scripts.
>
> [sp] Both boards share the same 'u-boot.lds' And there is no board
> specific lds. Still trying to figure what could be wrong.

Tried the same stuff for overo and no issues!

Since there linker scripts are same between omap3_evm, omap3_beagle
and omap3_overo, only difference could have been board specific code.

I was hoping to find some code that might be offending the linker;
unable to find by inspection, I reduced the default configuration
for the evm to as low as I could - still see:

arm-none-linux-gnueabi-ld: section .bss [800fe358 -> 800fee1b] overlaps section .rel.dyn [800fe358 -> 8010076f]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x800fe358 overlaps previous sections

I am still not sure why the start of .bss and .rel.dyn for omap3_evm start at same address
but

Looking for more pointers!
Specifically, a "big" generic change that somehow didn't touch the omap3evm; but did touch others.
...will start looking at the git-log immediately after this mail.

~sanjeev

>
> ~sanjeev
>
> >
> > Best regards,
> >
> > Wolfgang Denk
> >
> > --
> > DENX Software Engineering GmbH, MD: Wolfgang Denk &
> Detlev Zundel
> > HRB 165235 Munich, Office: Kirchenstr.5, D-82194
> Groebenzell, Germany
> > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email:
> wd at denx.de
> > The use of anthropomorphic terminology when dealing with
> computing
> > systems is a symptom of professional immaturity. --
> Edsger Dijkstra
> >
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>