Linker script (test.ld):
---
VERSION {
    T1 {};
    T2 {} T_1;
}
---

Commandline:
---
gcc -shared -o test-ld test.ld
---

Output:
---
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
unable to find version dependency `T_1'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
BFD (GNU Binutils) 2.20.1.20100303 assertion fail /var/tmp/portage/sys-
devel/binutils-2.20.1-r1/work/binutils-2.20.1/bfd/elf-strtab.c:189
---

-- 
           Summary: "unable to find version dependency" results in failed
                    assertion and segfault
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: devurandom at gmx dot net
                CC: bug-binutils at gnu dot org


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

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