[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 20 16:36:00 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=35268

--- Comment #30 from Rich Felker <bugdal at aerifal.cx> ---
Given the lack of response on this issue, I think when I get some time to focus
on it again I'll just prepare a patch removing all of the asm dispatch stubs.

As noted before, they have no benefits at all on x86_64. On other archs only
the runtime-generated dispatch stubs possibly benefit from generating them by
hand, and the same benefit should be obtainable just by building with textrels
(omitting -fPIC), if the user is willing to accept what that entails.

As a bonus, if it turns out that upstream is unwilling to merge a fix for this
issue, a patch that just removes the problematic code is easier to maintain
out-of-tree than one that makes lots of small changes to the code.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181220/98e9d1e4/attachment.html>


More information about the mesa-dev mailing list