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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 26 10:25:37 PDT 2011


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

--- Comment #3 from Tom Fogal <tfogal at alumni.unh.edu> 2011-04-26 10:25:37 PDT ---
It looks like init_glapi_relocs is an empty function after this patch.  Can it
just be removed, then?

Is there hand-coded asm for other architectures (i.e. not just x86[-64]) as
well?  I have not checked.  However, I see nothing about them in this patch,
and if such assembly exists it should be patched as well, no?

I am concerned about calling functions such as __tls_get_addr in an unguarded
fashion.  These TLS functions/support are language extensions and are not
required to exist for all targets; furthermore they definitely will not exist
for non-ELF backends (right?).  How prevalent are platforms that implement ELF
but not these TLS extensions (OpenBSD?), as well as platforms such as Mac which
don't even use ELF, AFAIK.

-- 
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