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: Revert problematic sub-variants of armv8 (#1691430)
Date: Mon, 23 Nov 2026 09:33:03 GMT	[thread overview]
Message-ID: <179542638374.1.6093527277641912970.rpms-rpm-534022dd6d0b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 534022dd6d0b9173227da10f4ad4e3907f1c3813
Author : Panu Matilainen <pmatilai@redhat.com>
Date   : 2019-10-18T14:56:50+03:00
Stats  : +82/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/534022dd6d0b9173227da10f4ad4e3907f1c3813?branch=pmatilai-v6

Log:
Revert problematic sub-variants of armv8 (#1691430)

---
diff --git a/0001-Remove-problematic-sub-variants-of-armv8-and-related.patch b/0001-Remove-problematic-sub-variants-of-armv8-and-related.patch
new file mode 100644
index 0000000..f193481
--- /dev/null
+++ b/0001-Remove-problematic-sub-variants-of-armv8-and-related.patch
@@ -0,0 +1,76 @@
+From 0fd4fc8f4e8f51eec9c971c1170620dd64262bea Mon Sep 17 00:00:00 2001
+Message-Id: <0fd4fc8f4e8f51eec9c971c1170620dd64262bea.1571399685.git.pmatilai@redhat.com>
+From: Peter Robinson <pbrobinson@gmail.com>
+Date: Wed, 16 Oct 2019 10:48:12 +0100
+Subject: [PATCH] Remove problematic sub variants of armv8 and related
+
+This is a partial revert of b1f81b837f46
+
+The ARMv8 aarch32 variant specifies a number of required and optional
+components. NEON is a required component of ARMv8 devices so we don't
+need the 'n' variant that was added in ARMv7 (and never widely used due
+to problems). The 'c' crypto variant shouldn't be added. The use of
+the crypto extensions to by ARMv8 HW is many and varied and there's no
+means of dealing with it at a package/compile extention so the detection
+and use of it is done at runtime and handled via a number of different
+mechanisms whether in code or via kernel crypto modules and the use of
+libkcapi allowing the device to choose the fastest crypto option for
+the use case.
+
+This is actively breaking Fedora and related distributions on newer
+generations of hardware actively stopping the actual install of an OS
+in some extreme cases. This architecture functionality needs to be
+reviewed by the architecture maintainers to ensure that active breakage
+doesn't happen.
+
+Fixes RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1691430
+
+Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
+---
+ rpmrc.in | 9 ---------
+ 1 file changed, 9 deletions(-)
+
+diff --git a/rpmrc.in b/rpmrc.in
+index cc212d4ba..5bd9ba3e5 100644
+--- a/rpmrc.in
++++ b/rpmrc.in
+@@ -82,8 +82,6 @@ optflags: armv7hl -O2 -g -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16
+ optflags: armv7hnl -O2 -g -march=armv7-a -mfloat-abi=hard -mfpu=neon
+ optflags: armv8l -O2 -g -march=armv8-a
+ optflags: armv8hl -O2 -g -march=armv8-a -mfloat-abi=hard -mfpu=vfpv4
+-optflags: armv8hnl -O2 -g -march=armv8-a -mfloat-abi=hard -mfpu=neon-fp-armv8
+-optflags: armv8hcnl -O2 -g -march=armv8-a -mfloat-abi=hard -mfpu=crypto-neon-fp-armv8
+ 
+ optflags: m68k -O2 -g -fomit-frame-pointer
+ 
+@@ -224,8 +222,6 @@ arch_canon:     armv7hl: armv7hl 	12
+ arch_canon:     armv7hnl: armv7hnl 	12
+ arch_canon:	armv8l: armv8l	12
+ arch_canon:	armv8hl: armv8hl	12
+-arch_canon:	armv8hnl: armv8hnl	12
+-arch_canon:	armv8hcnl: armv8hcnl	12
+ 
+ arch_canon:	m68kmint: m68kmint	13
+ arch_canon:	atarist: m68kmint	13
+@@ -353,8 +349,6 @@ buildarchtranslate: armv7hl: armv7hl
+ buildarchtranslate: armv7hnl: armv7hnl
+ buildarchtranslate: armv8l: armv8l
+ buildarchtranslate: armv8hl: armv8hnl
+-buildarchtranslate: armv8hnl: armv8hnl
+-buildarchtranslate: armv8hcnl: armv8hcnl
+ 
+ buildarchtranslate: mips: mips
+ buildarchtranslate: mipsel: mipsel
+@@ -471,9 +465,6 @@ arch_compat: armv5tl: armv4tl
+ arch_compat: armv4tl: armv4l
+ arch_compat: armv4l: armv3l
+ arch_compat: armv3l: noarch
+-arch_compat: armv8hcnl: armv8hnl
+-arch_compat: armv8hnl: armv8hl
+-arch_compat: armv8hnl: armv7hnl
+ arch_compat: armv8hl: armv7hl
+ arch_compat: armv7hnl: armv7hl
+ arch_compat: armv7hl: armv6hl
+-- 
+2.21.0
+

diff --git a/rpm.spec b/rpm.spec
index 4305ae9..211dc49 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -21,7 +21,7 @@
 
 %global rpmver 4.15.0
 #global snapver rc1
-%global rel 3
+%global rel 4
 
 %global srcver %{version}%{?snapver:-%{snapver}}
 %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -60,6 +60,8 @@ Patch906: rpm-4.7.1-geode-i686.patch
 # Probably to be upstreamed in slightly different form
 Patch907: rpm-4.15.x-ldflags.patch
 
+Patch910: 0001-Remove-problematic-sub-variants-of-armv8-and-related.patch
+
 # Partially GPL/LGPL dual-licensed and some bits with BSD
 # SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD
 License: GPLv2+
@@ -518,6 +520,9 @@ make check || (cat tests/rpmtests.log; exit 0)
 %doc doc/librpm/html/*
 
 %changelog
+* Fri Oct 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-4
+- Revert problematic sub-variants of armv8 (#1691430)
+
 * Thu Oct 17 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-3
 - Drop python2 bindings for good (#1761211)
 

                 reply	other threads:[~2026-11-23  9:33 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=179542638374.1.6093527277641912970.rpms-rpm-534022dd6d0b@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