[vlc-devel] [PATCH] contrib: rnnoise: prefix common symbols

Rémi Denis-Courmont remi at remlab.net
Tue Oct 20 10:33:09 CEST 2020


Hi,

No, there is nothing unavoidable about it.
Partial linking is the only way to avoid overlapping symbols with different definitions, and is the only supported way to link VLC modules statically. Anything else is known broken for well over a decade.

But that's not even the problem here. Multiple equivalent definitions of the same function in different libraries is fine even without partial linking. If there is a duplicate symbol error the build flags are wrong, very very wrong.

This patch is only (yet again) highlighting bugs elsewhere.
-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20201020/0d6a7896/attachment.html>


More information about the vlc-devel mailing list