[Bug 3883] New: sigwait fails to compile without rt_sigtimedwait
bugzilla at busybox.net
bugzilla at busybox.net
Fri Jun 17 14:01:24 UTC 2011
https://bugs.busybox.net/show_bug.cgi?id=3883
Summary: sigwait fails to compile without rt_sigtimedwait
Product: uClibc
Version: 0.9.32
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at uclibc.org
ReportedBy: michael at talamasca.ocis.net
CC: uclibc-cvs at uclibc.org
Estimated Hours: 0.0
Created attachment 3427
--> https://bugs.busybox.net/attachment.cgi?id=3427
Patch to avoid sigwaitinfo use on old kernels
On my system, stock uClibc-0.9.32 fails to compile with:
libc/libc_so.a(sigwait.os): In function `sigwait':
sigwait.c:(.text.sigwait+0x13): undefined reference to `__GI_sigwaitinfo'
The problem is that sigwait() is defined in terms of sigwaitinfo() if
__UCLIBC_HAS_REALTIME is defined, but sigwaitinfo is not generated because my
kernel doesn't have the rt_sigtimedwait call.
Attached is a patch to steer uClibc down the non-realtime path if the syscall
isn't available.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list