Question around druntime/phobos and GDC

Iain Buclaw ibuclaw at ubuntu.com
Fri Sep 21 00:34:52 PDT 2012


On 21 September 2012 07:15, Jacob Carlborg <doob at me.com> wrote:
> On 2012-09-21 01:30, Iain Buclaw wrote:
>
>> It's mostly kept in sync, however each compiler implements their own
>> runtime folders (libdruntime/rt)
>>
>> TLS is an implementation detail and requires support of the compiler,
>> so send anything relating to it to GDC.  However, hold your horses.
>> Just having a quick look at the issue reported (I don't look at
>> bitbucket anymore) what they suggest does not solve the problem.  GDC
>> doesn't use _tls_data_array, so you are working around it, rather than
>> fixing GDC-OSX runtime, which will still be potentially broken because
>> it is not handled in the way GDC's TLS implementation works for OSX.
>
>
> BTW, does GCC/GDC support the native TLS implementation on Mac OS X 10.7 and
> later?
>
> --
> /Jacob Carlborg

In the build directory:

grep HAVE_AS_TLS gcc/*


If defined as true, then you should have proper tls support.

Regards
-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the D.gnu mailing list