[Mesa-dev] Please mark _glapi_proc in xserver/glx/glapi.c as PUBLIC
Michel Dänzer
michel at daenzer.net
Fri Feb 11 00:54:34 PST 2011
On Don, 2011-02-10 at 22:46 +0100, Peter Hjalmarsson wrote:
> Hello
>
> _glapi_proc was marked as PUBLIC in the following commit in the mesa
> tree [1], however that was never mirrored in the api for aiglx in the
> xserver tree.
> If you have linked Gallium3D drivers with -z,now (as for example
> Hardened Gentoo does) or try to run X with LD_BIND_NOW=1 you will get an
> error message in Xorg.log about how AIGLX could not be initiated due to
> missing symbols in the chosen gallium dri driver.
> I do not know if this just an issue nobody has hit since few uses AIGLX,
> or if this in "normal" use-cases is not a problem.
>
> So could you please mark the symbol as PUBLIC in xserver/glx/glapi.c, or
> give an explanation on why that may not be a good idea and if there is
> another possibility to have AIGLX on Gallium3D-drivers built with -z,now
> I do not know if there are more symbols that needs to be marked public,
> but _glapi_proc is enough in our use-case to get the driver at least
> loaded (which should not be possible if there are other symbols failing
> to be resolved).
>
> [1]
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d62eb45997a199e116661e26217b4d44fb9ba1e
I think this should have gone to the xorg-devel list. :) Moving there.
--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
More information about the mesa-dev
mailing list