Bug#1056636: ghc: Please restore --disable-ld-override after build system switch

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Fri Nov 24 08:34:38 GMT 2023


Source: ghc
Version: 9.4.7-1
Severity: normal
User: debian-sparc at lists.debian.org
Usertags: sparc64
X-Debbugs-Cc: debian-sparc at lists.debian.org

Hello!

After the build system was switched from GNU Make to Hadrian, the configure
option --disable-ld-override was lost in the process but is still required
for previously affected architectures powerpc, powerpcspe and sparc64.

This became evident after building GHC on sparc64 and ld.gold segfaulted in
the final stage when linking more than 600 object files which does not seem
to be 100% on sparc64 (and 32-bit PowerPC). I will file a separate upstream
bug report for binutils regarding that issue.

I have not figured out yet what the proper option would be but looking at [1],
it would be something like *.*.ghc.link.opts+=bla. I have already asked on the
#ghc IRC channel for advise and will report back once I know more.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Pkg-haskell-maintainers mailing list