spot pushed to libunwind (master). "default arm unwinding method to exidx, old default of dwarf never works on Fedora (#1226806)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Jun 2 14:47:58 UTC 2015
From e98c17b820b3bcda8cd9a02a96a2a3f860ed6c3a Mon Sep 17 00:00:00 2001
From: Tom Callaway <spot at fedoraproject.org>
Date: Tue, 2 Jun 2015 10:47:48 -0400
Subject: default arm unwinding method to exidx, old default of dwarf never
works on Fedora (#1226806)
diff --git a/libunwind-arm-default-to-exidx.patch b/libunwind-arm-default-to-exidx.patch
new file mode 100644
index 0000000..e19c51e
--- /dev/null
+++ b/libunwind-arm-default-to-exidx.patch
@@ -0,0 +1,15 @@
+diff -up libunwind-1.1/src/arm/Gglobal.c.default-to-exidx libunwind-1.1/src/arm/Gglobal.c
+--- libunwind-1.1/src/arm/Gglobal.c.default-to-exidx 2015-06-02 10:38:39.733587918 -0400
++++ libunwind-1.1/src/arm/Gglobal.c 2015-06-02 10:38:53.086500142 -0400
+@@ -29,7 +29,10 @@ HIDDEN define_lock (arm_lock);
+ HIDDEN int tdep_init_done;
+
+ /* Unwinding methods to use. See UNW_METHOD_ enums */
+-HIDDEN int unwi_unwind_method = UNW_ARM_METHOD_ALL;
++/* UNW_ARM_METHOD_ALL starts with UNW_ARM_METHOD_DWARF */
++/* which is never right on Fedora ARM. Default instead */
++/* to UNW_ARM_METHOD_EXIDX. */
++HIDDEN int unwi_unwind_method = UNW_ARM_METHOD_EXIDX;
+
+ HIDDEN void
+ tdep_init (void)
diff --git a/libunwind.spec b/libunwind.spec
index eab5c0d..a9a511f 100644
--- a/libunwind.spec
+++ b/libunwind.spec
@@ -4,7 +4,7 @@
Summary: An unwinding library
Name: libunwind
Version: 1.1
-Release: 7%{?dist}
+Release: 8%{?dist}
License: BSD
Group: Development/Debuggers
Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz
@@ -12,6 +12,7 @@ Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}
Patch1: libunwind-disable-setjmp.patch
Patch2: libunwind-aarch64.patch
Patch3: libunwind-fix-ppc64_test_altivec.patch
+Patch4: libunwind-arm-default-to-exidx.patch
URL: http://savannah.nongnu.org/projects/libunwind
ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
@@ -37,6 +38,7 @@ libunwind.
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1 -b .default-to-exidx
%build
aclocal
@@ -88,6 +90,10 @@ echo ====================TESTSUITE DISABLED=========================
%{_includedir}/libunwind*.h
%changelog
+* Tue Jun 2 2015 Tom Callaway <spot at fedoraproject.org> - 1.1-8
+- default arm unwinding method to exidx, old default of dwarf never works on Fedora
+ (#1226806)
+
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/libunwind.git/commit/?h=master&id=e98c17b820b3bcda8cd9a02a96a2a3f860ed6c3a
More information about the scm-commits
mailing list