[gst-devel] interposing / dup. symbols interest ...

Jan Schmidt thaytan at noraisin.net
Mon Dec 12 04:43:14 CET 2005


On Fri, 2005-12-09 at 18:00 +0000, michael meeks wrote:
> Hi guys,
> 
> 	So - I don't know how you're opening your gst plugins - hopefully with
> a local scope only to speedup linking - but either way, it turns out
> there are a few duplicate symbols across the libraries that (if
> interposing happens) may cause problems. It'd be great to know if some
> are genuine plugin function names so I can whitelist them:
> 
> 	/opt/gnome/lib/gstreamer-0.8/libgstdvdsubdec.so /opt/gnome/lib/gstreamer-0.8/libgstmpeg2subt.so implement:
> 		gst_get_rle_code gst_get_nibble
> 	/opt/gnome/lib/gstreamer-0.8/libgstentrygthreadscheduler.so /opt/gnome/lib/gstreamer-0.8/libgstentryomegascheduler.so implement:
> 		gst_entry_COTHREADS_TYPE_scheduler_get_type
> 	/opt/gnome/lib/gstreamer-0.8/libgstmodplug.so /opt/gnome/lib/gstreamer-0.8/libgstmikmod.so implement:
> 		need_sync srcpad
> 	/opt/gnome/lib/gstreamer-0.8/libgstogg.so /opt/gnome/lib/gstreamer-0.8/libgstvorbis.so /opt/gnome/lib/gstreamer-0.8/libgstmultipart.so implement:
> 		vorbisdec_debug
> 	/opt/gnome/lib/gstreamer-0.8/libgstplaybin.so /opt/gnome/lib/gstreamer-0.8/libgstdecodebin.so implement:
> 		gst_play_marshal_VOID__OBJECT_BOOLEAN gst_play_marshal_BOOLEAN__OBJECT_OBJECT
> 	/opt/gnome/lib/gstreamer-0.8/libgstpuzzle.so /opt/gnome/lib/gstreamer-0.8/libgstvideotestsrc.so implement:
> 		oil_splat_u8

Woah, thanks!

In general, none of the libraries installed in $PREFIX/gstreamer-0.??/
should export any symbol except gst_plugin_desc - everything else is
supposed to be accessed by registration with the GStreamer core. 

Do you have a nice script that generates this output? It would be a nice
verification to add to our testsuite - all those symbols should be
static afaics.

Cheers,
J.

-- 
Jan Schmidt thaytan at noraisin.net

I came for the quality. I stayed for the freedom. -- Sean Neakums






More information about the gstreamer-devel mailing list