[Git][haskell-team/DHG_packages][experimental] ghc: Use gold on arm{el,hf}

Ilias Tsitsimpis (@iliastsi) gitlab at salsa.debian.org
Tue Aug 27 16:27:41 BST 2024



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


Commits:
9e34e22e by Ilias Tsitsimpis at 2024-08-26T19:53:58+03:00
ghc: Use gold on arm{el,hf}

- - - - -


2 changed files:

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


Changes:

=====================================
p/ghc/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+ghc (9.6.6-1~exp5) experimental; urgency=medium
+
+  * Use gold on arm{el,hf}
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Mon, 26 Aug 2024 17:37:05 +0300
+
 ghc (9.6.6-1~exp4) experimental; urgency=medium
 
   * Bump hadrian dependency


=====================================
p/ghc/debian/rules
=====================================
@@ -62,6 +62,14 @@ endif
 EXTRA_CONFIGURE_FLAGS += --disable-ld-override
 EXTRA_INSTALL_CONFIGURE_FLAGS += --disable-ld-override
 
+# BFD doesn't work on arm{el,hf}
+# See https://gitlab.haskell.org/ghc/ghc/-/blob/3a18c0fa2edcd61b0c3b470661791b09501c4c2b/m4/check_ld_copy_bug.m4
+# and https://sourceware.org/bugzilla/show_bug.cgi?id=16177
+ifneq (,$(filter armel armhf, $(DEB_HOST_ARCH)))
+  EXTRA_CONFIGURE_FLAGS += --enable-ld-override
+  EXTRA_INSTALL_CONFIGURE_FLAGS += --enable-ld-override
+endif
+
 # From GHC 8.10 and later, native code generator support for legacy x87
 # floating point coprocessor has been removed. GHC now only support floating
 # point via SSE2. This causes a baseline violation on Debian for i386 where



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

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/9e34e22e4c733f7de4b13c78226a6764b6f42712
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/20240827/4b8acf1f/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list