[Mesa-dev] [PATCH] automake: Link all libGL.so variants with -Bsymbolic.

Emil Velikov emil.l.velikov at gmail.com
Thu Jun 1 17:48:03 UTC 2017


On 1 June 2017 at 16:46, Jose Fonseca <jfonseca at vmware.com> wrote:
> We were linking src/glx with -Bsymbolic, but not the classic/gallium X11
> libGL.so.
>
> But it's always a good idea to build all libGL.so and all DRI drivers
> with -Bsymbolic, otherwise they might resolve symbols from the 3rd party
> application executable or shared libraries, which is _never_ what we
> want.
>
> In particular, this can happen when intercepting OpenGL calls with
> apitrace, before
> https://github.com/apitrace/apitrace/commit/63194b2573176ef34efce1a5c8b08e624b8dddf5
>
> Cc: mesa-stable at lists.freedesktop.org
Yes please
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

FWIW there was some concerns -Bsymbolic and --dynamic-list
interactions for gallium drivers.
But that's orthogonal to this particular patch.

-Emil


More information about the mesa-dev mailing list