Alan Coopersmith wrote:

> So I tried an Xorg build using "parent" instead of "extern" - and while it
> built, at runtime it couldn't find a number of symbols in dlopen()ed 
> modules with direct bindings to parent .....
> ...
> Any idea what I've done wrong here?

Nothing at all, you just continue to be top of the "I've found another
bug in the runtime linker" pile :-)

Seems we have parent<->caller relationships maintained for all
dependencies, and a special relationship is fabricated for things
like dlopen(RTLD_PARENT), but there's insufficient state being
maintained to associate an individual "parent" direct binding to
the dlopen() caller.  Sigh.

I'll file a bug and keep you informed.

Bottom line, for an object that is dlopen()'ed you'll have to
keep external references as "extern" in their mapfiles until
I fix this bug.

-- 

Rod.

Reply via email to