Am Sonntag, 11. Juli 2004 21:10 schrieb Ian Romanick:
> These two patches cooperate to enable TLS support.  For now you much
> manually add "#define GlxUseThreadLocalStorage YES" to your host.def to
> enable TLS support.  Apply the Mesa patch to the Mesa tree and the DRI
> patch to the DRI tree.
>
> Right now libGL will try for a TLS driver first, and fallback to the
> non-TLS driver if tls/*_dri.so does not exist.  I am considering adding
> an env variable to make libGL ignore the TLS drivers altogether.  The
> only catch with this would be that using the env var would not disable
> libGL's use of TLS.
>
> There are a couple gaps in my understanding of TLS.  I hope that someone
> on the list can fill me in.  I've seen that a few apps require
> 'LD_ASSUME_KERNEL=2.4.19' to disable TLS.  Doing that with, for example,
> glxgears doesn't seem to make any difference.  It still uses the TLS
> libGL.so and the TLS driver.  What is this option /really/ supposed to do?

It works fine on SuSE 9.0 _plus_ updated glibc-2.3.3-73 (taken from SuSE 
9.0.42, 9.1 beta).

Cuts 1/9 of the relocs.

/opt/Mesa> objdump -R /usr/X11R6/lib/libGL.so.1.2 | wc -l
   8074

Was 90xx before.

Greetings,
        Dieter


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to