Run init/fini functions also in static libdl

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Mar 19 17:23:59 UTC 2007


On Mon, 2007-03-19 at 18:02 +0100, Carmelo Amoroso wrote:
> On 3/19/07, Bernd Schmidt <bernds_cb1 at t-online.de> 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.
> >
> Do you have a test case showing the failure? I'm interested in testing it
> on uClibc-nptl//sh4. You could add it into the test suite.
> 
> Regards,
> Carmelo

Please test in mainline, I won't have time for that and
I don't feel comfortable appying this untested in mainline.

 Jocke



More information about the uClibc mailing list