bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/19188] New: [2.26 Regression] binutils assertion fail ../../bfd/


From: doko at debian dot org
Subject: [Bug ld/19188] New: [2.26 Regression] binutils assertion fail ../../bfd/elfnn-aarch64.c:4631
Date: Thu, 29 Oct 2015 21:30:24 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19188

            Bug ID: 19188
           Summary: [2.26 Regression] binutils assertion fail
                    ../../bfd/elfnn-aarch64.c:4631
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: doko at debian dot org
  Target Milestone: ---

seen with 2.25.51.20151028 on aarch64-linux-gnu, GCC used is 20151028 from the
gcc-5-branch.  The test case also crashes with ld.gold, filing a separate
issue.

$ (cd tst; sh doit.sh)
ld: BFD (GNU Binutils for Ubuntu) 2.25.51.20151028 assertion fail
../../bfd/elfnn-aarch64.c:4631
Segmentation fault (core dumped)

test case at
http://people.canonical.com/~doko/tmp/tst-binutils-20151028.tar.xz

Program received signal SIGSEGV, Segmentation fault.
tpoff_base (info=0x51c3e8 <link_info>) at ../../bfd/elfnn-aarch64.c:4633
4633      bfd_vma base = align_power ((bfd_vma) TCB_SIZE,
(gdb) bt
#0  tpoff_base (info=0x51c3e8 <link_info>) at ../../bfd/elfnn-aarch64.c:4633
#1  0x0000007fb7f1a144 in elf64_aarch64_relocate_section
(output_bfd=0x7fb7f85fe8, info=0x51c3e8 <link_info>, input_bfd=0x7fffffd400,
input_section=0x7fb7fc94a8 <elf64_bed>, 
    contents=0x4 <error: Cannot access memory at address 0x4>,
relocs=<optimized out>, local_syms=0x537440, local_sections=0x7fb7f032dc
<bfd_bwrite+52>)
    at ../../bfd/elfnn-aarch64.c:6203
#2  0x0000007fb7f3f0d8 in elf_link_input_bfd (address@hidden,
address@hidden) at ../../bfd/elflink.c:10166
#3  0x0000007fb7f4052c in bfd_elf_final_link (abfd=<optimized out>,
info=<optimized out>) at ../../bfd/elflink.c:11359
#4  0x000000000041c470 in ldwrite () at ../../ld/ldwrite.c:581
#5  0x00000000004069dc in main (argc=127, argv=0x112ffffd818) at
../../ld/ldmain.c:430

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



reply via email to

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