Package: binutils
Version: 2.29-1
Severity: important

binutils 2.29-1 causes many haskell packages to FTBFS, example:

https://tests.reproducible-builds.org/debian/unstable/arm64/haskell-asn1-encoding

...
[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
$ 

Attachment: gold-haskell-aarch64.tar.xz
Description: application/xz

Reply via email to