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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 29 02:56:17 PST 2014


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

--- Comment #16 from Natanael Copa <natanael.copa at gmail.com> ---
(In reply to comment #15)
> Note that, at least as I understand
> it, the current approach that "works" with glibc is already fragile; if
> another library with large TLS needs gets loaded via dlopen before libGL.so,
> this may cause libGL.so to fail to load/work.

This should be fairly easy to test. If we add a dlopen of a dso that allocates
slightly less than TLS_STATIC_SURPLUS before we dlopen the libGL we should
trigger an dlopen error.

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


More information about the mesa-dev mailing list