https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66944
--- Comment #10 from Silver Zachara <silver.zachara at gmail dot com> --- The TLS wrapper isn't correctly implemented, still reproducible on v14.2.1. Clang also had a lot of problems with the TLS wrapper but they fixed everything. +1 for fixing this; it has existed for too long.