libsubc++ does not define ___tls_get_addr

Daniel Kraft d@daniel-kraft.net
Tue Apr 11 15:07:00 GMT 2006


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



More information about the Gcc-help mailing list