--whole-archive libc_nonshared.a in shared objects

Ulrich Drepper drepper@redhat.com
Thu Jun 14 15:24:00 GMT 2001


Roland McGrath <roland@frob.com> writes:

> But the undefined symbols are there, and possibly creating more version set
> dependencies than there need to be.

That part is OK.  All references to symbols in libc_nonshared must be
resolved locally.  So, linking in libc_nonshared.a as an archive is
necessary.

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



More information about the Libc-hacker mailing list