public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ghc9.10] f44: add ppc64le arch patch for rts.cabal
@ 2026-06-09 7:14 Jens Petersen
0 siblings, 0 replies; only message in thread
From: Jens Petersen @ 2026-06-09 7:14 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ghc9.10
Branch : f44
Commit : 716489bf3a3549fb2ce9ebe8918226fa48a4ba75
Author : Jens Petersen <petersen@redhat.com>
Date : 2026-02-17T14:34:51+08:00
Stats : +27/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ghc9.10/c/716489bf3a3549fb2ce9ebe8918226fa48a4ba75?branch=f44
Log:
add ppc64le arch patch for rts.cabal
---
diff --git a/ghc-9.10-rts.cabal-ppc64le.patch b/ghc-9.10-rts.cabal-ppc64le.patch
new file mode 100644
index 0000000..d81f8d2
--- /dev/null
+++ b/ghc-9.10-rts.cabal-ppc64le.patch
@@ -0,0 +1,19 @@
+--- ghc-9.10.3/rts/rts.cabal~ 2025-09-11 00:02:37.000000000 +0800
++++ ghc-9.10.3/rts/rts.cabal 2026-02-03 01:52:56.432806708 +0800
+@@ -362,14 +362,14 @@
+ else
+ asm-sources: adjustor/NativeAmd64Asm.S
+ c-sources: adjustor/NativeAmd64.c
+- if arch(ppc) || arch(ppc64)
++ if arch(ppc) || arch(ppc64) || arch(ppc64le)
+ asm-sources: AdjustorAsm.S
+ c-sources: adjustor/NativePowerPC.c
+ if arch(ia64)
+ c-sources: adjustor/NativeIA64.c
+
+ -- Use assembler STG entrypoint on architectures where it is used
+- if arch(ppc) || arch(ppc64) || arch(s390x) || arch(riscv64) || arch(loongarch64)
++ if arch(ppc) || arch(ppc64) || arch(ppc64le) || arch(s390x) || arch(riscv64) || arch(loongarch64)
+ asm-sources: StgCRunAsm.S
+
+ c-sources: Adjustor.c
diff --git a/ghc9.10.spec b/ghc9.10.spec
index 529c2e3..90e3382 100644
--- a/ghc9.10.spec
+++ b/ghc9.10.spec
@@ -108,6 +108,11 @@ Patch27: haddock-remove-googleapis-fonts.patch
# riscv64
Patch40: https://src.opensuse.org/pool/ghc/raw/branch/factory/riscv64-ncg.patch
+# ppc64le
+# https://bugzilla.redhat.com/show_bug.cgi?id=2435862
+# https://gitlab.haskell.org/ghc/ghc/-/issues/26870
+Patch45: ghc-9.10-rts.cabal-ppc64le.patch
+
# https://gitlab.haskell.org/ghc/ghc/-/wikis/platforms
# fedora ghc has been bootstrapped on
@@ -443,6 +448,9 @@ rm libffi-tarballs/libffi-*.tar.gz
%patch -P40 -p1 -b .orig
%endif
+# ppc
+%patch -P45 -p1 -b .orig45
+
# can switch to https://github.com/haskell/directory/pull/184 for 9.10.4
rm libraries/directory/directory.buildinfo
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-09 7:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 7:14 [rpms/ghc9.10] f44: add ppc64le arch patch for rts.cabal Jens Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox