[U-Boot] ld: section overlaps previous sections
Tom Rini
trini at ti.com
Fri Aug 17 19:57:26 CEST 2012
On Fri, Aug 17, 2012 at 12:08:34PM -0500, Luciano Moretti wrote:
> Trying to compile U-Boot for a Freescale P2020DS target, using the
> VxWorks GCC PPC Compiler (We don't want to have to maintain another
> compiler if possible)
>
> After the compile I get the following errors from the linker:
>
> /windriver/gppve/inst/gnu/4.1.2-vxworks-6.8/x86-linux2/bin/ldppc:
> section .bootpg [effff000 -> effff3f3] overlaps section .reloc
> [efffe600 -> f0002e2b]
> /windriver/gppve/inst/gnu/4.1.2-vxworks-6.8/x86-linux2/bin/ldppc:
> u-boot: section .bootpg lma 0xeffff000 overlaps previous sections
> /windriver/gppve/inst/gnu/4.1.2-vxworks-6.8/x86-linux2/bin/ldppc:
> u-boot: section .resetvec lma 0xeffffffc overlaps previous sections
> /windriver/gppve/inst/gnu/4.1.2-vxworks-6.8/x86-linux2/bin/ldppc:
> u-boot: section .data lma 0xf0002e2c overlaps previous sections
> /windriver/gppve/inst/gnu/4.1.2-vxworks-6.8/x86-linux2/bin/ldppc:
> u-boot: section .u_boot_cmd lma 0xf000a000 overlaps previous sections
>
> Google searches have not turned up any useful information. It seems
> that our section sizes are not allocated correctly, but this surprises
> me as I'd expect the values for a supported board like the P2020DS to
> be vetted already.
I would suspect insufficient optimization causing the various sections
to be too large and thus overlap. Have you ruled that out?
--
Tom
More information about the U-Boot
mailing list