public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Disable LTO on x86 as a workaround for #2356219
Date: Mon, 23 Nov 2026 09:35:54 GMT	[thread overview]
Message-ID: <179542655404.1.6207255576851677561.rpms-rpm-274b030c697b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 274b030c697b5dacf15c946dfc6622386ee87441
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2025-03-31T16:53:09+03:00
Stats  : +9/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/274b030c697b5dacf15c946dfc6622386ee87441?branch=pmatilai-v6

Log:
Disable LTO on x86 as a workaround for #2356219

---
diff --git a/rpm.spec b/rpm.spec
index ec37e9f..c3a896b 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -26,12 +26,17 @@
 
 %global rpmver 4.20.1
 #global snapver rc1
-%global baserelease 2
+%global baserelease 3
 %global sover 10
 
 %global srcver %{rpmver}%{?snapver:-%{snapver}}
 %global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x}
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=2356219
+%ifarch %{ix86}
+%global _lto_cflags %{nil}
+%endif
+
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
@@ -624,6 +629,9 @@ fi
 %doc %{_defaultdocdir}/rpm/API/
 
 %changelog
+* Mon Mar 31 2025 Panu Matilainen <pmatilai@redhat.com> - 4.20.1-3
+- Disable LTO on x86 as a workaround for #2356219
+
 * Mon Mar 31 2025 Panu Matilainen <pmatilai@redhat.com> - 4.20.1-2
 - Re-enable hard dependencies for users and groups as a part of
   https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers

                 reply	other threads:[~2026-11-23  9:35 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=179542655404.1.6207255576851677561.rpms-rpm-274b030c697b@fedoraproject.org \
    --to=pmatilai@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