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

2014-02-28 Thread Ian Romanick
On 02/27/2014 11:52 PM, Eric Anholt wrote: j.gli...@gmail.com writes: From: Jerome Glisse 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 tim

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

2014-02-27 Thread Eric Anholt
j.gli...@gmail.com writes: > From: Jerome Glisse > > 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 p

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

2014-02-27 Thread j . glisse
From: Jerome Glisse 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. Signed-off-by: Jérôme Glisse --- src/glx/dri_common.c | 10 +- 1 file changed, 5 insertions(+)