[Mesa-dev] [PATCH] glx: load dri driver with RTLD_LOCAL so dlclose never fails to unload

Eric Anholt eric at anholt.net
Thu Feb 27 23:52:46 PST 2014


j.glisse at gmail.com writes:

> From: Jerome Glisse <jglisse at redhat.com>
>
> There is no reason anymore to load with RTLD_GLOBAL and for some driver
> this even result in dlclose failing to unload leading to catastrophic
> failure with swrast fallback.

I don't remember the last time drivers relied on GL symbols being
present -- we've been using _mesa_ prefixed stuff in meta for many
years, for example.  I think this should be plenty safe.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140227/5bec2c5f/attachment.pgp>


More information about the mesa-dev mailing list