RTLD_GLOBAL again (was Re: kdeutils/kregexpeditor/test)
Maks Orlovich
mo002j at mail.rochester.edu
Fri Apr 19 23:44:11 BST 2002
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.
More information about the kde-core-devel
mailing list