http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52192

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> 2012-02-10 13:59:12 UTC ---
> --- 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.

No, the patch just tries the TLS test first without and then with
-pthread to check if it makes a difference.

    Rainer

Reply via email to