[uClibc] RE: [PATCH] possible fix for weak symbols in ldso [Was: Strange dynamic symbol in PPC]

Erik Andersen andersen at codepoet.org
Wed Feb 4 10:19:41 UTC 2004


On Tue Feb 03, 2004 at 10:34:34PM +0100, Joakim Tjernlund wrote:
> > > > 
> > > > Managed to cross compile the stuff uClibc/test/dlopen for PPC.
> > > > 
> > > > dltest reports "Weak values resolved incorrectly". I guess that
> > > > this test shows the problem described above?
> > > 
> > > Yep, that is indeed the problem.
> > 
> > This patch will make the dltest above pass(dltest2 also passes).
> > I don't know if I broke something else, but it is a start.
> > 
> > Possibly a modified test should be used instead, where 
> > something better
> > than "weak_result != 0" is used. 
> > 
> > Comments?
> > 
> >  Jocke
> 
> Anyone?

mjn3 tried your patch and found it was insufficient to fix more
complicated examples with the same problem...  The test he used
was a java hello world compiled with a uClibc version gcj.  It
still exhibited the problem.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list