https://issues.dlang.org/show_bug.cgi?id=20737
Rainer Schuetze <r.sagita...@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r.sagita...@gmx.de --- Comment #1 from Rainer Schuetze <r.sagita...@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. --