Re: [linux-audio-dev] LADSPA Update (http://www.ladspa.org)

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

Subject: Re: [linux-audio-dev] LADSPA Update (http://www.ladspa.org)
From: Paul Barton-Davis (pbd_AT_Op.Net)
Date: Fri May 19 2000 - 02:26:18 EEST


>> there's a deeper problem here too. the dynamic linker under linux will
>> not "chain link" - if an *explicitly* dynamically loaded (i.e. dlopen)
>> module requires C++ libs, but they are not loaded, my impression is
>> that the link will fail.
>
>
>this isn't true.

well, thats good to know. i guess i could have written a test just
like you did, but was pressed for time :) its why i put in the "my
impression is", just to try to cover my ass ...

>it is also not true that you can avoid libstdc++
>or whatever by "not using the library". it's
>hard (but doable i guess) to avoid builtin_new, builtin_delete,
>since the latter is automatically added to all destructor.

a posting on linux-kernel a couple of weeks ago revealed just how easy
it is. the answer is "very easy". someone wanted to load a C++ module
into the kernel, which results in the same set of problems and
absolutely no chance of loading libstdc++ :)

>no change is required. someone must've though of this.

well, i knew it worked if you used ld -shared, i just wasn't that the
semantics of dlopen were the same.

--p


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

This archive was generated by hypermail 2b28 : Fri May 19 2000 - 05:14:41 EEST