https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88279
--- Comment #4 from Alexander Monakov <amonakov at gcc dot gnu.org> --- To clarify, the decl/type mixup is causing the compiler to use local-dynamic TLS references where general-dynamic are intended (and were used prior to the patch).