FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 05-15-2011, 05:36 PM
Arno Töll
 
Default libc6.1-dev: Conflicting definitions in linux/ptrace.h and sys/ptrace.h on ia64

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

affects 538916 +trafficserver
tags 538916 +upstream
thanks

Can confirm this problem almost two years later. In my case
trafficserver FTBS on IA64 because of this problem.

g++ -DHAVE_CONFIG_H -I. -I../lib/ts -I../iocore/eventsystem
- -I../iocore/net -I../iocore/aio -I../iocore/hostdb -I../iocore/cache
- -I../iocore/cluster -I../iocore/utils -I../iocore/dns -I../lib/records
- -I./http -I./logging -I./http/remap -I./hdrs -I../mgmt
- -I../mgmt/preparse -I../mgmt/utils -I./api/ts -I../lib
- -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE
- -D_REENTRANT -Dlinux -I/usr/include/tcl8.5 -g -O2 -pipe -Wall -O3
- -feliminate-unused-debug-symbols -fno-strict-aliasing
- -Wno-invalid-offsetof -MT CoreUtils.o -MD -MP -MF .deps/CoreUtils.Tpo -c
- -o CoreUtils.o CoreUtils.cc
In file included from /usr/include/asm/ptrace.h:58,
from CoreUtils.h:63,
from CoreUtils.cc:126:
/usr/include/asm/fpu.h:57: error: redefinition of 'struct ia64_fpreg'
/usr/include/bits/sigcontext.h:33: error: previous definition of 'struct
ia64_fpreg'

Problem is, both header define the same structure at different places
(and slightly different, though the result ought to be the same). One
belongs to libc6.1, one to the kernel headers:


in /usr/include/asm/fpu.h:

# ifndef __ASSEMBLY__

struct ia64_fpreg {
union {
unsigned long bits[2];
long double __dummy; /* force 16-byte alignment */
} u;
};

# endif /* __ASSEMBLY__ */


in /usr/include/bits/sigcontext.h:

struct ia64_fpreg
{
union
{
unsigned long bits[2];
} u;
} __attribute__ ((aligned (16)));


Maybe also the kernel headers are to blame. I can't tell who should
define the structure. Definitively not both though. Perhaps kernel
maintainers could tell more.

- --
with kind regards,
Arno Töll
GnuPG Key-ID: 0x9D80F36D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJN0A8FAAoJEMcrUe6dgPNt+XEQANIuPg/apwYDKb74dtnzTx5s
JmDhUKzj6lpm4bN3mdy7BuBbksXeK8Pk5HmtQQxBMNYbXGnaac ZqKKdVxWji0Qsg
D1VZwFKG0q1wQKsguEt09trD00BJTbnPp27sAVwrGhhW45sGSI rSWeH1+HMJKQNB
wbA9JUglgSSDdCYPUrlc15nLpY84uMWdE7NudjXB98g66f7OLu aMGMeb7x3Y6wAa
5IUZVD6CuJV2xFexRZh2vuITgb4MEZ0D74XXnGXQRI2Ld7yEEK ElED9e4XFJ16xM
Zvfr0dYjJ4BxPvFOdYRbYDrHhhN4y6/3c0W/t0jiw1stXxDGJRtz0HnNrOFpKq9W
QLxjIVeSO7llA1MOx0NLb2QgrP1b2YsKWnLc8PpPLo2PPJt4XQ F/hYszMLB32HV2
3E4uQ80xLv22hZHNyl/8Vflt/bD3fb/ujOq8m6ItjjySKPAXaGVRSKFVyrhazhXy
cCw4YI7q2sXViTL6uGHrTumr6Bi9GmC951/FO77wc8v1HQTn2R3sv0Tvyrp7SMrZ
UWYO6sPcr4tYkZx3obSMuksUjWRwc4nK7IY7jA8Ybo/TLOoBuuuCYbDsuerW0IoJ
Zur2pq96io8Fyjv90Tk2RavTNAoq5FaxYbhFz6LqGas1nSITml NIRbaI6Sa9hKnq
tMcDaI0soS1RYki6TdDW
=oAwv
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DD00F05.6070103@toell.net">http://lists.debian.org/4DD00F05.6070103@toell.net
 

Thread Tools




All times are GMT. The time now is 11:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org