Debian Bug report logs - #538916
libc6.1-dev: Conflicting definitions in linux/ptrace.h and sys/ptrace.h on ia64

version graph

Package: libc6.1-dev; Maintainer for libc6.1-dev is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for libc6.1-dev is src:eglibc.

Reported by: Michael Biebl <biebl@debian.org>

Date: Mon, 27 Jul 2009 22:21:01 UTC

Severity: normal

Tags: upstream

Found in version eglibc/2.9-19

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#538916; Package libc6.1-dev. (Mon, 27 Jul 2009 22:21:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Biebl <biebl@debian.org>:
New Bug report received and forwarded. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Mon, 27 Jul 2009 22:21:10 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Michael Biebl <biebl@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6.1-dev: Conflicting definitions in linux/ptrace.h and sys/ptrace.h on ia64
Date: Tue, 28 Jul 2009 00:16:56 +0200
Package: libc6.1-dev
Version: 2.9-19
Severity: important

Hi,

upstart on ia64 currently ftbfs [1]. It's the only architecture, where
this happens. The relevant build log is

In file included from /usr/include/asm/ptrace.h:58,
                 from /usr/include/linux/ptrace.h:49,
                 from child.h:27,
                 from child.c:37:
/usr/include/asm/fpu.h:57: error: redefinition of 'struct ia64_fpreg'
In file included from /usr/include/linux/ptrace.h:49,
                 from child.h:27,
                 from child.c:37:
/usr/include/asm/ptrace.h:208: error: redefinition of 'struct pt_all_user_regs'

This very much looks like a toolchain issue on ia64 (conflict between libc6.1-dev and linux-libc-dev).
Feel free to reassign appropriately.

Cheers,
Michael

[1]
https://buildd.debian.org/fetch.cgi?&pkg=upstart&ver=0.6.2-1&arch=ia64&stamp=1248677700&file=log
-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.3
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash




Severity set to 'normal' from 'important' Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Thu, 28 Jan 2010 02:03:11 GMT) Full text and rfc822 format available.

Added indication that 538916 affects trafficserver Request was from Arno Töll <debian@toell.net> to control@bugs.debian.org. (Sun, 15 May 2011 17:39:05 GMT) Full text and rfc822 format available.

Added tag(s) upstream. Request was from Arno Töll <debian@toell.net> to control@bugs.debian.org. (Sun, 15 May 2011 17:39:05 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#538916; Package libc6.1-dev. (Sun, 15 May 2011 17:45:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arno Töll <debian@toell.net>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Sun, 15 May 2011 17:45:09 GMT) Full text and rfc822 format available.

Message #16 received at 538916@bugs.debian.org (full text, mbox):

From: Arno Töll <debian@toell.net>
To: 538916@bugs.debian.org, control@bugs.debian.org
Cc: debian-kernel@lists.debian.org
Subject: Re: libc6.1-dev: Conflicting definitions in linux/ptrace.h and sys/ptrace.h on ia64
Date: Sun, 15 May 2011 19:36:05 +0200
-----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
JmDhUKzj6lpm4bN3mdy7BuBbksXeK8Pk5HmtQQxBMNYbXGnaacZqKKdVxWji0Qsg
D1VZwFKG0q1wQKsguEt09trD00BJTbnPp27sAVwrGhhW45sGSIrSWeH1+HMJKQNB
wbA9JUglgSSDdCYPUrlc15nLpY84uMWdE7NudjXB98g66f7OLuaMGMeb7x3Y6wAa
5IUZVD6CuJV2xFexRZh2vuITgb4MEZ0D74XXnGXQRI2Ld7yEEKElED9e4XFJ16xM
Zvfr0dYjJ4BxPvFOdYRbYDrHhhN4y6/3c0W/t0jiw1stXxDGJRtz0HnNrOFpKq9W
QLxjIVeSO7llA1MOx0NLb2QgrP1b2YsKWnLc8PpPLo2PPJt4XQF/hYszMLB32HV2
3E4uQ80xLv22hZHNyl/8Vflt/bD3fb/ujOq8m6ItjjySKPAXaGVRSKFVyrhazhXy
cCw4YI7q2sXViTL6uGHrTumr6Bi9GmC951/FO77wc8v1HQTn2R3sv0Tvyrp7SMrZ
UWYO6sPcr4tYkZx3obSMuksUjWRwc4nK7IY7jA8Ybo/TLOoBuuuCYbDsuerW0IoJ
Zur2pq96io8Fyjv90Tk2RavTNAoq5FaxYbhFz6LqGas1nSITmlNIRbaI6Sa9hKnq
tMcDaI0soS1RYki6TdDW
=oAwv
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#538916; Package libc6.1-dev. (Thu, 03 Oct 2013 19:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pacho Ramos <pachoramos@gmail.com>:
Extra info received and forwarded to list. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Thu, 03 Oct 2013 19:51:04 GMT) Full text and rfc822 format available.

Message #21 received at 538916@bugs.debian.org (full text, mbox):

From: Pacho Ramos <pachoramos@gmail.com>
To: 538916@bugs.debian.org
Date: Thu, 03 Oct 2013 21:47:19 +0200
Is this still valid in Debian? At least on Gentoo with glibc it's still
valid, but I am not sure if maybe eglibc provides a fix for this, in
that case, would be nice if you could point me to that fix

Thanks a lot




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 14:29:43 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.