[Bug other/52192] GCC_CHECK_TLS doesn't detect native TLS on Solaris 8/9

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 9 20:01:00 GMT 2012


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.



More information about the Gcc-bugs mailing list