--whole-archive libc_nonshared.a in shared objects
Roland McGrath
roland@frob.com
Thu Jun 14 14:44:00 GMT 2001
> Roland McGrath <roland@frob.com> writes:
>
> > Why is all of libc_nonshared.a included with --whole-archive into every .so
> > linked? Shouldn't it come after --no-whole-archive and link in only the
> > modules needed by that .so?
>
> Yes, this should be changed. Note that it's not causing any harm
> since the symbols are not exported. Nevertheless...
But the undefined symbols are there, and possibly creating more version set
dependencies than there need to be.
More information about the Libc-hacker
mailing list