[2.27 Regression] gold internal error in fix_errata on aarch64-linux-gnu

Bug #1638902 reported by Matthias Klose
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
binutils
Fix Released
Medium
binutils (Ubuntu)
Fix Released
High
Unassigned

Bug Description

seen with binutils from the 2.27 branch:

$ sh link.sh
ld.gold: internal error in fix_errata, at ../../gold/aarch64.cc:1960

This works with the BFD linker, or when dropping the --fix-cortex-a53-843419 option.

The test cases comes from the build of the gitit package on Ubuntu 16.10,
see https://launchpad.net/ubuntu/+source/gitit/0.12.1.1+dfsg-2build7

The package built successfully with binutils 2.26.1

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

Matthias Klose (doko)
Changed in binutils (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Changed in binutils:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

ok, now also ghc fails on arm64 for the same issue

Changed in binutils (Ubuntu):
importance: Medium → High
Changed in binutils:
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package binutils - 2.29.1-10ubuntu1

---------------
binutils (2.29.1-10ubuntu1) bionic; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

binutils (2.29.1-10) unstable; urgency=medium

  * Update, taken from the 2.29 branch 20171201.
    - Fix PR gold/22233, segfault in relocate_erratum_stub on aarch64.
    - Update local fix for PR gold/20765, internal error in fix_errata on
      aarch64 (Peter Smith). LP: #1638902.
  * binutils-source: Depend on python3 instead of python.
  * Override m68k, powerpcspe and m68k buildd admins to run the testsuite.

 -- Matthias Klose <email address hidden> Fri, 01 Dec 2017 02:49:13 +0100

Changed in binutils (Ubuntu):
status: Confirmed → 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.