[Bug libc/5439] New: Linux signalfd header is not compilable
dsd at gentoo dot org
sourceware-bugzilla@sourceware.org
Sat Dec 1 12:33:00 GMT 2007
Using glibc-2.7 with the Makefile fixed to install the signalfd and eventfd headers.
A simple program that just includes <sys/signalfd.h> fails to compile:
In file included from /usr/include/sys/signalfd.h:8,
from core.c:40:
/usr/include/gentoo-multilib/amd64/sys/signalfd.h:54: error: expected ')' before
numeric constant
/usr/include/gentoo-multilib/amd64/sys/signalfd.h:54: error: expected ',' or ';'
before ')' token
The problem is with the __nonnull annotation expanding to:
__attribute__ ((__nonnull__ 2))
whereas it should be:
__attribute__ ((__nonnull__ (2)))
--
Summary: Linux signalfd header is not compilable
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: dsd at gentoo dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5439
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list