[Mesa-dev] [Bug 57702] Eliminate RTLD_GLOBAL glapi hacks after removing support for static libglapi

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 29 16:11:50 PDT 2014


--- Comment #3 from fjhenigman <fjhmesabug at gmail.com> ---
If I'm understanding correctly:
- this bug asks that, for example, /usr/lib64/dri/i965_dri.so pull in libglapi
- at the moment it's deliberately not pulled because some use case didn't want
- that other use case no longer exists in current code, but there's reluctance
to break older versions by making the requested change
- in time, fear of breaking old code will reduce, and this change could happen

Here's another reason for making that change: gbm_create_device() fails because
dlopening (for example) i965_dri.so fails due to missing glapi symbols.  Unless
you link in or dlopen libglapi, or link in something that pulls it in such as
libGL.  The dlopen(libglapi) hack seems to be widespread:




Now I find waffle has the same problem.  Do I need to add the same hack there?

If we must use the hack for now, wouldn't it be better in gbm_create_device, so
gbm user doesn't clutter their code with it?

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141029/4039731c/attachment.html>

More information about the mesa-dev mailing list