public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5439] Linux signalfd header is not compilable
  2007-12-01 12:33 [Bug libc/5439] New: Linux signalfd header is not compilable dsd at gentoo dot org
@ 2007-12-01 12:33 ` dsd at gentoo dot org
  2007-12-03  6:17 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: dsd at gentoo dot org @ 2007-12-01 12:33 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From dsd at gentoo dot org  2007-12-01 12:33 -------
Created an attachment (id=2119)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2119&action=view)
fix


-- 


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/5439] New: Linux signalfd header is not compilable
@ 2007-12-01 12:33 dsd at gentoo dot org
  2007-12-01 12:33 ` [Bug libc/5439] " dsd at gentoo dot org
  2007-12-03  6:17 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: dsd at gentoo dot org @ 2007-12-01 12:33 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/5439] Linux signalfd header is not compilable
  2007-12-01 12:33 [Bug libc/5439] New: Linux signalfd header is not compilable dsd at gentoo dot org
  2007-12-01 12:33 ` [Bug libc/5439] " dsd at gentoo dot org
@ 2007-12-03  6:17 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2007-12-03  6:17 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-12-03 06:17 -------
Fixed in cvs.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-03  6:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-01 12:33 [Bug libc/5439] New: Linux signalfd header is not compilable dsd at gentoo dot org
2007-12-01 12:33 ` [Bug libc/5439] " dsd at gentoo dot org
2007-12-03  6:17 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).