https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-07-11 CC| |ubizjak at gmail dot com Version|unknown |6.0 Target Milestone|--- |6.0 Summary|GCC mis-compiles access to |__tls_get_addr is called |TLS variable with -fPIC on |with misaligned stack on |x86_64 |x86-64 Ever confirmed|0 |1 --- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> --- __tls_get_addr is called with misaligned stack on x86-64. It crashes ld.so when it tries to save and restore XMM registers with aligned load/store: https://sourceware.org/ml/libc-alpha/2015-07/msg00365.html