This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
libsubc++ does not define ___tls_get_addr
- From: Daniel Kraft <d at daniel-kraft dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 11 Apr 2006 17:06:50 +0000
- Subject: libsubc++ does not define ___tls_get_addr
Hi!
I've recently tried to compile the OpenOffice-source package, but
somewhere in the middle the linker fails with the message:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../libsupc++.a(eh_globals.o):
In function `__gnu_internal::get_global()':
../../../../libstdc++-v3/libsupc++/eh_globals.cc:58: undefined reference
to `___tls_get_addr'
collect2: ld returned 1 exit status
So it seems to me that the problem is not OpenOffice, but my g++
installation; am I right? What can be done to get libstdc++ right?
Many thanks!
Yours,
Daniel Kraft