bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/21868] New: [2.29/2.30 Regression] ICE in fix_errata_and_relo


From: doko at debian dot org
Subject: [Bug gold/21868] New: [2.29/2.30 Regression] ICE in fix_errata_and_relocate_erratum_stubs, at ../../gold/aarch64.cc:1999
Date: Mon, 31 Jul 2017 07:32:47 +0000

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

            Bug ID: 21868
           Summary: [2.29/2.30 Regression] ICE  in
                    fix_errata_and_relocate_erratum_stubs, at
                    ../../gold/aarch64.cc:1999
           Product: binutils
           Version: 2.29
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: doko at debian dot org
                CC: ian at airs dot com
  Target Milestone: ---

Created attachment 10294
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10294&action=edit
test case for aarch64

[forwarded from https://bugs.debian.org/869768]

gold is used as the default linker by Haskell upstream. 2.29 exposes build
failures on aarch64-linux-gnu.  The GCC 6.4 used to build is configured with
--enable-fix-cortex-a53-843419.

[12 of 12] Compiling Data.ASN1.BinaryEncoding ( Data/ASN1/BinaryEncoding.hs,
dist-ghc/build/Data/ASN1/BinaryEncoding.p_o )
/usr/bin/ld.gold: internal error in fix_errata_and_relocate_erratum_stubs, at
../../gold/aarch64.cc:1999
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
/usr/share/cdbs/1/class/hlibrary.mk:147: recipe for target 'build-ghc-stamp'
failed
make: *** [build-ghc-stamp] Error 1


This can be reproduced with the attached files:
$ ld.gold --build-id --hash-style=gnu -shared -X -EL -maarch64linux
--fix-cortex-a53-843419 -o libtest.so crtbeginS.o -h libtest.so Internal.dyn_o
crtendS.o crtn.o
ld.gold: internal error in fix_errata_and_relocate_erratum_stubs, at
../../gold/aarch64.cc:1999

-- 
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]