Run init/fini functions also in static libdl

Mike Frysinger vapier at gentoo.org
Sun Mar 25 13:10:45 UTC 2007


On Monday 19 March 2007, Rob Landley wrote:
> On Monday 19 March 2007 12:35 pm, Bernd Schmidt wrote:
> > Currently a static libdl.a doesn't run all the constructors or
> > destructors of the libraries it loads.  I can't see a good reason for
> > that, and it does cause aborts in the destructors it does run for things
> > like libgcc.so on the Blackfin.
> >
> > Fixed with the patch below - untested in mainline, but the equivalent
> > has been in our Blackfin tree for a while now.
>
> Well, unfortunately this patch didn't fix my problem with "Hello world" for
> Power PC:

probably because it doesnt address your problem ?  that testcase is not using 
libdl statically ... i thought Jocke fixed static ppc though ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070325/346700dc/attachment-0002.pgp 


More information about the uClibc mailing list