https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85400
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Eric, can you please backport this patch to 8.4? On x86_64-linux, it isn't a link failure, but as is mentioned in PR90562, the incorrect LD model means the addresses of the thread_local variable inside of inline function aren't the same in the same thread, but different shared libraries.