[Bug 93059] [PATCH] i965 fails to load miserably on musl libc due to underlinking

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 22 14:30:34 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93059

--- Comment #2 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to Matt Turner from comment #1)
> "miserably"
> 
> 
> I don't think dri drivers can link directly to libglapi. Cc'ing Emil.
In theory there should be no problems when combined with recent enough (don't
recall the date/release) xserver/libglx. Priorly libglx was providing the
symbols, as it was copying a ton of the gl dispatch from mesa. Nowadays it
links against libGL and relies on it to handle things.

On the whole topic I've been leaning towards:
 - folding the static glapi only for special users (osmesa, libgl-xlib)
 - "forcing" everyone else to shared one and dropping the configure switch
 - figuring some deprecation period and/or experimentally adding the libglapi
link to the dri modules.

I'm leaning that foo_dri.so linked with libglapi and old xserver should still
work, although that is to be tested.

All that aside: albeit not ideal, some libraries need to stay underlinked. Musl
devs should seriously reconsider and add support for it.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20151122/39b0edb4/attachment.html>


More information about the intel-3d-bugs mailing list