Your message dated Sun, 11 May 2008 12:17:12 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#442858: fixed in glibc 2.7-11
has caused the Debian Bug report #442858,
regarding libc6-prof: programs linked agains libc_p.a crash with a SEGV
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
442858: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=442858
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libc6-prof
Version: 2.6.1-4
Severity: grave
Justification: renders package unusable
Hi,
I don't seem to able build any program linked against the
profiled version of the glibc.
I can reproduce the problem with any version of gcc (3.3, 3.4,
4.0, 4.1, 4.2), with 2.6.1-1 and 2.6.1-4. Manually linking
against libc6-prof_2.3.6.ds1-13etch4_i386.deb using the crt's in
libc6-dev_2.3.6.ds1-13etch4_i386.deb (on the same unstable
debian host) is OK.
Consider this simple C program:
#include <stdio.h>
int main()
{
printf("a\n");
return 0;
}
Compiled with:
~$ gcc -o b -pg -g b.c -lc_p
~$ ./b
zsh: floating point exception (core dumped) ./b
But, the thing is that both the profiled and non-profiled are
linked in:
~$ ldd b
linux-gate.so.1 => (0xffffe000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7f87000)
libc.so.6 => /lib/libc.so.6 (0xb7e3f000)
/lib/ld-linux.so.2 (0xb7fac000)
Then trying to build it statically:
~$ gcc -o b -static -nodefaultlibs -pg -g b.c -lc_p -lgcc_eh
/usr/lib/gcc/i486-linux-gnu/4.2.1/libgcc_eh.a(unwind-dw2-fde-glibc.o): In
function `_Unwind_Find_FDE':
(.text+0x1a87): undefined reference to `dl_iterate_phdr'
collect2: ld returned 1 exit status
I do get the same with -lc, and it seems it's because of some
circular dependencies for which I need:
gcc -o b -static -nodefaultlibs -pg -g b.c -Wl,-start-group -lc_p -lgcc_eh
-Wl,-end-group
Same can be achieved by calling ld directly and replacing -lc
with -lc_p.
But now:
~$ ./b
zsh: segmentation fault (core dumped) ./b
(gdb) bt
#0 0x08072d5b in __mcount_internal ()
#1 0x00000000 in ?? ()
(gdb) disassemble
Dump of assembler code for function __mcount_internal:
0x08072d40 <__mcount_internal+0>: push %ebp
0x08072d41 <__mcount_internal+1>: mov %eax,%ecx
0x08072d43 <__mcount_internal+3>: mov %esp,%ebp
0x08072d45 <__mcount_internal+5>: xor %eax,%eax
0x08072d47 <__mcount_internal+7>: sub $0x10,%esp
0x08072d4a <__mcount_internal+10>: mov %edx,0xfffffff0(%ebp)
0x08072d4d <__mcount_internal+13>: mov $0x1,%edx
0x08072d52 <__mcount_internal+18>: mov %ebx,0xfffffff4(%ebp)
0x08072d55 <__mcount_internal+21>: mov %esi,0xfffffff8(%ebp)
0x08072d58 <__mcount_internal+24>: mov %edi,0xfffffffc(%ebp)
0x08072d5b <__mcount_internal+27>: cmpl $0x0,%gs:0xc
0x08072d63 <__mcount_internal+35>: je 0x8072d66 <__mcount_internal+38>
0x08072d65 <__mcount_internal+37>: lock cmpxchg %edx,0x80c4e40
0x08072d6d <__mcount_internal+45>: test %eax,%eax
0x08072d6f <__mcount_internal+47>: jne 0x8072d8b <__mcount_internal+75>
0x08072d71 <__mcount_internal+49>: mov %ecx,%eax
0x08072d73 <__mcount_internal+51>: sub 0x80c4e60,%eax
0x08072d79 <__mcount_internal+57>: cmp 0x80c4e68,%eax
[...]
Again, the same works fine with etch's libc (2.3.6).
Here are the details for the related packages:
||/ Name Version
+++-=======================================-===========
ii binutils 2.18-1
ii gcc 4:4.2.1-6
ii gcc-3.3 1:3.3.6-15
ii gcc-3.4 3.4.6-6
ii gcc-4.0 4.0.3-7
ii gcc-4.1 4.1.2-16
ii gcc-4.2 4.2.1-5
ii libc6-dev 2.6.1-4
ii libc6-prof 2.6.1-4
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.23-rc6
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6-prof depends on:
ii libc6 2.6.1-4 GNU C Library: Shared libraries
libc6-prof recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.7-11
We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:
glibc-doc_2.7-11_all.deb
to pool/main/g/glibc/glibc-doc_2.7-11_all.deb
glibc-source_2.7-11_all.deb
to pool/main/g/glibc/glibc-source_2.7-11_all.deb
glibc_2.7-11.diff.gz
to pool/main/g/glibc/glibc_2.7-11.diff.gz
glibc_2.7-11.dsc
to pool/main/g/glibc/glibc_2.7-11.dsc
libc6-dbg_2.7-11_amd64.deb
to pool/main/g/glibc/libc6-dbg_2.7-11_amd64.deb
libc6-dev-i386_2.7-11_amd64.deb
to pool/main/g/glibc/libc6-dev-i386_2.7-11_amd64.deb
libc6-dev_2.7-11_amd64.deb
to pool/main/g/glibc/libc6-dev_2.7-11_amd64.deb
libc6-i386_2.7-11_amd64.deb
to pool/main/g/glibc/libc6-i386_2.7-11_amd64.deb
libc6-pic_2.7-11_amd64.deb
to pool/main/g/glibc/libc6-pic_2.7-11_amd64.deb
libc6-prof_2.7-11_amd64.deb
to pool/main/g/glibc/libc6-prof_2.7-11_amd64.deb
libc6-udeb_2.7-11_amd64.udeb
to pool/main/g/glibc/libc6-udeb_2.7-11_amd64.udeb
libc6_2.7-11_amd64.deb
to pool/main/g/glibc/libc6_2.7-11_amd64.deb
libnss-dns-udeb_2.7-11_amd64.udeb
to pool/main/g/glibc/libnss-dns-udeb_2.7-11_amd64.udeb
libnss-files-udeb_2.7-11_amd64.udeb
to pool/main/g/glibc/libnss-files-udeb_2.7-11_amd64.udeb
locales-all_2.7-11_amd64.deb
to pool/main/g/glibc/locales-all_2.7-11_amd64.deb
locales_2.7-11_all.deb
to pool/main/g/glibc/locales_2.7-11_all.deb
nscd_2.7-11_amd64.deb
to pool/main/g/glibc/nscd_2.7-11_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aurelien Jarno <[EMAIL PROTECTED]> (supplier of updated glibc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 11 May 2008 12:13:59 +0200
Source: glibc
Binary: glibc-doc glibc-source locales locales-all nscd libc6 libc6-dev
libc6-dbg libc6-prof libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg
libc6.1-prof libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg
libc0.3-prof libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg
libc0.1-prof libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64
libc6-dev-sparc64 libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64
libc6-powerpc libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32
libc6-dev-mipsn32 libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386
libc6-sparcv9b libc6-i686 libc6-xen libc0.1-i686 libc6.1-alphaev67
libnss-dns-udeb libnss-files-udeb
Architecture: source all amd64
Version: 2.7-11
Distribution: unstable
Urgency: low
Maintainer: Aurelien Jarno <[EMAIL PROTECTED]>
Changed-By: Aurelien Jarno <[EMAIL PROTECTED]>
Description:
glibc-doc - GNU C Library: Documentation
glibc-source - GNU C Library: sources
libc0.1 - GNU C Library: Shared libraries
libc0.1-dbg - GNU C Library: Libraries with debugging symbols
libc0.1-dev - GNU C Library: Development Libraries and Header Files
libc0.1-dev-i386 - GNU C Library: 32bit development libraries for AMD64
libc0.1-i386 - GNU C Library: 32bit shared libraries for AMD64
libc0.1-i686 - GNU C Library: Shared libraries [i686 optimized]
libc0.1-pic - GNU C Library: PIC archive library
libc0.1-prof - GNU C Library: Profiling Libraries
libc0.1-udeb - GNU C Library: Shared libraries - udeb
libc0.3 - GNU C Library: Shared libraries
libc0.3-dbg - GNU C Library: Libraries with debugging symbols
libc0.3-dev - GNU C Library: Development Libraries and Header Files
libc0.3-pic - GNU C Library: PIC archive library
libc0.3-prof - GNU C Library: Profiling Libraries
libc0.3-udeb - GNU C Library: Shared libraries - udeb
libc6 - GNU C Library: Shared libraries
libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64
libc6-dbg - GNU C Library: Libraries with debugging symbols
libc6-dev - GNU C Library: Development Libraries and Header Files
libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64
libc6-dev-i386 - GNU C Library: 32bit development libraries for AMD64
libc6-dev-mips64 - GNU C Library: 64bit Development Libraries for MIPS64
libc6-dev-mipsn32 - GNU C Library: n32 Development Libraries for MIPS64
libc6-dev-powerpc - GNU C Library: 32bit powerpc development libraries for
ppc64
libc6-dev-ppc64 - GNU C Library: 64bit Development Libraries for PowerPC64
libc6-dev-s390x - GNU C Library: 64bit Development Libraries for IBM zSeries
libc6-dev-sparc64 - GNU C Library: 64bit Development Libraries for UltraSPARC
libc6-i386 - GNU C Library: 32bit shared libraries for AMD64
libc6-i686 - GNU C Library: Shared libraries [i686 optimized]
libc6-mips64 - GNU C Library: 64bit Shared libraries for MIPS64
libc6-mipsn32 - GNU C Library: n32 Shared libraries for MIPS64
libc6-pic - GNU C Library: PIC archive library
libc6-powerpc - GNU C Library: 32bit powerpc shared libraries for ppc64
libc6-ppc64 - GNU C Library: 64bit Shared libraries for PowerPC64
libc6-prof - GNU C Library: Profiling Libraries
libc6-s390x - GNU C Library: 64bit Shared libraries for IBM zSeries
libc6-sparc64 - GNU C Library: 64bit Shared libraries for UltraSPARC
libc6-sparcv9b - GNU C Library: Shared libraries [v9b optimized]
libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
libc6-xen - GNU C Library: Shared libraries [Xen version]
libc6.1 - GNU C Library: Shared libraries
libc6.1-alphaev67 - GNU C Library: Shared libraries (EV67 optimized)
libc6.1-dbg - GNU C Library: Libraries with debugging symbols
libc6.1-dev - GNU C Library: Development Libraries and Header Files
libc6.1-pic - GNU C Library: PIC archive library
libc6.1-prof - GNU C Library: Profiling Libraries
libc6.1-udeb - GNU C Library: Shared libraries - udeb
libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
locales - GNU C Library: National Language (locale) data [support]
locales-all - GNU C Library: Precompiled locale data
nscd - GNU C Library: Name Service Cache Daemon
Closes: 442858 456531 473458 473802 474171 474226 474293 480093 480295
Changes:
glibc (2.7-11) unstable; urgency=low
.
[ Aurelien Jarno ]
* Reenable testsuite on MIPS SB1 platforms.
* mips/cvs-memory-barriers.diff: new patch from CVS to fix test_and_set.
* mips/cvs-fcsr.diff: new patch from CVS to fix floating point control
register accesses.
* local/manpages/ld.so.8: fix libraries search order. Closes: #473458.
* Update Finish debconf translation, by Esko Arajärvi. Closes: #473802.
* Replace patches/mips/submitted-mipsn32.diff by the version merged
upstream.
* patches/hppa/cvs-atomic.diff: new patch from upstream to fix atomic
locks witch gcc-4.3.
* patches/any/cvs-rfc3484.diff: update tests from CVS. Closes: #474226.
* patches/localedata/locale-shs_CA.diff: add Secwepemctsín from CVS.
* debhelper.in/libc-prof.README.Debian: new file to explain how to use
libc-prof. Closes: #442858.
* patches/any/cvs-ethertype.diff: new patch to add new ETHERTYPE_*
definitions. Closes: #474171.
* sysdeps/depflags.pl: conflicts with tzdata-etch.
* kfreebsd/local-sysdeps.diff: update to revision 2163 (from glibc-bsd).
* patches/s390/submitted-nexttowardf.diff: fix IEEE exceptions raising in
nexttowardf() on s390 with gcc-4.3.
* patches/i386/cvs-short-for-fnstsw.diff: patch for upstream to fix build
with latest binutils.
* patches/any/local-no-pagesize.diff: don't include asm/page.h from
sys/user.h on alpha. Closes: #480295.
* patches/any/submitted-user_h.diff: don't include linux/user.h from
sys/user.h. Closes: #480093.
* patches/hppa/submitted-fesetenv.diff: fix fesetenv() on hppa with
gcc-4.3.
* sysdeps/arm.mk, sysdeps/hppa.mk, sysdeps/s390.mk, control.in/main: use
gcc-4.3 on arm, hppa and s390.
* debian/shlibs-add-udebs: new script from Frans Pop to correctly compute
the udev dependencies. Closes: #474293.
* rules.d/debhelper.mk: remove linda overrides installation.
* debhelper.in/*lintian: update.
* control.in/main: relax a few dependencies.
* rules.d/debhelper.mk: avoid creating empty directories when building
libc6-dbg.
.
[ Pierre Habouzit ]
* Add any/cvs-strerror_r.diff to make strerror_r actually thread safe.
Closes: #456531.
.
[ Samuel Thibault ]
* patches/hurd-i386/cvs-termios.diff: new patch to revamp ioctls/termios
bits.
Checksums-Sha1:
b0a8dfada854286176de9abb37d0f33f4d8d38fd 2601 glibc_2.7-11.dsc
ba00f012501aee142b82c70622823af21c29c0b0 717397 glibc_2.7-11.diff.gz
abf805e4982a2c14bfb40065c9f529968e4a9f29 1626926 glibc-doc_2.7-11_all.deb
e2d4f6c6da25f968ba6d2059caefa68fdca1e6e3 15977432 glibc-source_2.7-11_all.deb
40b9156c08eabb89fb354392b0d1590a49a5e0db 4493594 locales_2.7-11_all.deb
daa1ba6afd4554b33e67b43d5e7bce331ca89a14 4883990 libc6_2.7-11_amd64.deb
29b3bd03c2565da15e4744d9320adfa3d17499ef 2470216 libc6-dev_2.7-11_amd64.deb
b943e728f4d0b3c49511e4998f99dcf54326f85d 1901992 libc6-prof_2.7-11_amd64.deb
fd964745d9e84bb4789a8abf6f75f9e6af314fb1 1441394 libc6-pic_2.7-11_amd64.deb
577da76f113493f2f6c343c5b56eba01533b198e 2811244 locales-all_2.7-11_amd64.deb
70943a2f7679f559f38ce7d3fc964774e72b48c8 3735786 libc6-i386_2.7-11_amd64.deb
4f93011e8d3dd0d7cb86969466b59d0af4b2dfd8 1433052
libc6-dev-i386_2.7-11_amd64.deb
2427f289adc274dadb94ddb6d75f2ffd0283e183 171644 nscd_2.7-11_amd64.deb
ca1f14c0122761d73d5534ee87c028ab2f990a33 5242518 libc6-dbg_2.7-11_amd64.deb
890e78a596714570d402596b16155d5633c3be1a 1080844 libc6-udeb_2.7-11_amd64.udeb
b9c6593bc5ccc14dbe832c47dcfc1710df714d81 9340 libnss-dns-udeb_2.7-11_amd64.udeb
794e09cbf0435d6aab0dacfc405a93bd139c4ade 17454
libnss-files-udeb_2.7-11_amd64.udeb
Checksums-Sha256:
1950db3658067b9cb6a695643df57789f665ad1504e642c2912d75a0b3bfa768 2601
glibc_2.7-11.dsc
7fff44dbd956b7e88bc18e8edd4cf15793234bcbc5dc99cef528e5ee15f7d605 717397
glibc_2.7-11.diff.gz
a36a98711b1812decccd8f3e329dc78202bb8918c080f226b01e119474c3e8ae 1626926
glibc-doc_2.7-11_all.deb
cb7539d87a8f32cb598f836919b8ebbb39679f4e63cc8147a5d9a8ef5ee96d3b 15977432
glibc-source_2.7-11_all.deb
92e7ec0cc2d99d9a1ac6ddbcbe4e00204fe5489120c18cf2e36bb484b3c4745f 4493594
locales_2.7-11_all.deb
71fcf8ecf8d2e51f9c79d00f6c843a9cade7d65a890193010ff592efe2b95f7c 4883990
libc6_2.7-11_amd64.deb
719232fce7b8ba42d71791436c36ec22ea39f959e5447bf41c1f93cb8062b882 2470216
libc6-dev_2.7-11_amd64.deb
48b2c7e5987f76b1479ba16a2b6f828879387e51e8dfb89a7edb2da9d2cfe0c8 1901992
libc6-prof_2.7-11_amd64.deb
d991d3e17544446d03ef19381e1fab4a2c3106a81754789afbb91ace32e9afe6 1441394
libc6-pic_2.7-11_amd64.deb
8cd5f900dc029aec74fbff912c411ba77d57f75398aa13c163dafff1f04511c7 2811244
locales-all_2.7-11_amd64.deb
b20128cab7aa0bba5ba9320a1ee06f45b3978d155c10842884a56c9cdf01cc54 3735786
libc6-i386_2.7-11_amd64.deb
d6b05577cc4ce02b1cea89b0183eb39efcd87d6564808f1071962bed5ec33ef5 1433052
libc6-dev-i386_2.7-11_amd64.deb
bcbbd725dd1298546fbc4de158390d2ca50a9bc5dc6ecfdf7b88360f3e5acb3b 171644
nscd_2.7-11_amd64.deb
c692c2623fc2e4ffaf42bae0dc453de34886ce4b7e8e7e0ce344aaa1a35b18c7 5242518
libc6-dbg_2.7-11_amd64.deb
b0f6d7a5aa5258621e30d4542da9ae65641f15a168492b2d73738173dfec56b4 1080844
libc6-udeb_2.7-11_amd64.udeb
a439de3f606759e04d259f873ed142a7ffa51f1b0c421e0069f6bcf20dcd9212 9340
libnss-dns-udeb_2.7-11_amd64.udeb
c7d29c7f3028aa680fae8695d5141011bcecfc969d60e7478dc14433f33a4578 17454
libnss-files-udeb_2.7-11_amd64.udeb
Files:
eef0698f1b24005a4df81446bc4037b7 2601 libs required glibc_2.7-11.dsc
dbc1640e6638ca1a2a38373f75e573de 717397 libs required glibc_2.7-11.diff.gz
b546643b0e691da2c9d767b677730082 1626926 doc optional glibc-doc_2.7-11_all.deb
08735d1b7afe2ea5ae24efba98bfe2bb 15977432 devel optional
glibc-source_2.7-11_all.deb
a313b15390ff41fcbe395baab8798120 4493594 libs standard locales_2.7-11_all.deb
d5ee496c998ce2846c67ff45daa959cc 4883990 libs required libc6_2.7-11_amd64.deb
4a997cd056e21553c69ade3d33a40849 2470216 libdevel optional
libc6-dev_2.7-11_amd64.deb
5b627ffc911213755640018e74b09e3d 1901992 libdevel extra
libc6-prof_2.7-11_amd64.deb
c43aa08249db65a813495f07fffe0164 1441394 libdevel optional
libc6-pic_2.7-11_amd64.deb
5a6bdf9b95b97c29c76f3ce7cfe6bff6 2811244 libs extra
locales-all_2.7-11_amd64.deb
14a69aab5b553e58ad527d227cb021a8 3735786 libs optional
libc6-i386_2.7-11_amd64.deb
22f494bb67908db922ad6057b8f7f26f 1433052 libdevel optional
libc6-dev-i386_2.7-11_amd64.deb
f3b93fa4d726814996d69d5c8fe5e569 171644 admin optional nscd_2.7-11_amd64.deb
b39f86baf2f0a4d26e6f0c6a93a366b7 5242518 libdevel extra
libc6-dbg_2.7-11_amd64.deb
89aa661e2d42c0884769db88e9269833 1080844 debian-installer extra
libc6-udeb_2.7-11_amd64.udeb
60301f98761159865ff30a4771737517 9340 debian-installer extra
libnss-dns-udeb_2.7-11_amd64.udeb
bf56d2826435c6af6ebe69a6b1bf0a89 17454 debian-installer extra
libnss-files-udeb_2.7-11_amd64.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIJt2yw3ao2vG823MRAmZXAJ97LnesgDhM1Zc8gwX+mLA8biesRQCfRwZG
kq4p1EXtKHlzUnruYsQWUyw=
=ABOb
-----END PGP SIGNATURE-----
--- End Message ---