Prelink and libGL.so : a tip

Leon Bottou leonb at nec-labs.com
Tue Dec 2 19:43:23 CET 2003


On Tuesday 02 December 2003 01:20 pm, Jakub Jelinek wrote:
> As for your http://lists.kde.org/?l=kde-optimize&m=107007239305615&w=2
> patch, I'd strongly suggest using different names of the stubs than
> the names of the functions in libGL.so, since it otherwise creates
> unnecessary prelink conflicts depending whether libqt comes before
> libGL.so in search scope.  Also, I think it is better to do all the
> initialization in one routine (perhaps also guarded with weak pthread_once)
> so that the stubs are as small as possible.

Sounds right.
These conflicts only affect qt applications 
that actually use openGL.

- L.




More information about the Kde-optimize mailing list