This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
ELF linking question related to symbol collisions
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-help <libc-help at sourceware dot org>
- Date: Wed, 20 Nov 2013 14:22:51 +0100
- Subject: ELF linking question related to symbol collisions
- Authentication-results: sourceware.org; auth=none
I've got a program which links (indirectly) to two DSOs which define the
same function. Is it guaranteed that ld.so resolves a symbol reference
to the topologically closest definition (from its own dependency graph),
or will ld.so pick a definition more or less at random?
--
Florian Weimer / Red Hat Product Security Team