https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70146
--- Comment #6 from Andy Lutomirski <luto at kernel dot org> --- The PLT case could be reduced significantly by -fno-plt, but the TLS issue is just sad. I don't suppose it could be fixed with just toolchain changes while retaining compatibility with existing libc versions?