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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 13 05:00:30 PDT 2011


--- Comment #1 from Christopher James Halse Rogers <chalserogers at gmail.com> 2011-03-13 05:00:28 PDT ---
Created an attachment (id=44412)
 View: https://bugs.freedesktop.org/attachment.cgi?id=44412
 Review: https://bugs.freedesktop.org/review?bug=35268&attachment=44412

Partial patch

Attached is a partial patch - this works for x86-64 (there's probably some
optimisation possible with the register save/restore here) and when assembly is
disabled, but blows up on IA32 where I still haven't quite grokked the ABI.

x86-64 users and those without assembly should be able to verify that the the
test-case fails to crash with this patch applied (and, indeed, libGL no longer
has the STATIC_TLS DT_FLAG applied).

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the mesa-dev mailing list