From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 30 Oct 2011 11:57:31 +0100 Subject: [U-Boot] ARM ld: section .bss overlaps section .rel.dyn In-Reply-To: <4EAD25E4.2070500@aribaud.net> References: <4EAD1D4E.8020902@googlemail.com> <4EAD25E4.2070500@aribaud.net> Message-ID: <4EAD2D9B.9010008@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 30/10/2011 11:24, Albert ARIBAUD a ?crit : > Hi Dirk, > > Le 30/10/2011 10:47, Dirk Behme a ?crit : >> >> 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? > > Weird... Linker file says explicitly that .bss does overlay above > .rel.dyn, so the first message should not ever happen. As for the > second, it could happen depending on the bss, .re.dyn and .dynsym sizes, > maybe. > > I'll have a look today. I've tried ./MAKEALL efikamx with ELDK32, and did not see any warning nn either u-boot/master (ce5207e191c59b3135303fd03b98dd2ac3701ba2) or u-boot-arm/master (8305f7e98b5f7b9b6070777e68f3fe1871b9cd92). Can you check your setup for locally modified/added files and let me know which exact commit ID you're building in (git rev-parse HEAD) and which ARM repo it is from? Amicalement, -- Albert.