Hello community, here is the log from the commit of package crash for openSUSE:Factory checked in at 2020-10-28 12:09:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crash (Old) and /work/SRC/openSUSE:Factory/.crash.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crash" Wed Oct 28 12:09:53 2020 rev:166 rq:844522 version:7.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/crash/crash.changes 2020-09-12 00:14:36.601334562 +0200 +++ /work/SRC/openSUSE:Factory/.crash.new.3463/crash.changes 2020-10-28 12:10:01.121419417 +0100 @@ -1,0 +2,6 @@ +Fri Oct 9 13:05:30 UTC 2020 - Guillaume GARDET <[email protected]> + +- Fix build on aarch64: + crash-gdb-fix-aarch64.patch + +------------------------------------------------------------------- New: ---- crash-gdb-fix-aarch64.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crash.spec ++++++ --- /var/tmp/diff_new_pack.Tk9XWF/_old 2020-10-28 12:10:02.321420396 +0100 +++ /var/tmp/diff_new_pack.Tk9XWF/_new 2020-10-28 12:10:02.333420406 +0100 @@ -83,6 +83,8 @@ Patch29: eppic-remove-duplicate-symbols.patch Patch30: %{name}-verify-exception-frame-accessible-for-all-verify-requests.patch Patch90: %{name}-sial-ps-2.6.29.diff +# PATCH-FIX-UPSTREAM - https://github.com/crash-utility/crash/commit/e770735200c02ac2414c394ea6ec5f7f033efe64.patch +Patch91: %{name}-gdb-fix-aarch64.patch BuildRequires: bison BuildRequires: flex BuildRequires: libeppic-devel @@ -299,6 +301,7 @@ %patch12 -p1 %patch16 -p1 %patch29 -p1 +%patch91 -p1 cp %{S:3} . mkdir kbuild cp %{S:6} memory_driver ++++++ crash-gdb-fix-aarch64.patch ++++++ >From e770735200c02ac2414c394ea6ec5f7f033efe64 Mon Sep 17 00:00:00 2001 From: Dave Anderson <[email protected]> Date: Fri, 31 Jan 2020 17:11:46 -0500 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'". ([email protected]) --- gdb-7.6.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gdb-7.6.patch b/gdb-7.6.patch index f6c311d..f64b55f 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" +
