[PATCH] Prefer locally defined symbols in modules
mark.kettenis at xs4all.nl
Tue Sep 8 10:41:35 PDT 2009
> Date: Tue, 08 Sep 2009 09:03:30 -0700
> From: Alan Coopersmith <Alan.Coopersmith at Sun.COM>
> I don't see RTLD_DEEPBIND on Solaris, so we'd need some #ifdef's there -
> the closest match I seen in our dlopen() man page would be to turn off
> DLOPEN_GLOBAL and use _LOCAL instead, though using the direct binding
> option to the linker when building the .so's would help.
For what it is worth, OpenBSD doesn't have RTLD_DEEPBIND either.
And I think adding #ifdef's would be a mistake. That way symbol
conflicts won't show up on the platform used by most developers, which
increases the chance that people accidentally introduce new conflicts.
More information about the xorg-devel