public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jens Petersen <petersen@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ghc9.10] f44: add ppc64le arch patch for rts.cabal
Date: Tue, 09 Jun 2026 07:14:23 GMT [thread overview]
Message-ID: <178098926385.1.2952177700621405598.rpms-ghc9.10-716489bf3a35@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-09 7:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178098926385.1.2952177700621405598.rpms-ghc9.10-716489bf3a35@fedoraproject.org \
--to=petersen@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox