On Fri, Apr 05, 2002 at 06:45:59 +0200, Richard Guenther wrote: > 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: > > > 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...
I'm not sure if you're replying to Paul or me, but my solution /is/ to fix the plugins. - Steve
