https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That suggests TLS doesn't work at all on your platform (but then you should obviously not --enable-tls).