[Mesa-dev] [PATCH 1/4] dispatch: Use general-dynamic TLS model rather than initial-exec.
eric at anholt.net
Wed Mar 23 17:48:14 PDT 2011
On Thu, 24 Mar 2011 10:33:36 +1100, christopher.halse.rogers at canonical.com wrote:
> From: Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
> The initial-exec static TLS model is inappropriate for libraries
> that might be dynamically loaded. Since libGL is dynamically loaded
> by any number of projects mesa must instead use the general-dynamic
> TLS model.
> This has apparently always been broken for projects dynamically loading
> libGL and libstdc++, but now that libGL links to libstdc++ it's much
> more visible.
> cf: Launchpad bug: https://bugs.launchpad.net/bugs/259219
> First part of fix for https://bugs.freedesktop.org/show_bug.cgi?id=35268
Looks like someone bisecting through and hitting the first commit would
get a broken build. I would think squash 2/4 and 3/4 and move the
_glapi_tls_Dispatch change to that new commit. I didn't receive patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev