From: Wolfgang Denk Date: Tue, 08 Sep 2009 20:20:55 +0200 Subject: [U-Boot] PowerPC -mrelocatable In-Reply-To: <1252426573.6005.253.camel@localhost.localdomain> References: <4A938C76.9000009@monstr.eu> <200908262155.58509.vapier@gentoo.org> <200908270711.32266.sr@denx.de> <200908270154.47824.vapier@gentoo.org> <20090827153807.GA4581@b07421-ec1.am.freescale.net> <1251388580.885.1505.camel@localhost.localdomain> <4A96C72F.2070806@freescale.com> <1252426573.6005.253.camel@localhost.localdomain> Message-ID: <20090908182055.6DC71832E8DE@gemini.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 Dear Peter, In message <1252426573.6005.253.camel@localhost.localdomain> you wrote: > > Going over the emails and my own testing, it looks the following > versions worked: ... Thanks for the detailed analysis. I remember that gcc-3.4.x has always been marked as "suspicious" in our tests, so for example we avoided basing an ELDK release on it. > Does anyone out there by chance have a failure case for gcc > 4.0.0, > because I can't seem to reproduce the issues others had in the past. Do you have an up-to-date patch that can be used for such testing? > My vote would be to find out which version of gcc contains the > relocation bug and spit out an error if gcc < than that version is used. Agreed. > We could also try and get fancy and dynamically turn on/off relocation > support at compile time based on gcc's version if other's wanted to > maintain support for older compilers. These changes would only be for > ppc at this point btw. I think there would be not much lost if we dropped support for versions before gcc-4.x Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A Perl script is correct if it's halfway readable and gets the job done before your boss fires you. - L. Wall & R. L. Schwartz, _Programming Perl_