[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/10508] gold doesn't complain about missing symbols in .so file
From: |
ian at airs dot com |
Subject: |
[Bug gold/10508] gold doesn't complain about missing symbols in .so files |
Date: |
12 Aug 2009 10:22:30 -0000 |
------- Additional Comments From ian at airs dot com 2009-08-12 10:22 -------
gold, unlike GNU ld, does not attempt to locate libraries which are referenced
by DT_NEEDED entries (see PR 10238 for some more background). Therefore, when
gold sees a shared library which has DT_NEEDED entries, and the DT_NEEDED
libraries are not also included in the link command, gold does not issue errors
about undefined symbols in that library.
Also, gold does not issue errors about undefined symbols in shared libraries in
the system library directories (/lib and /usr/lib for a native linker).
Libraries in those directories are assumed to be correct. This avoids problems
linking with libraries which appear incomplete, such as -ldl.
So, this behaviour change is intentional.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://sourceware.org/bugzilla/show_bug.cgi?id=10508
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.