[Mesa-dev] [PATCH v2] gallium makefiles: use a linker script for building dri drivers
Christian König
deathsimple at vodafone.de
Tue Feb 11 23:27:14 PST 2014
Am 12.02.2014 03:50, schrieb Michel Dänzer:
> On Die, 2014-02-11 at 17:28 +0100, Maarten Lankhorst wrote:
>> Only export __driDriverExtensions by default, and
>> radeon_drm_winsys_create on radeons.
>> Remove -Bsymbolic which should no longer be needed.
> Is there any particular reason for removing -Bsymbolic though? Whenever
> it was accidentally dropped somewhere previously, that seems to have
> caused subtle problems.
"-Bsymbolic" changes the priority on how symbols in the local DSO are
resolved and that creates problems with for example NV_vdpau_interop.
We should rather use an linker script that let us export only the
absolutely needed symbols and resolve everything else locally.
Christian.
More information about the mesa-dev
mailing list