From kde-core-devel Fri Apr 19 22:44:11 2002 From: Maks Orlovich Date: Fri, 19 Apr 2002 22:44:11 +0000 To: kde-core-devel Subject: Re: RTLD_GLOBAL again (was Re: kdeutils/kregexpeditor/test) X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101925651427814 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.