[Bug 246462] rtld/dlopen incorrect resolution of symbols [RTLD_DEEPBIND]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 14 18:27:36 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246462

--- Comment #4 from Konstantin Belousov <kib at FreeBSD.org> ---
Show the minimal example that worked and then stopped.

Generally, what you describe as the bug is an expected behavior: symbols are
resolved using the global order of the loaded dso.  If some object wants
a priority for its own symbols, it should specify -Bsymbolic during linking.
Usually it is the object that determines its own correct mode, which means that
it is strange to tune the resulution mode by a dlopen flag.

Is there a description of the RTLD_DEEPBIND semantic ?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list