--whole-archive libc_nonshared.a in shared objects

Ulrich Drepper drepper@redhat.com
Thu Jun 14 14:41: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...

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list