Bugzilla – Bug 59238
many new symbols in libxatracker after recent automake work
Last modified: 2013-03-16 12:01:15 UTC
After recent automake work there are many new symbols on libxatracker1 (eventually also on other libraries), dunno if it's intended. See all lines starting with + at the end of this:
If someone wants to write a patch for fixing the new symbols
here is a reference how to fix this:
I'd like to point out that there already were (and are) problems with symbol visibility:
It would be nice if these could be fixed as well.
Created attachment 73001 [details] [review]
I tried the attached patch, there are some less symbols but most are still here:
Note: it looks only libxatracker has this issue.
Concerning visibility for the DRI drivers: Does anyone know which symbols have to be exported so that libGL can load the drivers?
I've reduced the exported symbols via ld's --version-script to the ones containing dri, drm and glapi (mainly for bug #37637) -- which tremendously shrinks the amount. I would be interesting to know which symbols are exactly necessary for the loader to work.
This problem looks related to libxatracker only.
http://paste.ubuntu.com/1620151/plain/ is the patch I used to reduce visibility in debian-experimental, I could commit this if there is interest
(In reply to comment #6)
> http://paste.ubuntu.com/1620151/plain/ is the patch I used to reduce
> visibility in debian-experimental, I could commit this if there is interest
Maybe pastebin the patch in a place that I don't have to log in to see it? Actually, this is bugzilla -- just attach it here.
Created attachment 74370 [details]
visibility patch for xatracker1
Just a minor thing: looking at the content of GALLIUM_CFLAGS shouldn't they be added to AM_CPPFLAGS instead of AM_CFLAGS ?
Also, given that $(DEFINES) variable is technically deprecated, that should probably be adjusted too.