https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106435
Iain Sandoe <iains at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |13.0 Build|aarch64-apple-darwin |*-apple-darwin* Host|aarch64-apple-darwin |*-apple-darwin* Target|aarch64-apple-darwin |*-apple-darwin* --- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> --- confirmed with x86_64 on master; I would not expect this to be different on any of the archs. your finding that putting into one file makes it work confirms my suspicion about the nature of the problem - I need to find Nathan's change that was done for ELF-like targets and see if a corresponding one can be made for emulated TLS.