https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881
--- Comment #95 from LIU Hao <lh_mouse at 126 dot com> --- To be honest, I think `set_have_as_tls=no` is a rather horrible idea. It changes the output ABI about thread-local storage according to the linker, which is just there, happens to be used, in an unpredictable way. If the linker can't be used then configure should fail with an eye-catching error, which suggests users either upgrade their linker or disable TLS.