Enable riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
31b186d84c
commit
5ee988db5d
16
gdb.spec
16
gdb.spec
|
@ -51,7 +51,7 @@ Version: 12.1
|
||||||
|
|
||||||
# The release always contains a leading reserved number, start it at 1.
|
# The release always contains a leading reserved number, start it at 1.
|
||||||
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
|
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
|
||||||
Release: 6%{?dist}
|
Release: 6.0.riscv64%{?dist}
|
||||||
|
|
||||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
|
||||||
# Do not provide URL for snapshots as the file lasts there only for 2 days.
|
# Do not provide URL for snapshots as the file lasts there only for 2 days.
|
||||||
|
@ -103,7 +103,7 @@ Summary: A GNU source-level debugger for C, C++, Fortran, Go and other languages
|
||||||
Obsoletes: gdb64 < 5.3.91
|
Obsoletes: gdb64 < 5.3.91
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{arm}
|
%ifarch %{arm} riscv64
|
||||||
%global have_inproctrace 0
|
%global have_inproctrace 0
|
||||||
%else
|
%else
|
||||||
%global have_inproctrace 1
|
%global have_inproctrace 1
|
||||||
|
@ -383,7 +383,7 @@ BuildRequires: gcc-gnat
|
||||||
BuildRequires: libgnat%{bits_local} libgnat%{bits_other}
|
BuildRequires: libgnat%{bits_local} libgnat%{bits_other}
|
||||||
%endif
|
%endif
|
||||||
%else
|
%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}
|
%if 0%{!?rhel:1}
|
||||||
BuildRequires: gcc-gnat
|
BuildRequires: gcc-gnat
|
||||||
BuildRequires: libgnat%{bits_local} libgnat%{bits_other}
|
BuildRequires: libgnat%{bits_local} libgnat%{bits_other}
|
||||||
|
@ -558,7 +558,7 @@ COMMON_GDB_CONFIGURE_FLAGS="\
|
||||||
,-Wno-format-overflow\
|
,-Wno-format-overflow\
|
||||||
%endif
|
%endif
|
||||||
--enable-build-with-cxx \
|
--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 \
|
--disable-werror \
|
||||||
%else
|
%else
|
||||||
--enable-werror \
|
--enable-werror \
|
||||||
|
@ -642,7 +642,7 @@ export PKG_CONFIG_PATH=%{_libdir}/pkgconfig
|
||||||
%ifarch sparc sparcv9
|
%ifarch sparc sparcv9
|
||||||
sparc-%{_vendor}-%{_target_os}%{?_gnu}
|
sparc-%{_vendor}-%{_target_os}%{?_gnu}
|
||||||
%else
|
%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}
|
%{_target_platform}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -747,7 +747,7 @@ $(: ppc64 host build crashes on ppc variant of libexpat.so ) \
|
||||||
%ifarch sparc sparcv9
|
%ifarch sparc sparcv9
|
||||||
sparc-%{_vendor}-%{_target_os}%{?_gnu}
|
sparc-%{_vendor}-%{_target_os}%{?_gnu}
|
||||||
%else
|
%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}
|
%{_target_platform}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -1189,6 +1189,10 @@ fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 8 2022 David Abdurachmanov <davidlt@rivosinc.com> - 12.1-6.0.riscv64
|
||||||
|
- Add riscv64-linux-gnu to enabled targets
|
||||||
|
- Disable inprocess agent for riscv64
|
||||||
|
|
||||||
* Fri Oct 7 2022 Alexandra Hájková - 12.1-6
|
* Fri Oct 7 2022 Alexandra Hájková - 12.1-6
|
||||||
- Update gdb-6.6-buildid-locate.patch to fix RHBZ 2122947.
|
- Update gdb-6.6-buildid-locate.patch to fix RHBZ 2122947.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue