On Sat, Jul 7, 2018 at 5:18 AM Matthew Miller <mattdm(a)fedoraproject.org> wrote:
On Tue, Jul 03, 2018 at 10:21:42AM +0200, Jan Kurik wrote:
> The use of the "--as-needed" flag allows the linker to avoid linking
> extra libraries in a binary. This not only improves startup times (as
> the loader does not have to load all the libraries for every step) but
> might avoid the full initialization of big frameworks.
This might reduce auto-generated dependencies, too, right? Generally
that's a good thing, but of course there's always the off chance that
something that someone expects to be there because it was always pulled
into an install by a dep now won't be....
This has actually been the default in Mageia for quite a long time,
since the times of Mandriva. We even have a wiki page describing the
problems of overlinking[1].
[1]:
https://wiki.mageia.org/en/Overlinking_issues_in_packaging
--
真実はいつも一つ!/ Always, there's only one truth!