rtld_next broke?

Florian Fainelli florian at openwrt.org
Tue Jan 8 09:10:33 UTC 2013


Le 11/02/12 07:52, Timo Teras a écrit :
> On Thu, 1 Nov 2012 21:13:32 +0200 Timo Teras <timo.teras at iki.fi> wrote:
>> I noticed that dlsym(RTLD_NEXT) seems to be broken under certain
>> conditions. I also noticed that Floarian observed this earlier too
>> [1], but no solution seems to have been provided.
>>
>> It appears this is related closely to the linking order of the final
>> executable.
>> [snip]
>>
>> Appears that we need to add some sort of for loop iterating through
>> all the following modules.
>>
>> Will try to patch tomorrow. Or does someone have a better solution for
>> this?
>
> I'm now playing with the following patch. Fixes my trivial test case.

Timo, can you submit a proper patch for this?
--
Florian


More information about the uClibc mailing list