[uClibc] RE: [PATCH] possible fix for weak symbols in ldso [Was: Strange dynamic symbol in PPC]
Joakim Tjernlund
joakim.tjernlund at lumentis.se
Wed Feb 4 11:55:05 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.
OK, is there a simpler way to reproduce the problem? I don't have gcj nor do I known
how enable it under buildroot.
Jocke
PS.
Don't you ever sleep? :)
More information about the uClibc
mailing list