From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 01 Dec 2010 16:02:34 +0100 Subject: [U-Boot] Build failures with older toolchain In-Reply-To: References: <20101119201353.B2CB314EA7E@gemini.denx.de> <4CEA7ECB.1050803@free.fr> <4CEA8AF2.40904@free.fr> <4CF38141.6@free.fr> <20101129112935.6CF0F11D94F7@gemini.denx.de> <20101129120516.11CB311D94F2@gemini.denx.de> Message-ID: <4CF6638A.3050506@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 01/12/2010 15:56, Premi, Sanjeev a ?crit : > When everything failed, I went back to the u-boot.lds and > changed the way overlay is defined. > > ...AND PROBLEM SEEMS TO BE SOLVED! This most probably means some of the code running before relocation uses BSS; see below. > I can now compile u-boot with both 2009q1 and 2010q1 without > any error. (yet to try with 2010.09) > > To verify, I wanted to do a before-and-after comparison but > couldn't have done for the omap3_evm - used omap3_beagle instead. > > I haven't yet tried running the binary on the board; but here > are top level observations: > > 1) .bss and .rel.dyn are starting at same address. This is normal and should not have any negative impact as long as code that runs before relocation does not access BSS -- and it should not, since BSS only exists after relocation. > 2) The size of .rodata has increased. (Why? not yet spent time on?) Weird. Can you provide all necessary info for duplicating these two builds? > Sending the patch in next few mins: If that's a patch to remove the overlay in the .lds, it's a Nak from me already. > ~sanjeev Amicalement, -- Albert.