[U-Boot-Users] link error on first compile

Jon Loeliger jdl at freescale.com
Fri Feb 4 22:47:57 CET 2005


On Fri, 2005-02-04 at 15:03, Wolfgang Denk wrote:
> In message <1107538825.12662.8.camel at 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






More information about the U-Boot mailing list