https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113211
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjames at gcc dot gnu.org --- Comment #6 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #5) > Also I doubt this is a glibc issue either. Basically if you use getpwuid, > etc. in a static linked executable, it will use dlopen and TLS in a shared > library is not compatiable with a static linked executable. It even warns about that at link-time.