[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/10238] Gold linker does not resolve symbols using indirect dep

From: ian at airs dot com
Subject: [Bug gold/10238] Gold linker does not resolve symbols using indirect dependencies
Date: 12 Oct 2009 20:02:25 -0000

------- Additional Comments From ian at airs dot com  2009-10-12 20:02 -------
To be clear, gold does not require that you enumerate all indirect dependencies
of shared libraries.  gold will not complain if a shared library refers to a
function defined in some dependency of that shared library.

What gold requires is that you enumerate all direct dependencies of the program
itself.  If your program calls foo(), then you must explicitly link against some
library which defines foo().  The GNU linker permits foo() to be defined
indirectly, by a dependency of some shared library which you do explicitly link
against.  gold does not search those indirect dependencies for symbol 



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]