It looks a lot like initial-exec is inappropriate for libGL. At least, it is incompatible with being able to dlopen libGL. However, changing initial-exec to (the most general) global-dynamic doesn't fix this.
There's additionally some hand-generated assembly in glapi, which I've patched out, but the minimal reproducing case still dies. Time to really grok the ELF TLS ABI, I guess. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/259219 Title: Broken TLS support in libGL.so -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs