[2.26 Regression] binutils assertion fail ../../bfd/elfnn-aarch64.c:4631

Bug #1511542 reported by Matthias Klose
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Marco Trevisan (Treviño)
binutils
Unknown
Unknown
binutils (Ubuntu)
Fix Released
High
Unassigned
unity (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)
webkit2gtk (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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.

$ (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.
0x0000007fb7ed9524 in tpoff_base (info=0x550460 <link_info>) at ../../bfd/elfnn-aarch64.c:4633
4633 bfd_vma base = align_power ((bfd_vma) TCB_SIZE,
(gdb) bt
#0 0x0000007fb7ed9524 in tpoff_base (info=0x550460 <link_info>) at ../../bfd/elfnn-aarch64.c:4633
#1 0x0000007fb7edcd80 in elf64_aarch64_relocate_section (output_bfd=0x56b440, info=0x550460 <link_info>, input_bfd=0xffb29b0, input_section=0xffc3d98,
    contents=0x1f18c2a0 "\341\003", relocs=0xffdfef0, local_syms=0x1ed7b780, local_sections=0x1fd54230) at ../../bfd/elfnn-aarch64.c:6203
#2 0x0000007fb7f19240 in elf_link_input_bfd (flinfo=0x7fffffd640, input_bfd=0xffb29b0) at ../../bfd/elflink.c:10166
#3 0x0000007fb7f1bb58 in bfd_elf_final_link (abfd=0x56b440, info=0x550460 <link_info>) at ../../bfd/elflink.c:11359
#4 0x0000000000427378 in ldwrite () at ../../ld/ldwrite.c:581
#5 0x0000000000423eac in main (argc=274, argv=0x7fffffd8c8) at ../../ld/ldmain.c:430

Related branches

Revision history for this message
Matthias Klose (doko) wrote :

please work around it by not building the tests on arm64.

Changed in unity (Ubuntu):
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in unity:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
importance: Undecided → High
status: New → Confirmed
Changed in unity:
status: Confirmed → In Progress
Changed in unity (Ubuntu):
status: Confirmed → In Progress
Changed in unity:
milestone: none → 7.3.4
milestone: 7.3.4 → 7.4.0
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package binutils - 2.25.51.20151106-0ubuntu1

---------------
binutils (2.25.51.20151106-0ubuntu1) xenial; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.
    - Build binutils-static and binutils-static-udeb packages.
    - Don't build cross binutils packages for Debian ports architectures.

binutils (2.25.51.20151106-1) experimental; urgency=medium

  * Snapshot, taken from the trunk 20151106.
  * Work around PR ld/19188, internal linker error. LP: #1511542.

 -- Matthias Klose <email address hidden> Fri, 06 Nov 2015 18:55:14 +0100

Changed in binutils (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

webkit2gtk built.

Changed in webkit2gtk (Ubuntu):
status: New → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

setting the unity tasks to NEW again, please reenable running the tests. the binutils issue is currently worked around.

Changed in unity (Ubuntu):
status: In Progress → New
Changed in unity:
status: In Progress → New
Changed in unity:
status: New → Fix Committed
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Opening new bug for unity. lp:1514538

Changed in unity (Ubuntu):
status: New → Fix Released
tags: added: unity-backlog
Changed in unity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.