The "gold" linker in the weekly build 2.19.51 does not resolve unresolved
symbols using indirect dependent shared libraries, while the default linker does
do so.

I found this on x86_64 Linux RHEL 4 U6. The default linker I have is GNU ld
version 2.15.92.0.2 20040927.

If you have an object file "top.o" that depends on a symbol exported by some
library, the default linker can resolve that undefined symbol even if you don't
mention the library on the link line, as long as you mention some library that
depends on the needed library. But the gold linker won't resolve that way and
reports an undefined symbol for the same command line.

-- 
           Summary: Gold linker does not resolve symbols using indirect
                    dependencies
           Product: binutils
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: ian at airs dot com
        ReportedBy: apratt at us dot ibm dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: 2.19.51


http://sourceware.org/bugzilla/show_bug.cgi?id=10238

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