Re: [linux-audio-dev] LADSPA plugins and RTLD_GLOBAL

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] LADSPA plugins and RTLD_GLOBAL
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Fri Apr 05 2002 - 20:07:41 EEST


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Apr 05 2002 - 19:55:39 EEST