Broken cancelable syscalls in librt w/ linuxthreads

Jakub Jelinek jakub@redhat.com
Fri Aug 20 22:25:00 GMT 2004


On Fri, Aug 20, 2004 at 11:45:35PM +0200, Andreas Schwab wrote:
> When building with linuxthreads the functions __librt_enable_asynccancel
> and __librt_disable_asynccancel are just aliases to the libc variants,
> thus part of libc instead of librt.  The ia64 syscall stubs don't expect
> that and don't save gp around these calls.  That hasn't been a problem
> before, because librt didn't include any cancelable functions that were
> implemented as direct syscalls.

Then it should be done only #ifdef IS_IN_librt and not for libpthread
or libc.

	Jakub



More information about the Libc-hacker mailing list