On Thu, Apr 04, 2002 at 11:03:25PM +0100, Steve Harris wrote: > On Thu, Apr 04, 2002 at 03:35:59 -0500, Paul Davis wrote: > > >At least one person is dlopen-ing LADSPA plugins with RTLD_GLOBAL, and this > > >can potentially cause problems with plugins that have clashing globals. > > > > as at least one of those people, i should note that this occurs only > > because i am using the g_module library, which uses RTLD_GLOBAL > > implicitly. it is an error to use it in this way, and i plan to move > > ardour away from this ASAP. other people who think of using g_module > > should consider this issue too. > > Right, but either way I think its wrong for plugins to export irrelvent > symbols. If I understand whats going on, even without RTLD_GLOBAL global > variables in the plugin will be exported to the host, which could cause > problems.
So why do they have non-static globals anyway? (apart from the ladspa descriptor function) So fix the plugins, not the hosts... Richard. -- -- Richard Guenther <[EMAIL PROTECTED]> WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/ The GLAME Project: http://www.glame.de/
