This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4660] New: Cannot link with -static and TLS support
- From: "lipovsky at cs dot bu dot edu" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Jun 2007 15:33:31 -0000
- Subject: [Bug libc/4660] New: Cannot link with -static and TLS support
- Reply-to: sourceware-bugzilla at sourceware dot org
I thought that the bug has already been fixed in earlier version of the library
(according to online results). Well apparently not. I am getting this:
/usr/binutils-2.17/bin/ld: __libc_errno: TLS definition in
/opt//usr/lib/libc.a(errno.o) section .tbss mismatches non-TLS reference in
/opt//usr/lib/libc.a(check_fds.o)
/opt//usr/lib/libc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
FYI: I configured libc with NPTL support. Here is the output from libc.so.6:
GNU C Library development release version 2.4, by Roland McGrath et al.
Copyright (C) 2006 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 4.1.2
Compiled on a Linux 2.6.0-test7 system on 2007-03-09.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU libio by Per Bothner
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
--
Summary: Cannot link with -static and TLS support
Product: glibc
Version: 2.4
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: lipovsky at cs dot bu dot edu
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: powerpc-unknown-linux
GCC host triplet: powerpc-unknown-linux
GCC target triplet: powerpc-unknown-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=4660
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.