[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: RTLD_GLOBAL again (was Re: kdeutils/kregexpeditor/test)
From:       Maks Orlovich <mo002j () mail ! rochester ! edu>
Date:       2002-04-19 22:44:11
[Download RAW message or body]

On Friday 19 April 2002 06:38 pm, Lubos Lunak wrote:
> On Thursday 18 April 2002 20:25, Waldo Bastian wrote:
> > On Thursday 18 April 2002 09:10 am, Malte Starostik wrote:
> > > > http://lists.kde.org/?l=kde-devel&m=101225826622056&w=2
> > > >
> > > >  Can't we put this in some FAQ?
> > >
> > > IMHO this is really very evil.
> > > Wouldn't it be cleaner - and producing less surprises - to always load
> > > plugins with RTLD_GLOBAL and have a policy that every KDE plugin MUST
> > > (as in RFCs :) put symbols it defines into an own namespace?
> >
> > No, since there is no way that we could enforce such policy it i unlikely
> > to be followed and will result in crashes that are much harder to track
> > down.
>
>  Thinking about it, wouldn't it be still better, at least in the long run,
> to use RTLD_GLOBAL. 

BTW, Qt doesn't use it for plugins, IIRC.

-Maksim-who-doesn't-want-to-look-at-QCom-source-again.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic