[libunwind] link test_ppc64_altivec against libunwind in tests/Makefile.am to fix build on ppc64
Kyle McMartin
kyle at fedoraproject.org
Mon Jan 20 19:39:12 UTC 2014
commit 67d2b33c502b60c8eb134a8d276c3e2aceaf9e58
Author: Kyle McMartin <kyle at mcmartin.ca>
Date: Mon Jan 20 11:48:01 2014 -0500
link test_ppc64_altivec against libunwind in tests/Makefile.am to fix build on ppc64
libunwind-fix-ppc64_test_altivec.patch | 9 +++++++++
libunwind.spec | 8 +++++++-
2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/libunwind-fix-ppc64_test_altivec.patch b/libunwind-fix-ppc64_test_altivec.patch
new file mode 100644
index 0000000..d185fb3
--- /dev/null
+++ b/libunwind-fix-ppc64_test_altivec.patch
@@ -0,0 +1,9 @@
+diff -Nur libunwind-1.1/tests/Makefile.am libunwind-1.1~/tests/Makefile.am
+--- libunwind-1.1/tests/Makefile.am 2014-01-20 11:26:56.229924564 -0500
++++ libunwind-1.1~/tests/Makefile.am 2014-01-20 11:25:39.318794342 -0500
+@@ -189,3 +189,5 @@
+ Lia64_test_readonly_LDADD = $(LIBUNWIND_local)
+ ia64_test_dyn1_LDADD = $(LIBUNWIND)
+ ia64_test_sig_LDADD = $(LIBUNWIND)
++
++ppc64_test_altivec_LDADD = $(LIBUNWIND)
diff --git a/libunwind.spec b/libunwind.spec
index 7078709..e053677 100644
--- a/libunwind.spec
+++ b/libunwind.spec
@@ -4,13 +4,14 @@
Summary: An unwinding library
Name: libunwind
Version: 1.1
-Release: 3%{?dist}
+Release: 4%{?dist}
License: BSD
Group: Development/Debuggers
Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz
#Fedora specific patch
Patch1: libunwind-disable-setjmp.patch
Patch2: libunwind-aarch64.patch
+Patch3: libunwind-fix-ppc64_test_altivec.patch
URL: http://savannah.nongnu.org/projects/libunwind
ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc ppc64 %{ix86} x86_64
@@ -35,6 +36,7 @@ libunwind.
%setup -q
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
aclocal
@@ -86,6 +88,10 @@ echo ====================TESTSUITE DISABLED=========================
%{_includedir}/libunwind*.h
%changelog
+* Mon Jan 20 2014 Kyle McMartin <kmcmarti at redhat.com> 1.1-4
+- Link test_ppc64_altivec against libunwind in tests/Makefile.am to fix build
+ on ppc64.
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list