[Bug libgomp/28456] [gomp] Segmentation fault with statically linked binaries
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Sat Jul 22 12:55:00 GMT 2006
------- Comment #2 from anlauf at gmx dot de 2006-07-22 12:55 -------
(In reply to comment #1)
> I think this is a bug in your glibc version where static linking glibc causes
> TLS to be broken.
Andrew,
how can I find out whether this happens, and why should it happen
with static linking only? Is there a workaround for static linking?
The distributions' glibc versions, whether static or dynamic, are
supposedly the same.
For the glibc on the system mentioned above, the dynamic version claims:
% /lib/libc.so.6
GNU C Library stable release version 2.3.5 (20050802), by Roland McGrath et al.
Copyright (C) 2005 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.
Configured for i686-suse-linux.
Compiled by GNU CC version 4.0.2 20050901 (prerelease) (SUSE Linux).
Compiled on a Linux 2.6.12 system on 2005-09-09.
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
NoVersion patch for broken glibc 2.0 binaries
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
Cheers,
-ha
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28456
More information about the Gcc-bugs
mailing list