I'm getting the following assertation on ARM (old ABI) with ld (both
2.18 and HEAD):
461:[EMAIL PROTECTED]: ~] /usr/bin/ld -lc
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.18.20071027 assertion fail
../../bfd/elf32-arm.c:3123
/usr/bin/ld: BFD (GNU Binutils for Debian) 2.18.20071027 assertion fail
../../bfd/elf32-arm.c:3123
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 00008100
462:[EMAIL PROTECTED]: ~] ld /lib/libm.so.6
ld: BFD (GNU Binutils for Debian) 2.18.20071027 assertion fail
../../bfd/elf32-arm.c:3123
ld: warning: cannot find entry symbol _start; defaulting to 00008100

You can reproduce this with the attached file:

(sid)1894:[EMAIL PROTECTED]: ~/src/binutils/ld] ./ld-new ~/libm-2.6.1.so
./ld-new: warning: libc.so.6, needed by /home/tbm/libm-2.6.1.so, not found (try
using -rpath or -rpath-link)
./ld-new: BFD (GNU Binutils) 2.18.50.20071124 assertion fail elf32-arm.c:3125
./ld-new: warning: cannot find entry symbol _start; defaulting to 
0000000000008100
/home/tbm/libm-2.6.1.so: undefined reference to [EMAIL PROTECTED]'
...

-- 
           Summary: ld: assertion fail elf32-arm.c:3125
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: tbm at cyrius dot com
                CC: bug-binutils at gnu dot org


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

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