[Mesa-dev] [PATCH] Use -Bsymbolic when linking libEGL.so

Carl Worth cworth at cworth.org
Mon Sep 30 14:57:53 PDT 2013


Eric Anholt <eric at anholt.net> writes:
> Could you print which thing is trying to get resolved early?  I see a
> few egl* calls within main/egl*.c (eglQueryAPI(), eglGetDisplay(),
> eglWaitClient()), and I'm wondering if not having Bsymbolic on them is
> causing an RTLD_NOW (perhaps by the glaze-find-libgl.c?) to try to call
> the ifuncs early.

The first one was eglCreateImageKHR. I tested by removing that from
Glaze, and then saw some other ifunc getting resolved. I continued to
remove calls, (not always one-by-one), but never succeeded at finding
any non-zero-size subset of egl calls that Glaze could wrap and still
working without -Bsymbolic.

> We should certainly be using Bsymbolic, and I'd like to see this go to
> stable.

OK. I'll do that.

Thanks,

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130930/f8371def/attachment.pgp>


More information about the mesa-dev mailing list