Fix build error for loongarch64
(cherry picked from commit 7249f753cbcb2a23ba556576e3d0da69047d68a2)
This commit is contained in:
parent
7ef6d27b64
commit
97a75562ee
9
gdb.spec
9
gdb.spec
@ -1,6 +1,6 @@
|
|||||||
Name: gdb
|
Name: gdb
|
||||||
Version: 14.1
|
Version: 14.1
|
||||||
Release: 1
|
Release: 2
|
||||||
|
|
||||||
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-1.3
|
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-1.3
|
||||||
Source: https://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.xz
|
Source: https://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.xz
|
||||||
@ -195,7 +195,7 @@ export CXXFLAGS="$CFLAGS"
|
|||||||
--with-lzma \
|
--with-lzma \
|
||||||
--without-libunwind \
|
--without-libunwind \
|
||||||
--enable-64-bit-bfd \
|
--enable-64-bit-bfd \
|
||||||
%ifnarch riscv64
|
%ifnarch riscv64 loongarch64
|
||||||
--enable-inprocess-agent \
|
--enable-inprocess-agent \
|
||||||
%endif
|
%endif
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
@ -317,7 +317,7 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/python/gdb/command/backtrace.py
|
|||||||
|
|
||||||
%files gdbserver
|
%files gdbserver
|
||||||
%{_bindir}/gdbserver
|
%{_bindir}/gdbserver
|
||||||
%ifnarch riscv64
|
%ifnarch riscv64 loongarch64
|
||||||
%{_libdir}/libinproctrace.so
|
%{_libdir}/libinproctrace.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -335,6 +335,9 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/python/gdb/command/backtrace.py
|
|||||||
%{_infodir}/ctf-spec.info.gz
|
%{_infodir}/ctf-spec.info.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 6 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 14.1-2
|
||||||
|
- Fix build error for loongarch64
|
||||||
|
|
||||||
* Wed Jan 24 2024 liuchao <liuchao173@huawei.com> - 14.1-1
|
* Wed Jan 24 2024 liuchao <liuchao173@huawei.com> - 14.1-1
|
||||||
- upgrade GDB version to 14.1:
|
- upgrade GDB version to 14.1:
|
||||||
- GDB no longer support AiX 4.x, 5.x and 6.x. The minimum version supported is AiX 7.1.
|
- GDB no longer support AiX 4.x, 5.x and 6.x. The minimum version supported is AiX 7.1.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user