[Issue 20737] TLS variables unusable with -betterC for Windows MSVC targets
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Apr 14 21:45:27 UTC 2020
    
    
  
https://issues.dlang.org/show_bug.cgi?id=20737
Rainer Schuetze <r.sagitario at gmx.de> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de
--- Comment #1 from Rainer Schuetze <r.sagitario at gmx.de> ---
The TLS directory is not generated into the executable. It's not linked in
because there is no reference to _tls_index in the object file as dmd assumes
_tls_index==0 when directly building an executable.
If you compile with -c and link separately, the TLS directory exists and the
program runs without problems.
--
    
    
More information about the Digitalmars-d-bugs
mailing list