This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/52192] GCC_CHECK_TLS doesn't detect native TLS on Solaris 8/9
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Feb 2012 20:01:41 +0000
- Subject: [Bug other/52192] GCC_CHECK_TLS doesn't detect native TLS on Solaris 8/9
- Auto-submitted: auto-generated
- References: <bug-52192-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52192
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-09 20:01:41 UTC ---
(In reply to comment #0)
> needs to link with -lthread for __tls_get_addr. -pthread knows about this
> and the necessary contortions, and I do have a patch to try the test with
> -pthread if it fails without, and adds it to LDFLAGS if that works.
Will that be Solaris only? Because I'm seeing many failures on NetBSD due to
undefined refs to __tls_get_addr, which I haven't investigated yet.