From 7105525cc330737b465e8ddd5266b53c15e6762c Mon Sep 17 00:00:00 2001 From: Dave Anderson Date: Wed, 2 Jul 2014 13:44:08 -0400 Subject: [PATCH] Fix FTBS for aarch64 (BZ #1114588) --- aarch64.patch | 16 ++++++++++++++++ crash.spec | 7 ++++++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 aarch64.patch diff --git a/aarch64.patch b/aarch64.patch new file mode 100644 index 0000000..85aa6f9 --- /dev/null +++ b/aarch64.patch @@ -0,0 +1,16 @@ +--- crash-7.0.7/gdb-7.6.patch.orig ++++ crash-7.0.7/gdb-7.6.patch +@@ -1678,3 +1678,13 @@ + fprintf_filtered(gdb_stdout, "\n"); + lastval++; + } ++--- gdb-7.6/gdb/aarch64-linux-nat.c.orig +++++ gdb-7.6/gdb/aarch64-linux-nat.c ++@@ -32,6 +32,7 @@ ++ #include "elf/common.h" ++ ++ #include +++#include ++ #include ++ ++ #include "gregset.h" diff --git a/crash.spec b/crash.spec index 6dba540..66bc40b 100644 --- a/crash.spec +++ b/crash.spec @@ -4,7 +4,7 @@ Summary: Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles Name: crash Version: 7.0.7 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3 Group: Development/Debuggers Source: http://people.redhat.com/anderson/crash-%{version}.tar.gz @@ -17,6 +17,7 @@ Requires: binutils Provides: bundled(libiberty) Patch0: lzo_snappy.patch Patch1: use_system_readline_v2.patch +Patch2: aarch64.patch %description The core analysis suite is a self-contained tool that can be used to @@ -39,6 +40,7 @@ offered by Mission Critical Linux, or the LKCD kernel patch. %setup -n %{name}-%{version} -q %patch0 -p1 -b lzo_snappy.patch %patch1 -p1 -b use_system_readline_v2.patch +%patch2 -p1 -b aarch64.patch %build make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" @@ -67,6 +69,9 @@ rm -rf %{buildroot} %{_includedir}/* %changelog +* Wed Jul 02 2014 Dave Anderson - 7.0.7-2 +- Fix FTBS for aarch64 (BZ #1114588) + * Wed Jun 11 2014 Dave Anderson - 7.0.7-1 - Update to latest upstream release - Fix Fedora_21_Mass_Rebuild FTBFS (BZ #1106090)