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