[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils-bugs
Subject:    [Bug ld/5943] New: Linker crash on undefined symbols
From:       "hjl dot tools at gmail dot com" <sourceware-bugzilla () sourceware ! org>
Date:       2008-03-15 17:57:57
Message-ID: 20080315175754.5943.hjl.tools () gmail ! com
[Download RAW message or body]

On Linux/Intel64, "make check" in ld leads to linker on undefined symbols:

gcc -B/export/build/gnu/binutils/build-x86_64-linux/ld/tmpdir/ld/
-L/usr/local/x86_64-unknown-linux-gnu/lib64 -L/usr/local/lib64 -L/lib64
-L/usr/lib64 -L/usr/local/x86_64-unknown-linux-gnu/lib -L/usr/local/lib -L/lib
-L/usr/lib  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
Executing on host: sh -c {gcc
-B/export/build/gnu/binutils/build-x86_64-linux/ld/tmpdir/ld/
-L/usr/local/x86_64-unknown-linux-gnu/lib64 -L/usr/local/lib64 -L/lib64
-L/usr/lib64 -L/usr/local/x86_64-unknown-linux-gnu/lib -L/usr/local/lib -L/lib
-L/usr/lib  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o 2>&1} 
/dev/null ld.tmp (timeout = 300)
collect2: ld terminated with signal 11 [Segmentation fault]

Program received signal SIGSEGV, Segmentation fault.
0x000000000043c2e9 in elf64_x86_64_finish_dynamic_symbol (output_bfd=0x74c310, 
    info=0x7375a0, h=0x74ec00, sym=0x7fff77001d10)
    at /export/linux/src/binutils/binutils/bfd/elf64-x86-64.c:3368
3368              rela.r_addend = (h->root.u.def.value

-- 
           Summary: Linker crash on undefined symbols
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hjl dot tools at gmail dot com
                CC: bug-binutils at gnu dot org


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic