[Git][haskell-team/DHG_packages][experimental] ghc: update buildpath-abi-stability.patch for FastString

Clint Adams (@clint) gitlab at salsa.debian.org
Sun Sep 14 15:05:57 BST 2025



Clint Adams pushed to branch experimental at Debian Haskell Group / DHG_packages


Commits:
9c288629 by Clint Adams at 2025-09-14T10:04:17-04:00
ghc: update buildpath-abi-stability.patch for FastString

- - - - -


5 changed files:

- p/ghc/debian/changelog
- p/ghc/debian/patches/alpha-fix-ieee_set_fp_control-invocation.patch
- p/ghc/debian/patches/buildpath-abi-stability.patch
- p/ghc/debian/patches/series
- p/ghc/debian/rules


Changes:

=====================================
p/ghc/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+ghc (9.8.4-0~0exp2) experimental; urgency=medium
+
+  * Fix buildpath-abi-stability.patch for GHC 9.8 API.
+
+ -- Clint Adams <clint at debian.org>  Sun, 14 Sep 2025 10:03:38 -0400
+
 ghc (9.8.4-0~0exp1) experimental; urgency=medium
 
   * New upstream release.


=====================================
p/ghc/debian/patches/alpha-fix-ieee_set_fp_control-invocation.patch
=====================================
@@ -21,11 +21,9 @@ rts/posix/Signals.c:709:5: error:
  rts/posix/Signals.c | 6 +++++-
  1 file changed, 5 insertions(+), 1 deletion(-)
 
-diff --git a/rts/posix/Signals.c b/rts/posix/Signals.c
-index b6bfe77f35..7c788b82b2 100644
 --- a/rts/posix/Signals.c
 +++ b/rts/posix/Signals.c
-@@ -27,7 +27,7 @@
+@@ -21,7 +21,7 @@
  
  #if defined(alpha_HOST_ARCH)
  # if defined(linux_HOST_OS)
@@ -34,7 +32,7 @@ index b6bfe77f35..7c788b82b2 100644
  # else
  #  include <machine/fpu.h>
  # endif
-@@ -721,7 +721,11 @@ initDefaultHandlers(void)
+@@ -715,7 +715,11 @@ initDefaultHandlers(void)
  #endif
  
  #if defined(alpha_HOST_ARCH)
@@ -46,6 +44,3 @@ index b6bfe77f35..7c788b82b2 100644
  #endif
  
      // ignore SIGPIPE; see #1619
--- 
-2.39.5
-


=====================================
p/ghc/debian/patches/buildpath-abi-stability.patch
=====================================
@@ -1,7 +1,5 @@
 Forwarded to https://ghc.haskell.org/trac/ghc/ticket/10424
 
-Index: b/compiler/GHC/Iface/Recomp.hs
-===================================================================
 --- a/compiler/GHC/Iface/Recomp.hs
 +++ b/compiler/GHC/Iface/Recomp.hs
 @@ -1260,7 +1260,7 @@ addFingerprints hsc_env iface0
@@ -18,7 +16,7 @@ Index: b/compiler/GHC/Iface/Recomp.hs
      (non_orph_fis,   orph_fis)   = mkOrphMap ifFamInstOrph (mi_fam_insts iface0)
      ann_fn = mkIfaceAnnCache (mi_anns iface0)
 +    -- Do not allow filenames to affect the interface
-+    usages = [ case u of UsageFile _ fp fl -> UsageFile "" fp fl; _ -> u | u <- mi_usages iface0 ]
++    usages = [ case u of UsageFile _ fp fl -> UsageFile (mkFastStringByteList []) fp fl; _ -> u | u <- mi_usages iface0 ]
  
  -- | Retrieve the orphan hashes 'mi_orphan_hash' for a list of modules
  -- (in particular, the orphan modules which are transitively imported by the


=====================================
p/ghc/debian/patches/series
=====================================
@@ -1,6 +1,6 @@
 ARM-VFPv3D16
 no-missing-haddock-file-warning
-#buildpath-abi-stability.patch
+buildpath-abi-stability.patch
 x32-use-native-x86_64-insn.patch
 kfreebsd-aclocal.m4
 local-mathjax


=====================================
p/ghc/debian/rules
=====================================
@@ -126,8 +126,8 @@ EXTRA_CONFIGURE_FLAGS += --with-system-libffi
 # If we don't set these, then the default value (llc / opt) will not work
 # on architectures where the default llc/opt version is different than
 # one of the supported versions.
-EXTRA_CONFIGURE_FLAGS += LLC=llc-18 OPT=opt-18
-EXTRA_INSTALL_CONFIGURE_FLAGS += LLC=llc-18 OPT=opt-18
+EXTRA_CONFIGURE_FLAGS += LLC=llc-19 OPT=opt-19
+EXTRA_INSTALL_CONFIGURE_FLAGS += LLC=llc-19 OPT=opt-19
 
 
 %:



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

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/9c288629abc65f4cd8b2fc912f5105b49f204e99
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/20250914/e661f504/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list