From: Wolfgang Denk Date: Fri, 05 Aug 2005 12:26:09 +0200 Subject: [U-Boot-Users] GCC3.4.0 Coldfire 52xx Build problems In-Reply-To: Your message of "Fri, 05 Aug 2005 19:50:58 +1000." <20838.1123235458@gerd> Message-ID: <20050805102609.10D45352B73@atlas.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 In message <20838.1123235458@gerd> you wrote: > > Umm.. I think I worked out what was a reasonable value for SIZEOF_HEADERS > and substituted it. The build succeeds and runs fine on our MPC8560 board. Replacing a Builtin Function which is supposed to return the correct size of the output file's headers by a hardwired value which just happens to be correct in one case is definitely not acceptable, not even as a temporary workaround. Simply don't use tools that are broken on such a basic level. And if you want to use them, so either bug the binutils folks iuuintil they fix it, or fix it yourself. But don;t break perfectly legal and working code. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Due to lack of disk space, this fortune database has been discontinued.