diff --git a/7.2.8.tar.gz b/7.2.8.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..828b73a763a4a8cc98ae9a254327d6bc190c6d40 Binary files /dev/null and b/7.2.8.tar.gz differ diff --git a/Fix-for-an-ARM64-gcc-10-compilation-error.patch b/Fix-for-an-ARM64-gcc-10-compilation-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..4713b4bae11dc7f3c83c0fc7439c7c0377b4b58b --- /dev/null +++ b/Fix-for-an-ARM64-gcc-10-compilation-error.patch @@ -0,0 +1,54 @@ +From e770735200c02ac2414c394ea6ec5f7f033efe64 Mon Sep 17 00:00:00 2001 +From: crash-utility +Date: Sat, 25 Jul 2020 17:00:36 +0800 +Subject: [PATCH] Fix for an ARM64 gcc-10 compilation error + +Without the patch, the build of the embedded gdb module fails with an error message that +indicates "multiple definition of 'tdesc_aarch64'". + +(anderson@redhat.com) +--- + gdb-7.6.patch | 30 ++++++++++++++++++++++++++++++ + 1 file changed, 30 insertions(+) + +diff --git a/gdb-7.6.patch b/gdb-7.6.patch +index f6c311d..5c91220 100644 +--- a/gdb-7.6.patch ++++ b/gdb-7.6.patch +@@ -2471,3 +2471,33 @@ diff -up gdb-7.6/opcodes/configure.orig gdb-7.6/opcodes/configure + #else + # error "!__i386__ && !__x86_64__" + #endif ++--- gdb-7.6/gdb/features/aarch64.c.orig +++++ gdb-7.6/gdb/features/aarch64.c ++@@ -5,7 +5,6 @@ ++ #include "osabi.h" ++ #include "target-descriptions.h" ++ ++-struct target_desc *tdesc_aarch64; ++ static void ++ initialize_tdesc_aarch64 (void) ++ { ++--- gdb-7.6/gdb/aarch64-linux-nat.c.orig +++++ gdb-7.6/gdb/aarch64-linux-nat.c ++@@ -37,6 +37,7 @@ ++ ++ #include "gregset.h" ++ +++extern struct target_desc *tdesc_aarch64; ++ #include "features/aarch64.c" ++ ++ /* Defines ps_err_e, struct ps_prochandle. */ ++--- gdb-7.6/gdb/aarch64-tdep.c.orig +++++ gdb-7.6/gdb/aarch64-tdep.c ++@@ -52,6 +52,7 @@ ++ #include "gdb_assert.h" ++ #include "vec.h" ++ +++struct target_desc *tdesc_aarch64; ++ #include "features/aarch64.c" ++ #include "features/aarch64-without-fpu.c" ++ +-- +2.23.0 + diff --git a/crash-7.2.6.tar.gz b/crash-7.2.6.tar.gz deleted file mode 100644 index 77cbfe61f20e2d8950ba34ca99793bde15dd3134..0000000000000000000000000000000000000000 Binary files a/crash-7.2.6.tar.gz and /dev/null differ diff --git a/crash-7.2.8.tar.gz b/crash-7.2.8.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..828b73a763a4a8cc98ae9a254327d6bc190c6d40 Binary files /dev/null and b/crash-7.2.8.tar.gz differ diff --git a/crash.spec b/crash.spec index d6bb6d1b9926dfe41c4786659af0a8750bb81fb4..6e01ef3c816fe93efd6cd93b2beccb18f71222bc 100644 --- a/crash.spec +++ b/crash.spec @@ -1,6 +1,6 @@ Name: crash -Version: 7.2.6 -Release: 3 +Version: 7.2.8 +Release: 1 Summary: Linux kernel crash utility. License: GPLv3 URL: http://people.redhat.com/anderson @@ -75,6 +75,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h %{_mandir}/man8/crash.8* %changelog +* Mon Jul 27 2020 xinghe - 7.2.8-1 +- update version to 7.2.8 + * Sun Jan 19 2020 Yeqing Peng - 7.2.6-3 - fix parse vmcore fail.