bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/9827] New: -q option cause assertion fail


From: jzhang918 at gmail dot com
Subject: [Bug ld/9827] New: -q option cause assertion fail
Date: 9 Feb 2009 03:40:22 -0000

$ cat t.c
int main () {return 0;}

$ gcc -c t.c
$ ld --eh-frame-hdr -m elf_x86_64 --hash-style=both -dynamic-linker
/lib64/ld-linux-x86-64.so.2 -o t
/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib/crt1.o
/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib/crti.o
/usr/lib/gcc/x86_64-linux-gnu/4.3.3/crtbegin.o
-L/usr/lib/gcc/x86_64-linux-gnu/4.3.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.3.3
-L/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib -L/lib/../lib
-L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../.. /tmp/t.o -q
-lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s
--no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.3.3/crtend.o
/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib/crtn.o
/home/jie/installs/x86_64/bin/ld: BFD (GNU Binutils) 2.19.51.20090209 assertion
fail ../../src/bfd/elflink.c:10232

The failed assertion is

              BFD_ASSERT (entsize1 == bed->s->sizeof_rel
                          || entsize1 == bed->s->sizeof_rela);

-- 
           Summary: -q option cause assertion fail
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: jzhang918 at gmail dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]