librt.so issues

Ulrich Drepper drepper@redhat.com
Sun Sep 9 17:59:00 GMT 2001


Roland McGrath <roland@frob.com> writes:

> It seems to me that for this sort of thing to really work properly,
> all of libc's definitions that might be overridden by libpthread
> must be weak.

Stop thinking about weak definitions.  This is horrible crap.  It must
go away since it a) incompatible with the real (= SysV) understanding
of weak definitiosn and b) because it is prohibiting optimizations and
c) is generally slowing down code unnecessarily.

If there comes a real librt programs linked with the old one will work
just fine.  They include libpthread but so what?  New code will be
linked with the new librt and will live happily with libpthread.

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



More information about the Libc-hacker mailing list