From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 12 Dec 2010 12:40:27 +0100 Subject: [U-Boot] OMAP3: EVM: Linker errors across tool chain versions In-Reply-To: <4D04A4BD.6070705@googlemail.com> References: <4D0486FE.9080601@googlemail.com> <4D049F2C.6010005@free.fr> <4D04A4BD.6070705@googlemail.com> Message-ID: <4D04B4AB.7080405@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 12/12/2010 11:32, Dirk Behme a ?crit : >> 2. IIRC, the linker emits a warning, not an error. We can live some >> time with a warning if it is documented and it is being worked on. > > With 2009q1-203 it's an error and 'omap3_evm' isn't built: > > arm-none-linux-gnueabi-ld: section .bss [8003f5e0 -> 8007e33f] > overlaps section .rel.dyn [8003f5e0 -> 80044e6f] > > > arm-none-linux-gnueabi-ld: section .dynsym [80044e70 -> 80044f0f] > overlaps section .bss [8003f5e0 -> 8007e33f] > > > arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8003f5e0 > overlaps previous sections > make: *** [u-boot] Error 1 > > size: './u-boot': No such file Actually that's not exact. If you do a ./MAKEALL omap3_evm, yes, the build will fail. But (with 2010q1 at least, but I d'wager this works with 2009q3 as well) a 'make distclean; make omap3_evm_config; make' builds despite the linker message. Can you try this as a diagnostic measure? Also, you may want to try adding --no-check-sections to the linker flags -- again as a diagnostic measure only, not as a fix -- because a quick test shows me that the .bin is really different then. Amicalement, -- Albert.