From: Jon Loeliger Date: Fri, 04 Feb 2005 15:47:57 -0600 Subject: [U-Boot-Users] link error on first compile In-Reply-To: <20050204210400.E537BC108D@atlas.denx.de> References: <20050204210400.E537BC108D@atlas.denx.de> Message-ID: <1107553676.13414.2.camel@cashmere.sps.mot.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2005-02-04 at 15:03, Wolfgang Denk wrote: > In message <1107538825.12662.8.camel@cashmere.sps.mot.com> you wrote: > > > ... > > I"ve found that all appears to be better if the test > > in the example/stubs.c file is changed from: > > > > #if GCC_VERSION < 3004 > > to > > #if GCC_VERSION < 3003 > > I think this is not the case, as the current ELDK uses GCC-3.3.3 > (GCC_VERSION = 3003), and "examples/stubs.c" builds just fine. Indeed. Though what it does point out is that there was a problem with the treatment of the "static-ness" of these symbols in the stubs.c file. In reality, I believe the issue was more accurately binutils hidden behind these compiler revs. jdl