[Mesa-dev] [PATCH] fix vdpau interop when using -Bsymbolic-functions in ldflags

Maarten Lankhorst maarten.lankhorst at canonical.com
Sat Mar 8 08:14:13 PST 2014


op 07-03-14 17:33, Emil Velikov schreef:
> On 06/03/14 09:56, Maarten Lankhorst wrote:
>> Explicitly add radeon_drm_winsys_create and nouveau_drm_screen_create to
>> the dynamic list. This will ensure vdpau interop still works even when
>> the user links with -Bsymbolic-functions in hardened builds.
>>
> With the only reason why we've nuked -Wl,-Bsymbolic explicitly handled,
> I guess we can bring it back ? dri, vdpau and others can make nice use
> of it.
>
> I'm assuming that the lack of the above caused a very "interesting" bug
> [1], which may creep in again.
>
Only explicit exports are done. -Bsymbolic should be pretty much a noop when only allowed functions are exported.

~Maarten


More information about the mesa-dev mailing list