[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DSO linking changes for wheezy

Florian Weimer, le Tue 16 Nov 2010 19:49:57 +0100, a écrit :
> * Roland McGrath:
> >> I can't see why you think --as-needed is fundamentally wrong or unnecessary.
> >
> > It is fundamentally wrong because -lfoo means I demand that the
> > initializers of libfoo.so run, whether or not I called anything in it.
> So it's more like static linking. 8-)


Initializers are called dynamically, and if you upgrade the library,
the new initializers will be called (and new ones will be called as
well!). I don't see what you see static here.


Reply to: