[U-Boot] ARM ld: section .bss overlaps section .rel.dyn

Dirk Behme
2011-10-30T09:47:58Z

Doing a ./MAKEALL ARMV7 (gcc [1]) with the recent git head I get a lot of

arm-none-linux-gnueabi-ld: section .bss [...] overlaps section
.rel.dyn [...]
arm-none-linux-gnueabi-ld: section .dynsym [...] overlaps section .bss
[...]
...
make: *** [u-boot] Error 1

for various boards [2]. I wasn't able to track this down to specific
commit, yet.

Anybody with an idea?

Best regards

Dirk

[1] gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203)

[2]
> ./MAKEALL ARMV7

Configuring for highbank board...

arm-none-linux-gnueabi-ld: section .bss [00024f90 -> 000279a7]
overlaps section .rel.dyn [00024f90 -> 00028b2f]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x24f90 overlaps
previous sections
make: *** [u-boot] Error 1

Configuring for efikamx - Board: efikamx, Options:
MACH_TYPE=MACH_TYPE_MX51_EFIKAMX,IMX_CONFIG=board/efikamx/imximage_mx.cfg
arm-none-linux-gnueabi-ld: section .bss [9782ab3c -> 9785d21b]
overlaps section .rel.dyn [9782ab3c -> 9782ef4b]
arm-none-linux-gnueabi-ld: section .dynsym [9782ef4c -> 9782f00b]
overlaps section .bss [9782ab3c -> 9785d21b]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x9782ab3c
overlaps previous sections
make: *** [u-boot] Error 1

Configuring for efikasb - Board: efikamx, Options:
MACH_TYPE=MACH_TYPE_MX51_EFIKASB,IMX_CONFIG=board/efikamx/imximage_sb.cfg
arm-none-linux-gnueabi-ld: section .bss [9782aac4 -> 9785d1a3]
overlaps section .rel.dyn [9782aac4 -> 9782eee3]
arm-none-linux-gnueabi-ld: section .dynsym [9782eee4 -> 9782efa3]
overlaps section .bss [9782aac4 -> 9785d1a3]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x9782aac4
overlaps previous sections
make: *** [u-boot] Error 1

Configuring for omap3_pandora board...

arm-none-linux-gnueabi-ld: section .bss [8005d1b0 -> 8008fdab]
overlaps section .rel.dyn [8005d1b0 -> 80063e67]
arm-none-linux-gnueabi-ld: section .dynsym [80063e68 -> 80063f27]
overlaps section .bss [8005d1b0 -> 8008fdab]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8005d1b0
overlaps previous sections
make: *** [u-boot] Error 1

Configuring for igep0030 board...

arm-none-linux-gnueabi-ld: section .bss [8003c450 -> 8006e0ff]
overlaps section .rel.dyn [8003c450 -> 8004187f]
arm-none-linux-gnueabi-ld: section .dynsym [80041880 -> 8004193f]
overlaps section .bss [8003c450 -> 8006e0ff]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8003c450
overlaps previous sections

Configuring for am3517_crane board...

arm-none-linux-gnueabi-ld: section .bss [8003cdac -> 80079267]
overlaps section .rel.dyn [8003cdac -> 80041df3]
arm-none-linux-gnueabi-ld: section .dynsym [80041df4 -> 80041eb3]
overlaps section .bss [8003cdac -> 80079267]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8003cdac
overlaps previous sections

Configuring for am3517_evm board...

arm-none-linux-gnueabi-ld: section .bss [8003ce30 -> 800792ef]
overlaps section .rel.dyn [8003ce30 -> 80041e77]
arm-none-linux-gnueabi-ld: section .dynsym [80041e78 -> 80041f37]
overlaps section .bss [8003ce30 -> 800792ef]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8003ce30
overlaps previous sections
make: *** [u-boot] Error 1

Configuring for omap3_zoom1 board...

arm-none-linux-gnueabi-ld: section .bss [80040c54 -> 8007295b]
overlaps section .rel.dyn [80040c54 -> 800463fb]
arm-none-linux-gnueabi-ld: section .dynsym [800463fc -> 800464bb]
overlaps section .bss [80040c54 -> 8007295b]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x80040c54
overlaps previous sections
make: *** [u-boot] Error 1

Configuring for omap4_panda board...

arm-none-linux-gnueabi-ld: section .bss [8012ab6c -> 8015c6b7]
overlaps section .rel.dyn [8012ab6c -> 8012f44b]
arm-none-linux-gnueabi-ld: section .dynsym [8012f44c -> 8012f50b]
overlaps section .bss [8012ab6c -> 8015c6b7]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8012ab6c
overlaps previous sections
make: *** [u-boot] Error 1

Configuring for omap4_sdp4430 board...

arm-none-linux-gnueabi-ld: section .bss [8012ae74 -> 8015c9bf]
overlaps section .rel.dyn [8012ae74 -> 8012f7db]
arm-none-linux-gnueabi-ld: section .dynsym [8012f7dc -> 8012f89b]
overlaps section .bss [8012ae74 -> 8015c9bf]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8012ae74
overlaps previous sections
make: *** [u-boot] Error 1

Configuring for harmony board...

arm-none-linux-gnueabi-ld: section .bss [00e2e3ac -> 00e63347]
overlaps section .rel.dyn [00e2e3ac -> 00e321eb]
arm-none-linux-gnueabi-ld: section .dynsym [00e321ec -> 00e322ab]
overlaps section .bss [00e2e3ac -> 00e63347]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0xe2e3ac overlaps
previous sections
make: *** [u-boot] Error 1

Configuring for seaboard board...
arm-none-linux-gnueabi-ld: section .bss [00e2e430 -> 00e633cf]
overlaps section .rel.dyn [00e2e430 -> 00e3226f]
arm-none-linux-gnueabi-ld: section .dynsym [00e32270 -> 00e3232f]
overlaps section .bss [00e2e430 -> 00e633cf]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0xe2e430 overlaps
previous sections
make: *** [u-boot] Error 1