public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: drop 32-bit ARM support for RHEL 10+
Date: Sun, 28 Jun 2026 00:02:12 GMT	[thread overview]
Message-ID: <178260493272.1.11784523291356808339.rpms-gdb-bdecb7fcb87b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : bdecb7fcb87bbbc90b9fffc67226a7dc89a0e538
            Author : Andrew Burgess <aburgess@redhat.com>
            Date   : 2025-05-29T16:57:26+01:00
            Stats  : +18/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/bdecb7fcb87bbbc90b9fffc67226a7dc89a0e538?branch=gdb-17.2-rebase-f44

            Log:
            drop 32-bit ARM support for RHEL 10+

32-bit ARM is not a RHEL supported target.  Support for 32-bit ARM was
added to the gdb.spec file, unconditionally, long ago, and RHEL picked
this up.

But I think it is time for a clean up.  Lets drop 32-bit ARM support
for RHEL 10+, but retain 32-bit ARM support for:

  * Fedora -- Fedora is not RHEL, we can support more targets if we
       wish, and 32-bit ARM SBCs are pretty popular, so lets retain
       support.

  * RHEL 9 and earlier -- It's probably a little late in the life
       cycle to drop 32-bit ARM support from these RHEL versions.  So,
       in the spirit of least surprise, lets retain 32-bit ARM
       support.

---
diff --git a/gdb.spec b/gdb.spec
index f431b1e..1fc6cf2 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -441,6 +441,17 @@ COMMON_GDB_CONFIGURE_FLAGS="\
 %endif
 "
 
+# The base set of targets that Fedora and RHEL support.  These are the
+# targets that every GDB build, regardless of host architecture,
+# supports debugging.  This means that these targets can be used as
+# remote debug targets.
+ENABLED_TARGETS="aarch64-linux-gnu,powerpc-linux-gnu,riscv64-linux-gnu,s390-linux-gnu,x86_64-redhat-linux-gnu"
+
+# Fedora, and older RHEL also have 32-bit ARM support.
+%if 0%{?fedora:1} || (0%{?rhel:1} && 0%{?rhel} < 10)
+ENABLED_TARGETS="$ENABLED_TARGETS,arm-linux-gnu"
+%endif
+
 # Identify the build directory with the version of gdb as well as the
 # architecture, to allow for mutliple versions to be installed and
 # built.
@@ -481,7 +492,7 @@ CXXFLAGS="$CXXFLAGS %{?_with_asan:-fsanitize=address}"
 %endif
         --with-auto-load-dir='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'      \
         --with-auto-load-safe-path='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'        \
-        --enable-targets=s390-linux-gnu,powerpc-linux-gnu,arm-linux-gnu,aarch64-linux-gnu,riscv64-linux-gnu,x86_64-redhat-linux-gnu     \
+        --enable-targets=${ENABLED_TARGETS}     \
         %{_target_platform}
 
 # Prepare gdb/config.h first.
@@ -544,7 +555,7 @@ $(: ppc64 host build crashes on ppc variant of libexpat.so )    \
 %endif
         --with-auto-load-dir='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'      \
         --with-auto-load-safe-path='$debugdir:$datadir/auto-load%{?scl::%{_root_datadir}/gdb/auto-load}'        \
-        --enable-targets=s390-linux-gnu,powerpc-linux-gnu,arm-linux-gnu,aarch64-linux-gnu,riscv64-linux-gnu,x86_64-redhat-linux-gnu     \
+        --enable-targets=${ENABLED_TARGETS}     \
         %{_target_platform}
 
 if [ -z "%{!?_with_profile:no}" ]
@@ -923,6 +934,11 @@ fi
 # endif scl
 
 %changelog
+* Wed May 28 2025 Andrew Burgess <aburgess@redhat.com>
+- Remove 32-bit ARM support for RHEL 10+.  This is not a RHEL
+  supported target, so lets drop this target.  Retain for older RHEL
+  versions, as well as Fedora.
+
 * Mon May 12 2025 Keith Seitz <keiths@redhat.com>
 - Remove gdb-rhbz1149205-catch-syscall-after-fork-test.patch
   in favor of upstream commit.

                 reply	other threads:[~2026-06-28  0:02 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=178260493272.1.11784523291356808339.rpms-gdb-bdecb7fcb87b@fedoraproject.org \
    --to=aburgess@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