This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi! NPTL fails to build on sparc64, as ptw-pause.os needs __sigprocmask, which is only defined in libc.so (and not exported), but not in libpthread.so. I guess the easiest fix is just to inline the call instead of ensuring sigprocmask.os is linked into libpthread.so. 2006-10-02 Jakub Jelinek <jakub@redhat.com> [BZ #3291] * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include errno.h, signal.h, unistd.h and sysdep-cancel.h. (__sigprocmask): Define. --- libc/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c.jj 2006-08-22 10:42:34.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c 2006-10-02 20:08:42.000000000 +0200 @@ -1 +1,9 @@ +#include <errno.h> +#include <signal.h> +#include <unistd.h> +#include <sysdep-cancel.h> + +#define __sigprocmask(how, set, oset) \ + INLINE_SYSCALL (rt_sigprocmask, 4, how, set, oset, _NSIG / 8) + #include <sysdeps/posix/pause.c> Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |