[Bug ld/18076] New: mips: segfault in _bfd_elf_gc_mark_rsec

2015-03-03 Thread james410 at cowgill dot org.uk
https://sourceware.org/bugzilla/show_bug.cgi?id=18076

Bug ID: 18076
   Summary: mips: segfault in _bfd_elf_gc_mark_rsec
   Product: binutils
   Version: 2.25
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: james410 at cowgill dot org.uk

Created attachment 8162
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8162&action=edit
lj_vm.s

In Debian, compiling trafficserver 5.2.0 causes ld to segfault in
_bfd_elf_gc_mark_rsec.

Debian log:
https://buildd.debian.org/status/fetch.php?pkg=trafficserver&arch=mipsel&ver=5.2.0-3&stamp=1425296797
 

I managed to reduce this down to one assembly file (attached) which causes ld
to segfault in the same place when run like this:
> as -o lj_vm.o lj_vm.s
> ld -L/usr/lib/mipsel-linux-gnu -v lj_vm.o -lc

(Replace the -L directory with wherever libc.so is located)

Affects at least 2.25 and latest HEAD.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/18076] mips: segfault in _bfd_elf_gc_mark_rsec

2015-03-03 Thread james410 at cowgill dot org.uk
https://sourceware.org/bugzilla/show_bug.cgi?id=18076

--- Comment #1 from James Cowgill  ---
Created attachment 8163
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8163&action=edit
backtrace

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils