[crash] Fix FTBS for aarch64 (BZ #1114588)
David Anderson
crash at fedoraproject.org
Wed Jul 2 17:43:36 UTC 2014
commit 7105525cc330737b465e8ddd5266b53c15e6762c
Author: Dave Anderson <anderson at redhat.com>
Date: Wed Jul 2 13:44:08 2014 -0400
Fix FTBS for aarch64 (BZ #1114588)
aarch64.patch | 16 ++++++++++++++++
crash.spec | 7 ++++++-
2 files changed, 22 insertions(+), 1 deletions(-)
---
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 <sys/ptrace.h>
+++#include <asm/ptrace.h>
++ #include <sys/utsname.h>
++
++ #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 <anderson at redhat.com> - 7.0.7-2
+- Fix FTBS for aarch64 (BZ #1114588)
+
* Wed Jun 11 2014 Dave Anderson <anderson at redhat.com> - 7.0.7-1
- Update to latest upstream release
- Fix Fedora_21_Mass_Rebuild FTBFS (BZ #1106090)
More information about the scm-commits
mailing list