Bug#870629: haskell-skylighting: FTBFS on arm64: /usr/bin/ld.gold: internal error in fix_errata_and_relocate_erratum_stubs

Apollon Oikonomopoulos apoikos at debian.org
Thu Aug 3 15:30:22 UTC 2017


Source: haskell-skylighting
Severity: important
Version: 0.3.3.1-1

Dear Maintainer,

skylighting does not build on arm64, due to a linker error[1]:

[132 of 132] Compiling Skylighting      ( src/Skylighting.hs, dist-ghc/build/Skylighting.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

This is likely due to #830540; The workaround according to #830540 is to use
ld.bfd for linking. I'm filing this as a separate bug, since it currently
prevents pandoc from building on arm64 and there is a workaround that can be applied (hopefully).

Regards,
Apollon

[1] https://buildd.debian.org/status/fetch.php?pkg=haskell-skylighting&arch=arm64&ver=0.3.3.1-1&stamp=1501595078&raw=0



More information about the Pkg-haskell-maintainers mailing list