diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-14 11:34:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-15 09:33:53 +0100 |
commit | f3a59540d0d1f7ab42ba7cb5ff1a26ac3a8a9f68 (patch) | |
tree | 24cfa322f0a4b278e0aea978cf406af5a1f6813c /meta/files | |
parent | fe5b37c07b6d07c350516ab6bf849d6d86a84004 (diff) | |
download | openembedded-core-f3a59540d0d1f7ab42ba7cb5ff1a26ac3a8a9f68.tar.gz openembedded-core-f3a59540d0d1f7ab42ba7cb5ff1a26ac3a8a9f68.tar.bz2 openembedded-core-f3a59540d0d1f7ab42ba7cb5ff1a26ac3a8a9f68.zip |
mesa: Disble TLS for musl
See https://bugs.freedesktop.org/show_bug.cgi?id=35268
mesa should infact stop using __attribute__((tls_model("initial-exec")))
until then we disale TLS in glx for musl
The problem could happen even on glibc if static TLS sizes are large enough
which would mean that additional space the glibc leaves for such rogue libraries
get consumed and then same problems show up there as well
Fixes errors seen in xorg logs e.g.
(EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: Error relocating /usr/lib/libGL.so.1: _ITM_deregisterTMCloneTable: initial-exec TLS resolves to dynamic definition in /usr/lib/libGL.so.1
enable readonly text segment on x86 for musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
0 files changed, 0 insertions, 0 deletions