librt.so issues

Jakub Jelinek jakub@redhat.com
Sun Sep 9 14:10:00 GMT 2001


Hi!

SIGRTMIN has wrong value in programs linked with -lrt (but not with
-lpthread directly).
The problem is that libc.so comes earlier in search scope than
libpthread.so, so e.g. __libc_current_sigrtmin comes from libc.so, while
libpthread.so's constructor has registered those rt signals.
What do you think can be done to solve this?
/usr/lib/librt.so containing GROUP ( /lib/librt.so.1 /lib/libpthread.so.0 ),
or a special __libc_current_sigrtmin in -lrt which will pass control to
-lpthread's one, or something else?

	Jakub



More information about the Libc-hacker mailing list