--whole-archive libc_nonshared.a in shared objects

Roland McGrath roland@frob.com
Thu Jun 14 14:08:00 GMT 2001


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?

It seems pretty wrong that e.g. libm.so has a local definition of __mknod
and an undefined dynamic symbol reference for __xmknod.



More information about the Libc-hacker mailing list