Bug#904915: ghc: Please build with --disable-ld-override on powerpcspe

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sun Jul 29 14:40:29 BST 2018


Source: ghc
Version: 8.2.2-4
Severity: normal
Tags: patch
User: debian-powerpc at lists.debian.org
Usertags: powerpcspe

Hi!

Using Gold as the default linker for GHC currently causes issues with
some packages on powerpcspe. This issue can be worked around with by
switching to the default GNU BFD linker using the --disable-ld-override
configure option.

Can you please this patch to address this issue:

--- debian/rules.orig   2018-06-25 18:23:40.000000000 +0200
+++ debian/rules        2018-07-29 15:37:59.345940106 +0200
@@ -47,7 +47,7 @@
 # https://bugs.debian.org/901947
 # NOTE: This should probably be removed, and revert back to using ld.gold,
 # once #901947 has been fixed.
-ifneq (,$(filter mips mipsel, $(DEB_HOST_ARCH)))
+ifneq (,$(filter mips mipsel powerpcspe, $(DEB_HOST_ARCH)))
   EXTRA_CONFIGURE_FLAGS += --disable-ld-override
 endif

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
-------------- next part --------------
--- debian/rules.orig   2018-06-25 18:23:40.000000000 +0200
+++ debian/rules        2018-07-29 15:37:59.345940106 +0200
@@ -47,7 +47,7 @@
 # https://bugs.debian.org/901947
 # NOTE: This should probably be removed, and revert back to using ld.gold,
 # once #901947 has been fixed.
-ifneq (,$(filter mips mipsel, $(DEB_HOST_ARCH)))
+ifneq (,$(filter mips mipsel powerpcspe, $(DEB_HOST_ARCH)))
   EXTRA_CONFIGURE_FLAGS += --disable-ld-override
 endif



More information about the Pkg-haskell-maintainers mailing list