public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-libcramjam] rawhide: Work around ppc64 vectorization bug in LLVM 23
Date: Wed, 04 Nov 2026 07:41:29 GMT [thread overview]
Message-ID: <179377808947.1.12733072273102169739.rpms-rust-libcramjam-20d0366b5df7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-libcramjam
Branch : rawhide
Commit : 20d0366b5df79d1421fb9b8c04299004554c985a
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-04T06:59:58+00:00
Stats : +25/-1 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-libcramjam/c/20d0366b5df79d1421fb9b8c04299004554c985a?branch=rawhide
Log:
Work around ppc64 vectorization bug in LLVM 23
---
diff --git a/libcramjam-fix-metadata.diff b/libcramjam-fix-metadata.diff
index 29ef63a..72cf105 100644
--- a/libcramjam-fix-metadata.diff
+++ b/libcramjam-fix-metadata.diff
@@ -1,5 +1,5 @@
--- libcramjam-0.9.3/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ libcramjam-0.9.3/Cargo.toml 2026-10-03T05:52:13.252721+00:00
++++ libcramjam-0.9.3/Cargo.toml 2026-11-04T06:59:01.978597+00:00
@@ -40,15 +40,6 @@
subdirectory = "cramjam"
diff --git a/rust-libcramjam.spec b/rust-libcramjam.spec
index 407feb5..5e42b2c 100644
--- a/rust-libcramjam.spec
+++ b/rust-libcramjam.spec
@@ -11,6 +11,17 @@
# avoid an incompatible update.
%bcond capi %[ %{undefined epel} && %{undefined fc43} && %{undefined fc44} && %{undefined fc45} ]
+# Workaround for ppc64 vectorization bug in LLVM 23:
+# https://bugzilla.redhat.com/show_bug.cgi?id=2553620
+# This can be removed in F45 after the fix is backported, and in F46+ after the
+# fix is backported and/or LLVM is updated to version 24. Set the conditional
+# for F45/F46 only, expecting that this will be fixed before F46 branching.
+%if %{defined fc45} || %{defined fc46}
+%ifarch ppc64le
+%global build_rustflags %{build_rustflags} -Cno-vectorize-loops
+%endif
+%endif
+
%global crate libcramjam
Name: rust-libcramjam
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 296b46d..94a18af 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,18 @@
[package]
summary = "Compression library combining a plethora of algorithms"
+preamble = """\
+# Workaround for ppc64 vectorization bug in LLVM 23:
+# https://bugzilla.redhat.com/show_bug.cgi?id=2553620
+#
+# This can be removed in F45 after the fix is backported, and in F46+ after the
+# fix is backported and/or LLVM is updated to version 24. Set the conditional
+# for F45/F46 only, expecting that this will be fixed before F46 branching.
+%if %{defined fc45} || %{defined fc46}
+%ifarch ppc64le
+%global build_rustflags %{build_rustflags} -Cno-vectorize-loops
+%endif
+%endif
+"""
cargo-toml-patch-comments = [
"Omit unused, benchmark-only criterion dev-dependency",
"""\
reply other threads:[~2026-11-04 7:41 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=179377808947.1.12733072273102169739.rpms-rust-libcramjam-20d0366b5df7@fedoraproject.org \
--to=code@musicinmybrain.net \
--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