This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/762] New: error: redefinition of 'struct ia64_fpreg'
- From: "grigory dot zagorodnev at intel dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 24 Feb 2005 15:23:13 -0000
- Subject: [Bug libc/762] New: error: redefinition of 'struct ia64_fpreg'
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
Starting Nov 2003, glibc provides own definition of ia64_fpreg structure in the
header file 'sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h', duplicating same
structure definition in the kernel header 'include/asm-ia64/fpu.h'
Thus GCC compiler reports redefinition of `struct ia64_fpreg' on the following
simple case:
$ cat test1.c
#include <asm/fpu.h>
#include <signal.h>
$ gcc -c -O0 -g test1.c
In file included from /usr/include/signal.h:326,
from test1.c:2:
/usr/include/bits/sigcontext.h:30: error: redefinition of `struct ia64_fpreg'
Older version of bits/sigcontext.h imports ia64_fpreg structure definition from
asm/fpu.h, avoiding the conflict.
Search over the documentation gave nothing about restricted use of this pair of
header files, so it seems to be a bug.
--
Summary: error: redefinition of 'struct ia64_fpreg'
Product: glibc
Version: 2.3.3
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: grigory dot zagorodnev at intel dot com
CC: glibc-bugs at sources dot redhat dot com
GCC host triplet: ia64-suse-linux
http://sources.redhat.com/bugzilla/show_bug.cgi?id=762
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.