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; 4+ 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] 4+ 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; 4+ 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] 4+ messages in thread
* [Bug libc/11820] sys/user.h requires additional header in x86_64 to define types
[not found] <bug-11820-131@http.sourceware.org/bugzilla/>
2011-05-16 5:37 ` drepper.fsp at gmail dot com
@ 2014-06-30 17:32 ` fweimer at redhat dot com
1 sibling, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-30 17:32 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=11820
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/11820] sys/user.h requires additional header in x86_64 to define types
[not found] <bug-11820-131@http.sourceware.org/bugzilla/>
@ 2011-05-16 5:37 ` drepper.fsp at gmail dot com
2014-06-30 17:32 ` fweimer at redhat dot com
1 sibling, 0 replies; 4+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-16 5:37 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=11820
Ulrich Drepper <drepper.fsp at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-16 05:36:21 UTC ---
I've checked in a patch but you shouldn't use the header.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-30 17:32 UTC | newest]
Thread overview: 4+ 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
[not found] <bug-11820-131@http.sourceware.org/bugzilla/>
2011-05-16 5:37 ` drepper.fsp at gmail dot com
2014-06-30 17:32 ` fweimer 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).