Re: [Mingw-w64-public] Native TLS

2021-08-01 Thread Martin Storsjö
On Mon, 2 Aug 2021, Dmitry Kozlyuk wrote: Does MinGW-w64 builds support native thread-local storage (TLS), i.e. placing TLS variables to the array pointed via TEB? I'm trying to find a way to use TLS from a shared library, even if through a macro, that will work for both MinGW-w64 and clang at t

Re: [Mingw-w64-public] Native TLS

2021-08-01 Thread Jeremy Drake via Mingw-w64-public
On Mon, 2 Aug 2021, Dmitry Kozlyuk wrote: > Hello, > > Does MinGW-w64 builds support native thread-local storage (TLS), If by MinGW-w64 you mean GCC targeting MinGW-w64, then no. GCC only supports emutls on MinGW-w64. > that will work for both MinGW-w64 and clang at the same time If you want t

[Mingw-w64-public] Native TLS

2021-08-01 Thread Dmitry Kozlyuk
Hello, Does MinGW-w64 builds support native thread-local storage (TLS), i.e. placing TLS variables to the array pointed via TEB? I'm trying to find a way to use TLS from a shared library, even if through a macro, that will work for both MinGW-w64 and clang at the same time (i.e. no #ifdef when acc

Re: [Mingw-w64-public] [PATCH] crt: Add missing exports in mswsock.def

2021-08-01 Thread LIU Hao
在 2021-08-01 13:49, Biswapriyo Nath 写道: From fdf3245ba30040fa596636b66c115282ec7a2594 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 1 Aug 2021 11:17:18 +0530 Subject: [PATCH] crt: Add missing exports in mswsock.def Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/lib-common/mswsoc