[Git][haskell-team/DHG_packages][master] ghc: Use system's default ld (ld.bfd) on mips/mipsel

Ilias Tsitsimpis gitlab at salsa.debian.org
Mon Jun 25 10:34:16 BST 2018


Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
c561057a by Ilias Tsitsimpis at 2018-06-25T12:28:58+03:00
ghc: Use system's default ld (ld.bfd) on mips/mipsel

- - - - -


2 changed files:

- p/ghc/debian/changelog
- p/ghc/debian/rules


Changes:

=====================================
p/ghc/debian/changelog
=====================================
--- a/p/ghc/debian/changelog
+++ b/p/ghc/debian/changelog
@@ -1,9 +1,13 @@
 ghc (8.2.2-4) unstable; urgency=medium
 
+  [ Clint Adams ]
   * Bump to Standards-Version 4.1.4.
   * Set Rules-Requires-Root to no.
 
- -- Clint Adams <clint at debian.org>  Mon, 09 Apr 2018 20:04:40 -0400
+  [ Ilias Tsitsimpis ]
+  * Use system's default ld (ld.bfd) on mips/mipsel, instead of ld.gold
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Mon, 25 Jun 2018 12:24:52 +0300
 
 ghc (8.2.2-3) unstable; urgency=medium
 


=====================================
p/ghc/debian/rules
=====================================
--- a/p/ghc/debian/rules
+++ b/p/ghc/debian/rules
@@ -42,6 +42,15 @@ ifneq (,$(filter powerpcspe x32, $(DEB_HOST_ARCH)))
   EXTRA_CONFIGURE_FLAGS += --enable-unregisterised
 endif
 
+# Use system's default ld (ld.bfd) rather than ld.gold, which fails for
+# haskell-cryptohash-sha256 on mips/mipsel. For more information, see
+# 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)))
+  EXTRA_CONFIGURE_FLAGS += --disable-ld-override
+endif
+
 %:
 	dh $@
 



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/c561057a490dfab6e88bc55dd9b4d1418e3d3954

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/c561057a490dfab6e88bc55dd9b4d1418e3d3954
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20180625/ebe1b1f0/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list