------- 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.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to