TLS/GC issues on macOS
Jacob Carlborg
doob at me.com
Thu Jan 3 19:35:08 UTC 2019
On 2019-01-03 13:58, Sönke Ludwig wrote:
> There appears to be a GC visibility issue of TLS sections on macOS when
> multiple threads are involved. I added a test case to what looks like
> the same issue: https://github.com/ldc-developers/ldc/issues/2187
>
> The question is, does anyone have enough insight on the TLS
> implementation to make a quick diagnosis or fix?
>
> This is biting us pretty hard in our upcoming commercial project (DMD
> has codegen issues on macOS), so any help would be highly appreciated.
I haven't tested anything, but I noticed this [1] difference between LDC
and DMD.
[1]
https://github.com/ldc-developers/druntime/blob/4e745768c79f6b72f03af108a845145e382e71e4/src/rt/sections_elf_shared.d#L1005-L1011
--
/Jacob Carlborg
More information about the digitalmars-d-ldc
mailing list