[gst-devel] Removing symbols from plugins

Ramón García ramon_garcia_f at yahoo.com
Sun Feb 15 02:44:00 CET 2004


After talking to Company yestardey on IRC, we agreed
that it would be convenient to remove all symbols from
plugins except plugin_init and symbols that are part
of the plugin API.

There is a way to do that in Linux, but it is not
portable to non-ELF platforms. It works by creating a
file "versioned symbols" (although one can refuse to
use versions) with the following syntax:

{ global: plugin_init; local: * }; 

and giving it the ld command.

To do this in a portable way, one can use libtool. But
libtool does this correctly on Linux only after
version 1.5.3, very recently released.

Is it OK to require libtool 1.5.3?

That would only bother developers. Packages and end
users would not be affected. And developers only would
generate plugins with too many symbols, otherwise
correct.

Ramon

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es




More information about the gstreamer-devel mailing list