With binutils 2.16.1, lots of packages fail with wierd linker errors like some
library required by another library not found and then it dies with 'undefined
references'. All this happens because scripts in ldscripts/ only have
/usr/i386-sun-solaris2.11/lib in the SEARCH_DIR. ld doesn't see libraries lying
in /lib and /usr/lib. Changing these scripts to include /lib and /usr/lib solves
these problems. I couldn't figure out why -L/lib -L/usr/lib was not honoured(in
hindsight I think may be I needed to use -R/lib -R/usr/lib).

can you please include these paths by default in the SEARCH_DIR?

-- 
           Summary: Many packages fail to compile with binutils 2.16.1
                    because of ldscripts screwup
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: critical
          Priority: P1
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: funtoos at yahoo dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: i386-sun-solaris2.11
  GCC host triplet: i386-sun-solaris2.11
GCC target triplet: i386-sun-solaris2.11


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1040

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