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

List:       kde-core-devel
Subject:    Re: kdelibs/libltdl brokenness..
From:       Dominique Devriese <dominique.devriese () student ! kuleuven ! ac ! be>
Date:       2003-07-21 21:31:50
[Download RAW message or body]

Waldo Bastian writes:

> On Monday 21 July 2003 22:54, Dominique Devriese wrote:
>> Hi,
>>
>> this mail is quite long, skip to "EXECUTIVE SUMMARY + CONCLUSION"
>> below, if you're not interested in the details ;)

> See KLibLoader::globalLibrary

Great, that fixes it :)
Damn, if I had known it was that simple :( 
thanks a lot :)

> It's potentially a bad idea to load parts/plugins with RTLD_GLOBAL
> because symbols of two different parts/plugins can clash.

Ack.  

However, I think this also means that problems should be expected
after the libltdl upgrade, because the new version ( well, at least
the one on my system ( the one coming with libtool 1.4.3 ) ) has
RTLD_GLOBAL on by default, and the docs even mention it that way.

Maybe a similar trick as in globalLibrary() ( changing lt_dlopen_flag
) can be used in KLibLoader::library() to prevent the new behaviour..

cheers
domi
[prev in list] [next in list] [prev in thread] [next in thread] 

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