This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

glibc-nptl 2.3.4: cannot handle TLS data


Hi,

I tried to upgrade out glibc packages from 2.3.2 (without-tls) to
2.3.4 (ntpl) using the source from the 2.3 stable branch without any
patches.

However - the new libc issues a lot of 'cannot handle TLS data'.
E.g. I installed the new glibc in an chroot env and get:

# pwd
/lib/tls
# ./libc.so.6
	/usr/lib/ld-linux.so.2 (0xb7fec000)
	linux-gate.so.1 =>  (0xffffe000)
./libc.so.6: error while loading shared libraries: unexpected reloc type 0x0e
# /lib/ld-linux.so.2 --list ./libc.so.6
./libc.so.6: error while loading shared libraries: ./libc.so.6: cannot handle TLS data

# cd /lib
# ./libc.so.6

# eu-readelf -n /lib/tls/libc.so.6

Note segment of 32 bytes at offset 0x174:
  Owner          Data size  Type
  GNU                   16  VERSION
    OS: Linux, ABI: 2.6.9

The running kernel is 2.6.9 - so normally that should work.

Binutils are 2.15.94.0.2 vanilla - is this perhaps a problem?

The linuxthreads withoutls libc.so.6 seems to be ok:
# /lib/libc.so.6

GNU C Library stable release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.1.
Compiled on a Linux 2.6.9 system on 2005-01-04.
Available extensions:
	GNU libio by Per Bothner
	crypt add-on version 2.1 by Michael Glad and others
	linuxthreads-0.10 by Xavier Leroy
	GNU Libidn by Simon Josefsson
	BIND-8.2.3-T5B
	libthread_db work sponsored by Alpha Processor Inc
	NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

Are there any hints, how to trace this problem a little bit deeper or 
how fix it?  Or is it required to apply all the fedora patches, to get
the thing work ?

Regards,
jens.
-- 
+---[ Jens Elkner ]--------------------------------------------------------+
| Walther-Rathenau-Str. 58                 elkner@linofee.org              |
| 39104 Magdeburg   GERMANY           http://www.linofee.org/~jel/         |
+--------------------------------------------------------------------------+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]