Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MinGW] MinGW emulate TLS #74980

Closed
wants to merge 1 commit into from
Closed

Conversation

xu-chiheng
Copy link

No description provided.

@mstorsjo
Copy link
Member

This is an ABI break for environments that currently use native TLS - llvm-mingw and the msys2 environment clang64 currently successfully use the default of native TLS.

While the fact that emulated TLS has to be manually enabled when interacting with GCC/libstdc++ isn't ideal, any path forward needs to acknowledge that the current default also is useful and that someone may want to keep using that.

Also to acknowledge the issue, msys2 does patch their llvm builds in the mingw32/mingw64 environments (where clang is used with libstdc++) to do exactly this. But one can't blindly change this without a plan for how to deal with the cases that currently use native TLS.

CC @mati865 @lazka @jeremyd2019.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants