public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: David Abdurachmanov <davidlt@rivosinc.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Add support for riscv64
Date: Sun, 28 Jun 2026 00:01:31 GMT [thread overview]
Message-ID: <178260489132.1.12023091556818087957.rpms-gdb-03d850517ed8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : 03d850517ed86b9064e75955f344e8f1187b1bc4
Author : David Abdurachmanov <davidlt@rivosinc.com>
Date : 2024-02-15T18:59:10+00:00
Stats : +5/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/03d850517ed86b9064e75955f344e8f1187b1bc4?branch=gdb-17.2-rebase-f44
Log:
Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
---
diff --git a/gdb.spec b/gdb.spec
index 61aa74a..b6d6c00 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -112,7 +112,7 @@ Summary: A GNU source-level debugger for C, C++, Fortran, Go and other languages
Obsoletes: gdb64 < 5.3.91
%endif
-%ifarch %{arm}
+%ifarch %{arm} riscv64
%global have_inproctrace 0
%else
%global have_inproctrace 1
@@ -398,7 +398,7 @@ BuildRequires: gcc-gnat
BuildRequires: libgnat%{bits_local} libgnat%{bits_other}
%endif
%else
-%ifarch %{ix86} x86_64 ia64 ppc %{power64} alpha s390x %{arm} aarch64
+%ifarch %{ix86} x86_64 ia64 ppc %{power64} alpha s390x %{arm} aarch64 riscv64
%if 0%{!?rhel:1}
BuildRequires: gcc-gnat
BuildRequires: libgnat%{bits_local} libgnat%{bits_other}
@@ -619,7 +619,7 @@ COMMON_GDB_CONFIGURE_FLAGS="\
,-Wno-format-overflow\
%endif
--enable-build-with-cxx \
-%ifnarch %{ix86} alpha ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64 %{arm} aarch64
+%ifnarch %{ix86} alpha ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64 %{arm} aarch64 riscv64
--disable-werror \
%else
--enable-werror \
@@ -704,7 +704,7 @@ export PKG_CONFIG_PATH=%{_libdir}/pkgconfig
%ifarch sparc sparcv9
sparc-%{_vendor}-%{_target_os}%{?_gnu}
%else
- --enable-targets=s390-linux-gnu,powerpc-linux-gnu,arm-linux-gnu,aarch64-linux-gnu \
+ --enable-targets=s390-linux-gnu,powerpc-linux-gnu,arm-linux-gnu,aarch64-linux-gnu,riscv64-linux-gnu \
%{_target_platform}
%endif
@@ -807,7 +807,7 @@ $(: ppc64 host build crashes on ppc variant of libexpat.so ) \
%ifarch sparc sparcv9
sparc-%{_vendor}-%{_target_os}%{?_gnu}
%else
- --enable-targets=s390-linux-gnu,powerpc-linux-gnu,arm-linux-gnu,aarch64-linux-gnu \
+ --enable-targets=s390-linux-gnu,powerpc-linux-gnu,arm-linux-gnu,aarch64-linux-gnu,riscv64-linux-gnu \
%{_target_platform}
%endif
reply other threads:[~2026-06-28 0:01 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=178260489132.1.12023091556818087957.rpms-gdb-03d850517ed8@fedoraproject.org \
--to=davidlt@rivosinc.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