https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69408

--- Comment #12 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 37478
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37478&action=edit
libgcov.a

At the end of the day, it looks like a ld.bfd bug.

Starting program: /usr/bin/ld.bfd --eh-frame-hdr -m elf_x86_64 -dynamic-linker
/lib64/ld-linux-x86-64.so.2 -r 20100430-1_0.o libgcov.a

Program received signal SIGSEGV, Segmentation fault.
objalloc_free (o=0x0) at ./objalloc.c:181
181       l = (struct objalloc_chunk *) o->chunks;
(gdb) bt
#0  objalloc_free (o=0x0) at ./objalloc.c:181
#1  0x00007ffff7b0129d in bfd_hash_table_free (table=table@entry=0x555555831be0
<lang_definedness_table>) at hash.c:426
#2  0x0000555555572559 in lang_finish () at ldlang.c:1274
#3  cmdline_emit_object_only_section () at ldlang.c:9004
#4  0x000055555555f583 in main (argc=9, argv=0x7fffffffdc58) at ./ldmain.c:487

Reply via email to