On Tue, 23 Jun 2020, Alexandre Pereira Nunes wrote:

I thought to let you know, because, perhaps, there's something in
mingw's TLS handling that might depend on gcc's TLS emulation
currently in place.
I don't follow mingw development so excuse me for asking, but does
mingw build with clang? And if so, does the code run well? I ask
because clang has native TLS and if so, mingw probably is working fine
already.

Clang works fine with mingw, and it does use native TLS which works fine there.

One issue to keep in mind, is that when switching from emulated to native TLS, the public ABI of libstdc++ also changes (as there are a few TLS objects in the public interface).

// Martin



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to