From d436ef247fc501c16acea82f49a8a419c276db71 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 02:20:52 -0500 Subject: [PATCH 1/8] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- libunwind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libunwind.spec b/libunwind.spec index 0a40fc3..7078709 100644 --- a/libunwind.spec +++ b/libunwind.spec @@ -4,7 +4,7 @@ Summary: An unwinding library Name: libunwind Version: 1.1 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD Group: Development/Debuggers Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz @@ -86,6 +86,9 @@ echo ====================TESTSUITE DISABLED========================= %{_includedir}/libunwind*.h %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Mon Jun 03 2013 Kyle McMartin 1.1-2 - Add aarch64 support from backported ac6c0a65. (Mark Salter) (rhbz#969689) From 67d2b33c502b60c8eb134a8d276c3e2aceaf9e58 Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Mon, 20 Jan 2014 11:48:01 -0500 Subject: [PATCH 2/8] 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 deletion(-) create mode 100644 libunwind-fix-ppc64_test_altivec.patch 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 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 - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From 7a28bf38070f94f631074edbfbe08bb574011e01 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Tue, 13 May 2014 14:23:23 +0200 Subject: [PATCH 3/8] Replacing ppc64 with the power64 macro (#1051641) --- libunwind.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libunwind.spec b/libunwind.spec index e053677..b7d01ff 100644 --- a/libunwind.spec +++ b/libunwind.spec @@ -4,7 +4,7 @@ Summary: An unwinding library Name: libunwind Version: 1.1 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD Group: Development/Debuggers Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz @@ -13,7 +13,7 @@ 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 +ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64 BuildRequires: automake libtool autoconf @@ -88,6 +88,9 @@ echo ====================TESTSUITE DISABLED========================= %{_includedir}/libunwind*.h %changelog +* Tue May 13 2014 Jaromir Capik - 1.1-5 +- Replacing ppc64 with the power64 macro (#1051641) + * Mon Jan 20 2014 Kyle McMartin 1.1-4 - Link test_ppc64_altivec against libunwind in tests/Makefile.am to fix build on ppc64. From b0c9b6976714e2bf00b09c1c7e5d2bbca6b2f4b5 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 00:50:04 -0500 Subject: [PATCH 4/8] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- libunwind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libunwind.spec b/libunwind.spec index b7d01ff..153f231 100644 --- a/libunwind.spec +++ b/libunwind.spec @@ -4,7 +4,7 @@ Summary: An unwinding library Name: libunwind Version: 1.1 -Release: 5%{?dist} +Release: 6%{?dist} License: BSD Group: Development/Debuggers Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz @@ -88,6 +88,9 @@ echo ====================TESTSUITE DISABLED========================= %{_includedir}/libunwind*.h %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Tue May 13 2014 Jaromir Capik - 1.1-5 - Replacing ppc64 with the power64 macro (#1051641) From d31bc18325b11a480aeba506ede08c322e1fb735 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 17 Aug 2014 06:31:43 +0000 Subject: [PATCH 5/8] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- libunwind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libunwind.spec b/libunwind.spec index 153f231..eab5c0d 100644 --- a/libunwind.spec +++ b/libunwind.spec @@ -4,7 +4,7 @@ Summary: An unwinding library Name: libunwind Version: 1.1 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD Group: Development/Debuggers Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz @@ -88,6 +88,9 @@ echo ====================TESTSUITE DISABLED========================= %{_includedir}/libunwind*.h %changelog +* Sun Aug 17 2014 Fedora Release Engineering - 1.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From e98c17b820b3bcda8cd9a02a96a2a3f860ed6c3a Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 2 Jun 2015 10:47:48 -0400 Subject: [PATCH 6/8] default arm unwinding method to exidx, old default of dwarf never works on Fedora (#1226806) --- libunwind-arm-default-to-exidx.patch | 15 +++++++++++++++ libunwind.spec | 8 +++++++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 libunwind-arm-default-to-exidx.patch 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 - 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 - 1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 3f11b9a75ea2b786bdd0b7d62c9aa8ad7cecf69e Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 17:30:03 +0000 Subject: [PATCH 7/8] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- libunwind.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libunwind.spec b/libunwind.spec index a9a511f..2d6def2 100644 --- a/libunwind.spec +++ b/libunwind.spec @@ -4,7 +4,7 @@ Summary: An unwinding library Name: libunwind Version: 1.1 -Release: 8%{?dist} +Release: 9%{?dist} License: BSD Group: Development/Debuggers Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz @@ -90,6 +90,9 @@ echo ====================TESTSUITE DISABLED========================= %{_includedir}/libunwind*.h %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 1.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Tue Jun 2 2015 Tom Callaway - 1.1-8 - default arm unwinding method to exidx, old default of dwarf never works on Fedora (#1226806) From 841b1809392016c497eef7bc69129bb83be8e218 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 10 Jul 2015 13:41:34 -0400 Subject: [PATCH 8/8] fix CVE-2015-3239 --- libunwind-1.1-fix-CVE-2015-3239.patch | 12 ++++++++++++ libunwind.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 libunwind-1.1-fix-CVE-2015-3239.patch diff --git a/libunwind-1.1-fix-CVE-2015-3239.patch b/libunwind-1.1-fix-CVE-2015-3239.patch new file mode 100644 index 0000000..95d18f1 --- /dev/null +++ b/libunwind-1.1-fix-CVE-2015-3239.patch @@ -0,0 +1,12 @@ +diff -up libunwind-1.1/include/dwarf_i.h.CVE20153239 libunwind-1.1/include/dwarf_i.h +--- libunwind-1.1/include/dwarf_i.h.CVE20153239 2015-07-10 13:38:36.404996748 -0400 ++++ libunwind-1.1/include/dwarf_i.h 2015-07-10 13:39:25.050707613 -0400 +@@ -20,7 +20,7 @@ + extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH]; + /* REG is evaluated multiple times; it better be side-effects free! */ + # define dwarf_to_unw_regnum(reg) \ +- (((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) ++ (((reg) < DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) + #endif + + #ifdef UNW_LOCAL_ONLY diff --git a/libunwind.spec b/libunwind.spec index 2d6def2..f3bf3a0 100644 --- a/libunwind.spec +++ b/libunwind.spec @@ -4,7 +4,7 @@ Summary: An unwinding library Name: libunwind Version: 1.1 -Release: 9%{?dist} +Release: 10%{?dist} License: BSD Group: Development/Debuggers Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz @@ -13,6 +13,7 @@ Patch1: libunwind-disable-setjmp.patch Patch2: libunwind-aarch64.patch Patch3: libunwind-fix-ppc64_test_altivec.patch Patch4: libunwind-arm-default-to-exidx.patch +Patch5: libunwind-1.1-fix-CVE-2015-3239.patch URL: http://savannah.nongnu.org/projects/libunwind ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64 @@ -39,6 +40,7 @@ libunwind. %patch2 -p1 %patch3 -p1 %patch4 -p1 -b .default-to-exidx +%patch5 -p1 -b .CVE-2015-3239 %build aclocal @@ -90,6 +92,9 @@ echo ====================TESTSUITE DISABLED========================= %{_includedir}/libunwind*.h %changelog +* Fri Jul 10 2015 Tom Callaway - 1.1-10 +- fix CVE-2015-3239 + * Wed Jun 17 2015 Fedora Release Engineering - 1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild