Is it ok to add GCC_CHECK_EMUTLS test in libgomp/configure.ac or
should I add in tls.m3 a similair test that would be used only in
libgomp?

2014-12-08 17:03 GMT+03:00 Jakub Jelinek <ja...@redhat.com>:
> On Mon, Dec 08, 2014 at 04:30:46PM +0300, Varvara Rainchik wrote:
>> Hi guys,
>>
>> Could you please take a look at this issue? This fix is still urgent
>> for Android.
>
> I'm afraid it will break those targets where emutls is not on, but the C
> library doesn't support TLS.  I think it is acceptable not to care about
> #pragma omp from different pthread_create created threads in that case, but
> stopping support completely might be too early.
> So, can you instead arrange for HAVE_TLS to be defined if emutls is
> supported (check for that during configure)?
>
>         Jakub

Reply via email to