http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60675
--- Comment #10 from ktkachov at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #9) > Note I couldn't reproduce this with a cross from x86_64-linux to > aarch64-linux, wonder what is the important difference. While I don't have > cross binutils installed, I made sure I have HAVE_GAS_HIDDEN and HAVE_AS_TLS > enabled in auto-host.h. I can reproduce it with an aarch64-none-elf cross compiler at revision 208889 configured with: --with-pkgversion=unknown --disable-shared --disable-nls --disable-threads --disable-tls --enable-checking=yes --enable-languages=c,c++,fortran --with-newlib --with-cpu=cortex-a53 --with-arch=armv8-a I haven't tried a linux compiler, I'll try that next...