From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 8 Mar 2012 07:54:20 +0100 Subject: [U-Boot] TQM85xx boards failing on older gcc In-Reply-To: References: Message-ID: <201203080754.20848.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Andy, On Wednesday 07 March 2012 23:12:27 Andy Fleming wrote: > One of my coworkers is seeing these errors with gcc-4.3.74 > (eglibc-2.8.74-6): > > Configuring for TQM8548_BE - Board: TQM85xx, Options: > MPC8548,TQM8548_BE=y,HOSTNAME=tqm8548,BOARDNAME="TQM8548_BE" > text data bss dec hex filename > 297931 25840 35848 359619 57cc3 ./u-boot > Configuring for TQM8555 - Board: TQM85xx, Options: > MPC8555,TQM8555=y,HOSTNAME=tqm8555,BOARDNAME="TQM8555" > powerpc-linux-gnu-ld: section .bootpg [fffff000 -> fffff407] overlaps > section .data [ffffd9b8 -> fffff7db] > powerpc-linux-gnu-ld: u-boot: section .bootpg lma 0xfffff000 overlaps > previous sections > powerpc-linux-gnu-ld: u-boot: section .u_boot_cmd lma 0xfffff7dc > overlaps previous sections > powerpc-linux-gnu-ld: u-boot: section .resetvec lma 0xfffffffc > overlaps previous sections > make: *** [u-boot] Error 1 > > He says the same for TQM8541, TQM8548. I don't see it on my 4.5.55 gcc I was able to reproduce this error by using ELDK 4.2 (gcc 4.2.2) at least for TQM8541 and TQM8548. ELDK 5.2 (gcc 4.6.1) does not have this problem. I assume that the image size has increased over the time. Not sure if we really need to remove some config option to make it fit again for the older toolchains. Or if its enough to support these targets with newer toolchains. Thanks, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de