This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5439] New: Linux signalfd header is not compilable
- From: "dsd at gentoo dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 1 Dec 2007 12:33:07 -0000
- Subject: [Bug libc/5439] New: Linux signalfd header is not compilable
- Reply-to: sourceware-bugzilla at sourceware dot org
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.