public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11820] New: sys/user.h requires additional header in x86_64 to define types
@ 2010-07-15  2:59 allan at archlinux dot org
  2010-08-22 20:17 ` [Bug libc/11820] " vapier at gentoo dot org
  0 siblings, 1 reply; 2+ messages in thread
From: allan at archlinux dot org @ 2010-07-15  2:59 UTC (permalink / raw)
  To: glibc-bugs

In sysdeps/unix/sysv/linux/x86_64/sys/user.h when __WORDSIZE==64, the struct
user_fpregs_struct is defined using __uintXX_t types.  These are not defined in
any of its #include's so any program that includes <sys/user.h> without
including <bits/types.h> first leads to a compile failure on x86_64.

I realise that sys/user.h says "Don't use it for anything other than GDB unless
you know what you are doing", but I am unsure whether requiring an additional
include on one particular platform is covered by that...

-- 
           Summary: sys/user.h requires additional header in x86_64 to
                    define types
           Product: glibc
           Version: 2.12
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: allan at archlinux dot org
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: x86_64-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=11820

------- 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] 2+ messages in thread

* [Bug libc/11820] sys/user.h requires additional header in x86_64 to define types
  2010-07-15  2:59 [Bug libc/11820] New: sys/user.h requires additional header in x86_64 to define types allan at archlinux dot org
@ 2010-08-22 20:17 ` vapier at gentoo dot org
  0 siblings, 0 replies; 2+ messages in thread
From: vapier at gentoo dot org @ 2010-08-22 20:17 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |toolchain at gentoo dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11820

------- 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] 2+ messages in thread

end of thread, other threads:[~2010-08-22 20:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-15  2:59 [Bug libc/11820] New: sys/user.h requires additional header in x86_64 to define types allan at archlinux dot org
2010-08-22 20:17 ` [Bug libc/11820] " vapier at gentoo dot org

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).