--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libc6: 2.3.5-1 ppc built lacks GLIBC_2.3.3 version in libpthread
- From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
- Date: Sat, 07 May 2005 12:42:02 +1000
- Message-id: <1115433723.6353.6.camel@gaston>
Package: libc6
Version: 2.3.5-1
Severity: normal
The 2.3.5-1 ppc build present in experimental has a problem with
libpthread-0.10.so binary. For some reason I haven't been able to
explain, it lacks the version GLIBC_2.3.3 symbol (it does have 2.3.2
and 2.3.4 and libc6 itself has them all).
This prevents running some binaries built on other distros like fedora
Here is some readelf output:
Version definition section '.gnu.version_d' contains 11 entries:
Addr: 0x0000000000003740 Offset: 0x003740 Link: 4 (.dynstr)
000000: Rev: 1 Flags: BASE Index: 1 Cnt: 1 Name: libpthread.so.0
0x001c: Rev: 1 Flags: none Index: 2 Cnt: 1 Name: GLIBC_2.0
0x0038: Rev: 1 Flags: none Index: 3 Cnt: 2 Name: GLIBC_2.1
0x0054: Parent 1: GLIBC_2.0
0x005c: Rev: 1 Flags: none Index: 4 Cnt: 2 Name: GLIBC_2.1.1
0x0078: Parent 1: GLIBC_2.1
0x0080: Rev: 1 Flags: none Index: 5 Cnt: 2 Name: GLIBC_2.1.2
0x009c: Parent 1: GLIBC_2.1.1
0x00a4: Rev: 1 Flags: none Index: 6 Cnt: 2 Name: GLIBC_2.2
0x00c0: Parent 1: GLIBC_2.1.2
0x00c8: Rev: 1 Flags: none Index: 7 Cnt: 2 Name: GLIBC_2.2.3
0x00e4: Parent 1: GLIBC_2.2
0x00ec: Rev: 1 Flags: none Index: 8 Cnt: 2 Name: GLIBC_2.2.6
0x0108: Parent 1: GLIBC_2.2.3
0x0110: Rev: 1 Flags: none Index: 9 Cnt: 2 Name: GLIBC_2.3.2
0x012c: Parent 1: GLIBC_2.2.6
0x0134: Rev: 1 Flags: none Index: 10 Cnt: 2 Name: GLIBC_2.3.4
0x0150: Parent 1: GLIBC_2.3.2
0x0158: Rev: 1 Flags: none Index: 11 Cnt: 2 Name: GLIBC_PRIVATE
0x0174: Parent 1: GLIBC_2.3.4
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.12-rc3-gack
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-7 The Berkeley database routines [gl
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: 307985-done@bugs.debian.org
- Subject: Bug#307985: libc6: 2.3.5-1 ppc built lacks GLIBC_2.3.3 version in libpthread
- From: Aurelien Jarno <aurelien@aurel32.net>
- Date: Mon, 10 Apr 2006 07:26:39 +0200
- Message-id: <20060410052639.GA22033@bode.aurel32.net>
On Sat, May 07, 2005 at 02:06:15PM +1000, Benjamin Herrenschmidt wrote:
> On Fri, 2005-05-06 at 23:09 -0400, Daniel Jacobowitz wrote:
> > On Sat, May 07, 2005 at 12:42:02PM +1000, Benjamin Herrenschmidt wrote:
> > > Package: libc6
> > > Version: 2.3.5-1
> > > Severity: normal
> > >
> > >
> > > The 2.3.5-1 ppc build present in experimental has a problem with
> > > libpthread-0.10.so binary. For some reason I haven't been able to
> > > explain, it lacks the version GLIBC_2.3.3 symbol (it does have 2.3.2
> > > and 2.3.4 and libc6 itself has them all).
> > >
> > > This prevents running some binaries built on other distros like fedora
> >
> > And what GLIBC_2.3.3 symbols does Fedora have?
>
> Hi Daniel !
>
> I was trying to use their build of openoffice 2, and got that:
>
> oobenh@gaston:~$ oowriter
> /usr/lib/openoffice.org1.9.100/program/javaldx: /lib/libpthread.so.0: version `GLIBC_2.3.3' not found (required by /usr/lib/openoffice.org1.9.100/program/libuno_sal.so.3)
> /usr/lib/openoffice.org1.9.100/program/soffice.bin: /lib/libpthread.so.0: version `GLIBC_2.3.3' not found (required by /usr/lib/openoffice.org1.9.100/program/libuno_sal.so.3)
>
> and I get that:
>
> benh@gaston:~$ readelf -a /usr/lib/openoffice.org1.9.100/program/libuno_sal.so.3 | grep 2.3.3
> 339: 00000000 44 FUNC GLOBAL DEFAULT UND __pthread_register_cancel@GLIBC_2.3.3 (18)
> 667: 00000000 72 FUNC WEAK DEFAULT UND __pthread_unwind_next@GLIBC_2.3.3 (18)
> 682: 00000000 28 FUNC GLOBAL DEFAULT UND __pthread_unregister_canc@GLIBC_2.3.3 (18)
> 150: 2 (UDK_3_0_0) 2 (UDK_3_0_0) 2 (UDK_3_0_0) 12 (GLIBC_2.3.3)
> 298: a (GLIBC_2.0) 2 (UDK_3_0_0) 2 (UDK_3_0_0) 12 (GLIBC_2.3.3)
> 2a8: 2 (UDK_3_0_0) a (GLIBC_2.0) 12 (GLIBC_2.3.3) 2 (UDK_3_0_0)
> 0x00d0: Name: GLIBC_2.3.3 Flags: none Version: 18
>
Now that the PPC glibc has a NPTL version, those symbols are available:
$ objdump -T /lib/tls/libpthread.so.0 | grep "__pthread_\(unregister\|register\|unwind\)"
0000ce50 g DF .text 00000048 GLIBC_2.3.3 __pthread_unwind_next
0000c8b0 g DF .text 0000001c GLIBC_2.3.3 __pthread_unregister_cancel
0000ce00 g DF .text 00000048 GLIBC_PRIVATE __pthread_unwind
0000c8d0 g DF .text 000000a0 GLIBC_2.3.3 __pthread_register_cancel_defer
0000c880 g DF .text 0000002c GLIBC_2.3.3 __pthread_register_cancel
0000c970 g DF .text 000000dc GLIBC_2.3.3 __pthread_unregister_cancel_restore
You need a 2.6 kernel to be able to use them though.
I am therefore closing this bug.
Bye,
Aurelien
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
--- End Message ---