Re: -Wl,--as-needed considered possibly harmful
On 2007-12-10, Loïc Minier <email@example.com> wrote:
> I think in both cases it was something like the main binary being
> linked to many utility libraries (because it was easy to link it to
> everything which configure found), and then the plugin calling directly
> into these libs, but not being linked to them. If the main binary
> didn't actually use the libs, these were stripped out, and then the
> dlopening of the plugins would fail.
> These were really issues in the build process, issues which would
> have been caught with -z defs before --as-needed (which is why I'm
> advocating usage of -z defs before --as-needed), but slipped silently
> in the end package and actually hit users.
Isn't the new dpkg-shlipdeps warning about symbols it can't find ?