[Mesa-dev] [PATCH 2/2] mesa/glsl: rename preprocess to glcpp_preprocess

Mathias Fröhlich Mathias.Froehlich at gmx.net
Fri Sep 14 23:21:49 PDT 2012


Hi,

On Friday, September 14, 2012 00:08:27 Kenneth Graunke wrote:
> I wonder if there's something better we can do.  I don't know what though.

Is there any deep reason why we use RTLD_GLOBAL for dlopening the drivers?

If not we could use RTLD_LOCAL | RTLD_DEEPBIND instead of RTLD_GLOBAL. This 
should at least provide some more isolation tha we have today. At least a 
quick test with r600g works fine.

In the far term we might want to look at dlmopen together with LM_ID_NEWLM for 
loading the drivers. Similar quick tests with that did not succeed. So that 
would need a deeper look.

Greetings

Mathias


More information about the mesa-dev mailing list