[U-Boot] ld: section overlaps previous sections
Luciano Moretti
luciano.moretti at gmail.com
Fri Aug 17 19:08:34 CEST 2012
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.
Thank you for any guidance you can provide,
Luciano
More information about the U-Boot
mailing list