This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/5439] New: Linux signalfd header is not compilable


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]