public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Stephen Gallagher <sgallagh@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Revert aliasing arm64 to aarch64
Date: Mon, 23 Nov 2026 09:33:04 GMT [thread overview]
Message-ID: <179542638456.1.3345012274343307814.rpms-rpm-197455deb67c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 197455deb67c56360699aa29227b37d23fe43b84
Author : Stephen Gallagher <sgallagh@redhat.com>
Date : 2019-10-21T13:38:12-04:00
Stats : +79/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/197455deb67c56360699aa29227b37d23fe43b84?branch=pmatilai-v6
Log:
Revert aliasing arm64 to aarch64
Resolves: rhbz#1763831
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
---
diff --git a/revert-arm64.patch b/revert-arm64.patch
new file mode 100644
index 0000000..6315a72
--- /dev/null
+++ b/revert-arm64.patch
@@ -0,0 +1,73 @@
+From 0351a07fe5fe3c82cc8bdc4d85de9ff4624945c6 Mon Sep 17 00:00:00 2001
+From: Peter Robinson <pbrobinson@gmail.com>
+Date: Wed, 16 Oct 2019 10:06:33 +0100
+Subject: [PATCH] Revert "rpmrc: Add architecture compatibility mapping between
+ aarch64 and arm64"
+
+This reverts commit 236d6f5a2b924266b1249a82875b595e8758c52b.
+
+This change is fundamentally wrong. arm64 is a catch all that covers the
+naming but rpm uses "uname -m" to detect the actual architecture. The aarch64
+nonclamenture specifies the ISA (Instruction Set Architecture) for the 64-bit
+variant of the Arm architecture which was first supported with ARMv8.
+
+Because all 64-bit variants of ARMv8 use aarch64 the arm64 would never be
+used in rpm. If it's useful in some context while using some Debian related
+tools those tools should have some translation added there. This just adds
+confusion and causes issues and duplication that haven't been necessary in
+any of the arch64 work up until now.
+
+Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
+---
+ rpmrc.in | 10 ++--------
+ 1 file changed, 2 insertions(+), 8 deletions(-)
+
+diff --git a/rpmrc.in b/rpmrc.in
+index a3ad17a3a..cc212d4ba 100644
+--- a/rpmrc.in
++++ b/rpmrc.in
+@@ -103,7 +103,6 @@ optflags: sh4 -O2 -g -mieee
+ optflags: sh4a -O2 -g -mieee
+
+ optflags: aarch64 -O2 -g
+-optflags: arm64 -O2 -g
+
+ optflags: riscv64 -O2 -g
+
+@@ -252,9 +251,7 @@ arch_canon: sh3: sh3 17
+ arch_canon: sh4: sh4 17
+ arch_canon: sh4a: sh4a 17
+ arch_canon: xtensa: xtensa 18
+-
+-arch_canon: aarch64: aarch64 19
+-arch_canon: arm64: arm64 19
++arch_canon: aarch64: aarch64 19
+
+ arch_canon: mipsr6: mipsr6 20
+ arch_canon: mipsr6el: mipsr6el 20
+@@ -393,7 +390,6 @@ buildarchtranslate: sh4: sh4
+ buildarchtranslate: sh4a: sh4
+
+ buildarchtranslate: aarch64: aarch64
+-buildarchtranslate: arm64: aarch64
+
+ buildarchtranslate: riscv: riscv64
+ buildarchtranslate: riscv64: riscv64
+@@ -507,8 +503,7 @@ arch_compat: sh3: noarch
+ arch_compat: sh4: noarch
+ arch_compat: sh4a: sh4
+
+-arch_compat: aarch64: arm64 noarch
+-arch_compat: arm64: aarch64 noarch
++arch_compat: aarch64: noarch
+
+ arch_compat: riscv: noarch
+ arch_compat: riscv64: noarch
+@@ -545,7 +540,6 @@ os_compat: Darwin: MacOSX
+ buildarch_compat: ia64: noarch
+
+ buildarch_compat: aarch64: noarch
+-buildarch_compat: arm64: aarch64
+
+ buildarch_compat: riscv: noarch
+ buildarch_compat: riscv64: noarch
diff --git a/rpm.spec b/rpm.spec
index 211dc49..fb81629 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -21,7 +21,7 @@
%global rpmver 4.15.0
#global snapver rc1
-%global rel 4
+%global rel 5
%global srcver %{version}%{?snapver:-%{snapver}}
%global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -61,6 +61,7 @@ Patch906: rpm-4.7.1-geode-i686.patch
Patch907: rpm-4.15.x-ldflags.patch
Patch910: 0001-Remove-problematic-sub-variants-of-armv8-and-related.patch
+Patch911: revert-arm64.patch
# Partially GPL/LGPL dual-licensed and some bits with BSD
# SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD
@@ -520,6 +521,10 @@ make check || (cat tests/rpmtests.log; exit 0)
%doc doc/librpm/html/*
%changelog
+* Mon Oct 21 2019 Stephen Gallagher <sgallagh@redhat.com> - 4.15.0-5
+- Revert aliasing arm64 to aarch64
+- Resolves: rhbz#1763831
+
* Fri Oct 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-4
- Revert problematic sub-variants of armv8 (#1691430)
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=179542638456.1.3345012274343307814.rpms-rpm-197455deb67c@fedoraproject.org \
--to=sgallagh@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