commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2020-10-25 18:08:09 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new.3463 (New) Package is "libunwind" Sun Oct 25 18:08:09 2020 rev:43 rq:843387 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2020-05-16 22:22:59.124860743 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new.3463/libunwind.changes 2020-10-25 18:08:12.215435206 +0100 @@ -1,0 +2,5 @@ +Tue Oct 20 20:01:36 UTC 2020 - Berthold Gunreben + +- Enable s390x for building + +--- Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.RMuXyi/_old 2020-10-25 18:08:13.079436024 +0100 +++ /var/tmp/diff_new_pack.RMuXyi/_new 2020-10-25 18:08:13.079436024 +0100 @@ -32,7 +32,7 @@ BuildRequires: lzma-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(atomic_ops) -ExclusiveArch: %{ix86} ia64 x86_64 %{arm} ppc ppc64 ppc64le aarch64 +ExclusiveArch: %{ix86} ia64 x86_64 %{arm} ppc ppc64 ppc64le aarch64 s390x %description A C programming interface (API) to determine the call chain of a program.
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2020-05-16 22:22:54 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new.2738 (New) Package is "libunwind" Sat May 16 22:22:54 2020 rev:42 rq:805103 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2020-05-11 13:25:50.291166105 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new.2738/libunwind.changes 2020-05-16 22:22:59.124860743 +0200 @@ -1,0 +2,6 @@ +Wed May 13 08:53:38 UTC 2020 - Pedro Monreal Gonzalez + +- Fix compilation with -fno-common [bsc#1171549] +- Add patch libunwind_U_dyn_info_list.patch + +--- New: libunwind_U_dyn_info_list.patch Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.2QiqvH/_old 2020-05-16 22:23:01.144864889 +0200 +++ /var/tmp/diff_new_pack.2QiqvH/_new 2020-05-16 22:23:01.148864898 +0200 @@ -27,6 +27,7 @@ Source1: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz.sig Source2:%{name}.keyring Source3:baselibs.conf +Patch0: libunwind_U_dyn_info_list.patch BuildRequires: gcc-c++ BuildRequires: lzma-devel BuildRequires: pkgconfig @@ -46,6 +47,7 @@ %prep %setup -q -n %{name}-%{version} +%patch0 -p1 %build %configure \ ++ libunwind_U_dyn_info_list.patch ++ >From 29e17d8d2ccbca07c423e3089a6d5ae8a1c9cb6e Mon Sep 17 00:00:00 2001 From: Yichao Yu Date: Tue, 31 Mar 2020 00:43:32 -0400 Subject: [PATCH] Fix compilation with -fno-common. Making all other archs consistent with IA64 which should not have this problem. Also move the FIXME to the correct place. Also add some minimum comments about this... --- src/aarch64/Ginit.c| 15 +++ src/arm/Ginit.c| 15 +++ src/coredump/_UPT_get_dyn_info_list_addr.c | 5 + src/hppa/Ginit.c | 15 +++ src/ia64/Ginit.c | 1 + src/mi/Gfind_dynamic_proc_info.c | 1 + src/mips/Ginit.c | 15 +++ src/ppc32/Ginit.c | 11 +++ src/ppc64/Ginit.c | 11 +++ src/ptrace/_UPT_get_dyn_info_list_addr.c | 5 + src/s390x/Ginit.c | 15 +++ src/sh/Ginit.c | 15 +++ src/tilegx/Ginit.c | 15 +++ src/x86/Ginit.c| 15 +++ src/x86_64/Ginit.c | 15 +++ 15 files changed, 89 insertions(+), 80 deletions(-) diff --git a/src/aarch64/Ginit.c b/src/aarch64/Ginit.c index dec235c82..35389762f 100644 --- a/src/aarch64/Ginit.c +++ b/src/aarch64/Ginit.c @@ -61,13 +61,6 @@ tdep_uc_addr (unw_tdep_context_t *uc, int reg) # endif /* UNW_LOCAL_ONLY */ -HIDDEN unw_dyn_info_list_t _U_dyn_info_list; - -/* XXX fix me: there is currently no way to locate the dyn-info list - by a remote unwinder. On ia64, this is done via a special - unwind-table entry. Perhaps something similar can be done with - DWARF2 unwind info. */ - static void put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) { @@ -78,7 +71,13 @@ static int get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, void *arg) { - *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; +#ifndef UNW_LOCAL_ONLY +# pragma weak _U_dyn_info_list_addr + if (!_U_dyn_info_list_addr) +return -UNW_ENOINFO; +#endif + // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. + *dyn_info_list_addr = _U_dyn_info_list_addr (); return 0; } diff --git a/src/arm/Ginit.c b/src/arm/Ginit.c index 2720d063a..0bac0d72d 100644 --- a/src/arm/Ginit.c +++ b/src/arm/Ginit.c @@ -57,18 +57,17 @@ tdep_uc_addr (unw_tdep_context_t *uc, int reg) # endif /* UNW_LOCAL_ONLY */ -HIDDEN unw_dyn_info_list_t _U_dyn_info_list; - -/* XXX fix me: there is currently no way to locate the dyn-info list - by a remote unwinder. On ia64, this is done via a special - unwind-table entry. Perhaps something similar can be done with - DWARF2 unwind info. */ - static int get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, void *arg) { - *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; +#ifndef UNW_LOCAL_ONLY +# pragma weak _U_dyn_info_list_addr + if (!_U_dyn_info_list_addr) +return -UNW_ENOINFO; +#endif + /
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2020-05-11 13:25:48 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new.2738 (New) Package is "libunwind" Mon May 11 13:25:48 2020 rev:41 rq:800115 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2020-02-24 15:49:49.691127375 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new.2738/libunwind.changes 2020-05-11 13:25:50.291166105 +0200 @@ -1,0 +2,27 @@ +Tue Apr 28 15:37:18 UTC 2020 - Pedro Monreal Gonzalez + +- Update to 1.4.0 + - Fix compilation with -fno-common. + - arm: clear ip thumb/arm mode bit before move to previous instruction (#131) + - tests: fix test-coredump-unwind without HAVE_EXECINFO_H (#165) + - There are 20 not 9 failing tests on Solaris (#162) + - change asm to __asm__ to support -std=c11 or similar (#149) + - x86-64: make `is_cached_valid_mem` functional (#146) + - Allow to build without weak `backtrace` symbol. (#142) + - fix compile issue on SH platform (#137) + - Add support for zlib compressed elf .debug_frame sections + - README: add libc requirement description (#121) + - Older systems (e.g. RHEL5) do not have pipe2(). (#122) + - x86_64: Add fixup code if previous RIP was invalid (#120) + - Fix format specifier for int64_t:29 (#117) + - Delete hardcode of address size to support MIPS64. (#114) + - Added braces to suppress empty if/else warnings (#112) + - mips: make _step_n64 as a static function + - x86_64: Fix tdep_init_done when built with libatomic_ops + - x86_64: tsan clean (#109) + - Fixed a missing dependency in dwarf-eh.h + - dwarf: clang doesn't respect the static alias (#102) +- Update libunwind.keyring +- Remove libunwind-gcc10-build-fno-common.patch fixed upstream + +--- Old: libunwind-1.3.1.tar.gz libunwind-1.3.1.tar.gz.sig libunwind-gcc10-build-fno-common.patch New: libunwind-1.4.0.tar.gz libunwind-1.4.0.tar.gz.sig Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.Ci6y6X/_old 2020-05-11 13:25:51.067167732 +0200 +++ /var/tmp/diff_new_pack.Ci6y6X/_new 2020-05-11 13:25:51.067167732 +0200 @@ -16,19 +16,17 @@ # -%define realver 1.3.1 Name: libunwind -Version:1.3.1 +Version:1.4.0 Release:0 Summary:Call chain detection library License:MIT Group: System/Base URL:https://savannah.nongnu.org/projects/libunwind/ -Source0: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz -Source1: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz.sig +Source0: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz +Source1: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz.sig Source2:%{name}.keyring Source3:baselibs.conf -Patch0: libunwind-gcc10-build-fno-common.patch BuildRequires: gcc-c++ BuildRequires: lzma-devel BuildRequires: pkgconfig @@ -47,8 +45,7 @@ A C programming interface (API) to determine the call chain of a program. %prep -%setup -q -n %{name}-%{realver} -%patch0 -p1 +%setup -q -n %{name}-%{version} %build %configure \ ++ libunwind-1.3.1.tar.gz -> libunwind-1.4.0.tar.gz ++ 36494 lines of diff (skipped) ++ libunwind.keyring ++ --- /var/tmp/diff_new_pack.Ci6y6X/_old 2020-05-11 13:25:51.315168251 +0200 +++ /var/tmp/diff_new_pack.Ci6y6X/_new 2020-05-11 13:25:51.315168251 +0200 @@ -1,94 +1,56 @@ +pub rsa3072 2020-03-31 [SC] [expires: 2022-03-31] + 75D2CFC56CC2E935A4143297015A268A17D55FA4 +uid Dave Watson +sub rsa3072 2020-03-31 [E] [expires: 2022-03-31] + pub rsa2048 2012-05-09 [SC] 5C96BDEAF5F47FB02BD4F6B965D98560914F3F48 -uid [ unknown] Arun Sharma -uid [ unknown] Arun Sharma +uid Arun Sharma +uid Arun Sharma sub rsa2048 2012-05-09 [E] -pub rsa4096 2017-01-06 [SC] [expires: 2021-01-06] - 1675C8DA2EF907FB116EB709EC52B396E6874AF2 -uid [ unknown] Dave Watson -sub rsa4096 2017-01-06 [E] [expires: 2021-01-06] +pub dsa1024 2006-01-30 [SCA] [expired: 2011-01-29] + 6FFCE9E0F95031EC7283B919BBCC871FD8CC0CCC +uid David Mosberger-Tang -BEGIN PGP PUBLIC KEY BLOCK- -mQENBE+p9PIBCADThJtMfDqEv862ks3xPS5yyvPxNdab8o37yuUOsajvED09O3RV -s3+aJVmLQMBp5qUxwyqO4FSgoRiGx/PoWKOLMo62xfpWIGWKlmC6t0aKuAZwf+cr -8db5J539wTing2vMshw7hlFvmhrnAfmKNnoT6nzDYmypv+eSUhSWxGzpjb/9S8Vr -DPB7LgHAm
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2020-02-24 15:49:48 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new.26092 (New) Package is "libunwind" Mon Feb 24 15:49:48 2020 rev:40 rq:776256 version:1.3.1 Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2019-07-13 13:35:42.671314886 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new.26092/libunwind.changes 2020-02-24 15:49:49.691127375 +0100 @@ -1,0 +2,7 @@ +Wed Feb 19 09:24:20 UTC 2020 - Pedro Monreal Gonzalez + +- Fix build with GCC-10: [bsc#1160876] + * In GCC-10, the default option -fcommon will change to -fno-common +- Add libunwind-gcc10-build-fno-common.patch + +--- New: libunwind-gcc10-build-fno-common.patch Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.CsAatC/_old 2020-02-24 15:49:50.291128712 +0100 +++ /var/tmp/diff_new_pack.CsAatC/_new 2020-02-24 15:49:50.291128712 +0100 @@ -1,7 +1,7 @@ # # spec file for package libunwind # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,11 +23,12 @@ Summary:Call chain detection library License:MIT Group: System/Base -Url:http://savannah.nongnu.org/projects/libunwind/ -Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz -Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz.sig +URL:https://savannah.nongnu.org/projects/libunwind/ +Source0: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz +Source1: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz.sig Source2:%{name}.keyring Source3:baselibs.conf +Patch0: libunwind-gcc10-build-fno-common.patch BuildRequires: gcc-c++ BuildRequires: lzma-devel BuildRequires: pkgconfig @@ -47,6 +48,7 @@ %prep %setup -q -n %{name}-%{realver} +%patch0 -p1 %build %configure \ ++ libunwind-gcc10-build-fno-common.patch ++ >From 77c9844431a81db39747aaf402637949901f9d01 Mon Sep 17 00:00:00 2001 From: Laurent Stacul Date: Thu, 6 Feb 2020 14:49:35 + Subject: [PATCH] Fix compilation with gcc 10 (which defaulted to -fno-common) --- src/mi/dyn-info-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mi/dyn-info-list.c b/src/mi/dyn-info-list.c index 1c7c55090..4aa174b0c 100644 --- a/src/mi/dyn-info-list.c +++ b/src/mi/dyn-info-list.c @@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "libunwind_i.h" -HIDDEN unw_dyn_info_list_t _U_dyn_info_list; +extern HIDDEN unw_dyn_info_list_t _U_dyn_info_list; unw_word_t _U_dyn_info_list_addr (void)
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2019-07-13 13:35:41 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new.4615 (New) Package is "libunwind" Sat Jul 13 13:35:41 2019 rev:39 rq:713987 version:1.3.1 Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2018-02-23 15:27:47.666865836 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new.4615/libunwind.changes 2019-07-13 13:35:42.671314886 +0200 @@ -1,0 +2,17 @@ +Sun Jul 7 21:45:20 UTC 2019 - Jan Engelhardt + +- Ensure neutrality of description. Avoid name repetition in + summaries. + +--- +Mon Jul 1 09:10:50 UTC 2019 - Andreas Schwab + +- Update to 1.3.1 + * Iteration of unwind register states support + * Freebsd/Armv6 support + * Many, many dwarf bugfixes + * Mips remote unwind support + * aarch64 ptrace support +- fix_versioning_libunwind_1.2.1.patch: removed + +--- Old: fix_versioning_libunwind_1.2.1.patch libunwind-1.2.1.tar.gz libunwind-1.2.1.tar.gz.sig New: libunwind-1.3.1.tar.gz libunwind-1.3.1.tar.gz.sig Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.S3XtYc/_old 2019-07-13 13:35:44.219314476 +0200 +++ /var/tmp/diff_new_pack.S3XtYc/_new 2019-07-13 13:35:44.239314469 +0200 @@ -1,7 +1,7 @@ # # spec file for package libunwind # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,15 +12,15 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define realver 1.2.1 +%define realver 1.3.1 Name: libunwind -Version:1.2.1 +Version:1.3.1 Release:0 -Summary:Unwind Library +Summary:Call chain detection library License:MIT Group: System/Base Url:http://savannah.nongnu.org/projects/libunwind/ @@ -28,8 +28,6 @@ Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz.sig Source2:%{name}.keyring Source3:baselibs.conf -# PATCH-FIX-UPSTREAM fix_versioning_libunwind_1.2.1.patch gh#libunwind/libunwind#30 roni...@gmail.com -- libunwind 1.2.1 UNW_VERSION_MINOR is not an integer. -Patch0: fix_versioning_libunwind_1.2.1.patch BuildRequires: gcc-c++ BuildRequires: lzma-devel BuildRequires: pkgconfig @@ -37,21 +35,18 @@ ExclusiveArch: %{ix86} ia64 x86_64 %{arm} ppc ppc64 ppc64le aarch64 %description -A portable and efficient C programming interface (API) to determine the -call chain of a program. +A C programming interface (API) to determine the call chain of a program. %package devel -Summary:Unwind library +Summary:Headers for the Unwind library Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel -A portable and efficient C programming interface (API) to determine the -call-chain of a program. +A C programming interface (API) to determine the call chain of a program. %prep %setup -q -n %{name}-%{realver} -%patch0 -p1 %build %configure \ @@ -59,7 +54,7 @@ make %{?_smp_mflags} %check -%if ! 0%{?qemu_user_space_build:1} +%if ! 0%{?qemu_user_space_build} # run-coredump-unwind fails make check %{?_smp_mflags} || : %endif ++ libunwind-1.2.1.tar.gz -> libunwind-1.3.1.tar.gz ++ 14657 lines of diff (skipped)
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2018-02-23 15:27:46 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind" Fri Feb 23 15:27:46 2018 rev:38 rq:577961 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2018-02-09 15:41:40.996021481 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2018-02-23 15:27:47.666865836 +0100 @@ -1,0 +2,9 @@ +Sun Feb 18 18:29:20 UTC 2018 - roni...@gmail.com + +- Add patch `fix_versioning_libunwind_1.2.1.patch`. + * This patch fixes the upstream bug gh#libunwind/libunwind#30. +This bug was causing the julia build process to fail. +NOTE: This patch shall be removed in the next version of +libunwind. + +--- New: fix_versioning_libunwind_1.2.1.patch Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.QUpj0Y/_old 2018-02-23 15:27:48.402839248 +0100 +++ /var/tmp/diff_new_pack.QUpj0Y/_new 2018-02-23 15:27:48.406839103 +0100 @@ -28,6 +28,8 @@ Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz.sig Source2:%{name}.keyring Source3:baselibs.conf +# PATCH-FIX-UPSTREAM fix_versioning_libunwind_1.2.1.patch gh#libunwind/libunwind#30 roni...@gmail.com -- libunwind 1.2.1 UNW_VERSION_MINOR is not an integer. +Patch0: fix_versioning_libunwind_1.2.1.patch BuildRequires: gcc-c++ BuildRequires: lzma-devel BuildRequires: pkgconfig @@ -49,6 +51,7 @@ %prep %setup -q -n %{name}-%{realver} +%patch0 -p1 %build %configure \ ++ fix_versioning_libunwind_1.2.1.patch ++ Index: libunwind-1.2.1/configure.ac === --- libunwind-1.2.1.orig/configure.ac +++ libunwind-1.2.1/configure.ac @@ -1,6 +1,6 @@ define(pkg_major, 1) -define(pkg_minor, 2.1) -define(pkg_extra, ) +define(pkg_minor, 2) +define(pkg_extra, 1) define(pkg_maintainer, libunwind-de...@nongnu.org) define(mkvers, $1.$2$3) dnl Process this file with autoconf to produce a configure script. Index: libunwind-1.2.1/configure === --- libunwind-1.2.1.orig/configure +++ libunwind-1.2.1/configure @@ -17376,8 +17376,8 @@ arch="$target_arch" ARCH=`echo $target_arch | tr a-z A-Z` PKG_MAJOR=1 -PKG_MINOR=2.1 -PKG_EXTRA= +PKG_MINOR=2 +PKG_EXTRA=1 PKG_MAINTAINER=libunwind-de...@nongnu.org old_LIBS="$LIBS"
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2018-02-09 15:41:38 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind" Fri Feb 9 15:41:38 2018 rev:37 rq:572004 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2016-07-09 09:17:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2018-02-09 15:41:40.996021481 +0100 @@ -1,0 +2,14 @@ +Fri Feb 2 11:52:05 UTC 2018 - tchva...@suse.com + +- Update keyring + +--- +Wed Jan 24 04:05:11 UTC 2018 - avin...@opensuse.org + +- Upgrade to 1.2.1 + * minor package fixes for tilegx, mips, others + * fix missing include file issues +- cleanup with spec-cleaner +- do not ship static libraries + +--- Old: libunwind-1.2-rc1.tar.gz libunwind-1.2-rc1.tar.gz.sig New: libunwind-1.2.1.tar.gz libunwind-1.2.1.tar.gz.sig Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.SyAWFW/_old 2018-02-09 15:41:41.807992331 +0100 +++ /var/tmp/diff_new_pack.SyAWFW/_new 2018-02-09 15:41:41.811992187 +0100 @@ -1,7 +1,7 @@ # # spec file for package libunwind # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,22 @@ # -%define realver 1.2-rc1 +%define realver 1.2.1 Name: libunwind -Version:1.2~rc1 +Version:1.2.1 Release:0 Summary:Unwind Library License:MIT Group: System/Base Url:http://savannah.nongnu.org/projects/libunwind/ -Source0: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{realver}.tar.gz -Source1: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{realver}.tar.gz.sig +Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz +Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{realver}.tar.gz.sig Source2:%{name}.keyring Source3:baselibs.conf BuildRequires: gcc-c++ BuildRequires: lzma-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(atomic_ops) -BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %{ix86} ia64 x86_64 %{arm} ppc ppc64 ppc64le aarch64 %description @@ -63,21 +62,18 @@ %endif %install -make %{?_smp_mflags} DESTDIR=%{buildroot} install -find %{buildroot} -type f -name "*.la" -delete -print +%make_install +find %{buildroot} -iregex '.*\.l?a$' -delete -print %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-, root, root) %{_libdir}/lib*.so.* %files devel -%defattr(-, root, root) %{_includedir}/* -%{_libdir}/libunwind*.a -%{_libdir}/libunwind*.so -%{_libdir}/pkgconfig/libunwind*.pc +%{_libdir}/%{name}*.so +%{_libdir}/pkgconfig/%{name}*.pc %changelog ++ libunwind-1.2-rc1.tar.gz -> libunwind-1.2.1.tar.gz ++ 3 lines of diff (skipped) ++ libunwind.keyring ++ --- /var/tmp/diff_new_pack.SyAWFW/_old 2018-02-09 15:41:42.247976535 +0100 +++ /var/tmp/diff_new_pack.SyAWFW/_new 2018-02-09 15:41:42.247976535 +0100 @@ -1,5 +1,15 @@ +pub rsa2048 2012-05-09 [SC] + 5C96BDEAF5F47FB02BD4F6B965D98560914F3F48 +uid [ unknown] Arun Sharma +uid [ unknown] Arun Sharma +sub rsa2048 2012-05-09 [E] + +pub rsa4096 2017-01-06 [SC] [expires: 2021-01-06] + 1675C8DA2EF907FB116EB709EC52B396E6874AF2 +uid [ unknown] Dave Watson +sub rsa4096 2017-01-06 [E] [expires: 2021-01-06] + -BEGIN PGP PUBLIC KEY BLOCK- -Version: GnuPG v2 mQENBE+p9PIBCADThJtMfDqEv862ks3xPS5yyvPxNdab8o37yuUOsajvED09O3RV s3+aJVmLQMBp5qUxwyqO4FSgoRiGx/PoWKOLMo62xfpWIGWKlmC6t0aKuAZwf+cr @@ -32,6 +42,53 @@ USWxlvo05cvLhzCsPdcLwrsyyofAi5XBQTuLTmGJn0xHfsFRQxSDk3HrSEWZi5wr 6C1aITcZfPxUQZfRXGw0LO+qpEhqGpAJCZGBNjxaJ49M6Vq/e/fiCaYa5Lvu1Xev T0X1wek3JAlCWe0GLoCjJcY7Xo8ozvV5zxFIo8qVzwMTKD1PfgdGH/nOItNVrRMq -xpQkwtukj/bXrq3Jk3B3Vxy8ZN0obbIr+EtW2qhFPciXEuR/9n78zgojUy4q6g== -=f57A +xpQkwtukj/bXrq3Jk3B3Vxy8ZN0obbIr+EtW2qhFPciXEuR/9n78zgojUy4q6pkC +DQRYcCeYARAA0tXH11cyJKvFbZmWcir3onQ/PrC388+bBqsjmwTELRzVpco5C5+U +aaWEGBgUEArutctRaOL8KPb7mn2Bup5KM63YYXT8hxZMdpBsbyngxKFeDTt/6s9y +JnixOFav2Wi04YCk89aosb4zyEbmHTIDdI4dr0vi0dqw4HpozT7Z0slqwU9Wtgxo +jd5uP/61txk0C6tIF0oWIbUiWsaQdqtE2+IO7Av40rz2re/2U7NDF0Ed78u35KXJ +Trtxy1sfKzWNcccaxA9i1my74RiQsR0YuC
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2016-07-09 09:17:36 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2016-05-26 23:52:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2016-07-09 09:17:45.0 +0200 @@ -1,0 +2,5 @@ +Mon Jun 20 09:12:10 UTC 2016 - tchva...@suse.com + +- Enable minidebugs parsing with lzma + +--- Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.BZ6N6n/_old 2016-07-09 09:17:47.0 +0200 +++ /var/tmp/diff_new_pack.BZ6N6n/_new 2016-07-09 09:17:47.0 +0200 @@ -29,10 +29,11 @@ Source2:%{name}.keyring Source3:baselibs.conf BuildRequires: gcc-c++ -BuildRequires: libatomic_ops-devel -BuildRequires: pkg-config +BuildRequires: lzma-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(atomic_ops) BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 ia64 x86_64 %arm ppc ppc64 ppc64le aarch64 +ExclusiveArch: %{ix86} ia64 x86_64 %{arm} ppc ppc64 ppc64le aarch64 %description A portable and efficient C programming interface (API) to determine the @@ -51,7 +52,8 @@ %setup -q -n %{name}-%{realver} %build -%configure +%configure \ +--enable-minidebuginfo make %{?_smp_mflags} %check
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2016-05-26 23:52:11 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2016-05-12 09:32:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2016-05-26 23:52:12.0 +0200 @@ -1,0 +2,12 @@ +Tue May 17 11:10:54 UTC 2016 - tchva...@suse.com + +- Version update to 1.2-rc1, should include all our patches: + * 0001-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch + * 0002-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch + * libunwind-1.1-expected-fails.patch + * libunwind-CVE-2015-3239.patch + * libunwind-aarch64.patch + * libunwind-ppc64le.patch + * libunwind-1.1-tests.diff + +--- Old: 0001-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch 0002-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch libunwind-1.1-expected-fails.patch libunwind-1.1-tests.diff libunwind-1.1.tar.gz libunwind-1.1.tar.gz.sig libunwind-CVE-2015-3239.patch libunwind-aarch64.patch libunwind-ppc64le.patch New: libunwind-1.2-rc1.tar.gz libunwind-1.2-rc1.tar.gz.sig Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.i3HgmC/_old 2016-05-26 23:52:13.0 +0200 +++ /var/tmp/diff_new_pack.i3HgmC/_new 2016-05-26 23:52:13.0 +0200 @@ -16,35 +16,20 @@ # +%define realver 1.2-rc1 Name: libunwind -Version:1.1 +Version:1.2~rc1 Release:0 Summary:Unwind Library License:MIT Group: System/Base Url:http://savannah.nongnu.org/projects/libunwind/ -Source0: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz -Source1: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz.sig +Source0: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{realver}.tar.gz +Source1: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{realver}.tar.gz.sig Source2:%{name}.keyring Source3:baselibs.conf -Patch0: libunwind-1.1-tests.diff -#PATCH-FIX-UPSTREAM: upstream commit ae3dd9417a3d178cf51ce744d85b695dbf025b44 -Patch1: libunwind-1.1-expected-fails.patch -# PATCH-FIX-UPSTREAM: upstream commit ac6c0a6 -Patch2: libunwind-aarch64.patch -# PATCH-FIX-UPSTREAM: uweig...@de.ibm.com -- submitted to libunwind-devel -Patch3: libunwind-ppc64le.patch -# PATCH-FIX-UPSTREAM: bnc#936786 CVE-2015-3239 -Patch4: libunwind-CVE-2015-3239.patch -# PATCH-FIX-UPSTREAM: boo#976955 -Patch5: 0001-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch -# PATCH-FIX-UPSTREAM: boo#976955 -Patch6: 0002-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch -BuildRequires: autoconf -BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libatomic_ops-devel -BuildRequires: libtool BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 ia64 x86_64 %arm ppc ppc64 ppc64le aarch64 @@ -56,64 +41,41 @@ %package devel Summary:Unwind library Group: Development/Libraries/C and C++ -Requires: libunwind = %{version}-%{release} -Provides: libunwind:%{_libdir}/libunwind.so +Requires: %{name} = %{version} %description devel A portable and efficient C programming interface (API) to determine the call-chain of a program. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 +%setup -q -n %{name}-%{realver} %build -autoreconf -fvi %configure make %{?_smp_mflags} %check %if ! 0%{?qemu_user_space_build:1} +# run-coredump-unwind fails make check %{?_smp_mflags} || : %endif %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +make %{?_smp_mflags} DESTDIR=%{buildroot} install find %{buildroot} -type f -name "*.la" -delete -print -mkdir -p %{buildroot}/%{_lib} -mv %{buildroot}%{_libdir}/libunwind.so.8* %{buildroot}/%{_lib} -ln -sf /%{_lib}/libunwind.so.8 %{buildroot}%{_libdir}/libunwind.so -# Check that ln did not create a dangling link -stat %{buildroot}/$(readlink -f "%{buildroot}/%{_libdir}/libunwind.so"); %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %files %defattr(-, root, root) -/%{_lib}/lib* %{_libdir}/lib*.so.* -%{_libdir}/libunwind.so %files devel %defattr(-, root, root) %{_includedir}/* -%{_libdir}/lib*.a -%{_libdir}/libunwind-*.so -%{_libdi
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2016-05-12 09:32:00 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2015-07-21 13:23:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2016-05-12 09:32:02.0 +0200 @@ -1,0 +2,7 @@ +Sun Apr 24 16:25:21 UTC 2016 - matwey.korni...@gmail.com + +- Add patches for boo#976955: + * 0001-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch + * 0002-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch + +--- New: 0001-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch 0002-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.yz6E3g/_old 2016-05-12 09:32:03.0 +0200 +++ /var/tmp/diff_new_pack.yz6E3g/_new 2016-05-12 09:32:03.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package libunwind # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,6 +36,10 @@ Patch3: libunwind-ppc64le.patch # PATCH-FIX-UPSTREAM: bnc#936786 CVE-2015-3239 Patch4: libunwind-CVE-2015-3239.patch +# PATCH-FIX-UPSTREAM: boo#976955 +Patch5: 0001-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch +# PATCH-FIX-UPSTREAM: boo#976955 +Patch6: 0002-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -66,6 +70,8 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 +%patch6 -p1 %build autoreconf -fvi ++ 0001-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch ++ >From c90a2e02b3c1b03362a549a05261a4d0513d6026 Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Tue, 21 Oct 2014 15:43:20 -0700 Subject: [PATCH] Mark run-ptrace-mapper and run-ptrace-misc as XFAIL on MIPS Though PTRACE_SINGLESTEP is defined on MIPS Linux, the kernel does not support that kind of request. The ptrace call failed and sets errno to EIO and paused process is not resumed. In case of run-ptrace-mapper and run-ptrace-misc this leads to hanged execution because next call to wait4 never returns. This change adds run-ptrace-mapper and run-ptrace-misc to the list of 'expected failed' tests on MIPS targets. Signed-off-by: Simon Atanasyan --- tests/Makefile.am | 9 - tests/test-ptrace.c | 12 ++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 9c76628..9c62f92 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -94,9 +94,16 @@ check_SCRIPTS = $(check_SCRIPTS_common) $(check_SCRIPTS_cdep) \ TESTS = $(check_PROGRAMS) $(check_SCRIPTS) +XFAIL_TESTS = if !ARCH_IA64 -XFAIL_TESTS = Gtest-dyn1 Ltest-dyn1 +XFAIL_TESTS += Gtest-dyn1 Ltest-dyn1 +endif + +if ARCH_MIPS +# MIPS kernel does not support PTRACE_SINGLESTEP +# ptrace request used in the tests. +XFAIL_TESTS += run-ptrace-mapper run-ptrace-misc endif noinst_PROGRAMS = $(noinst_PROGRAMS_common) $(noinst_PROGRAMS_cdep) \ diff --git a/tests/test-ptrace.c b/tests/test-ptrace.c index 942b0db..a5b71dd 100644 --- a/tests/test-ptrace.c +++ b/tests/test-ptrace.c @@ -303,9 +303,17 @@ main (int argc, char **argv) { do_backtrace (); #if HAVE_DECL_PTRACE_SINGLESTEP - ptrace (PTRACE_SINGLESTEP, target_pid, 0, pending_sig); + if (ptrace (PTRACE_SINGLESTEP, target_pid, 0, pending_sig) < 0) + { +panic ("ptrace(PTRACE_SINGLESTEP) failed (errno=%d)\n", errno); +killed = 1; + } #elif HAVE_DECL_PT_STEP - ptrace (PT_STEP, target_pid, (caddr_t)1, pending_sig); + if (ptrace (PT_STEP, target_pid, (caddr_t)1, pending_sig) < 0) + { +panic ("ptrace(PT_STEP) failed (errno=%d)\n", errno); +killed = 1; + } #else #error Singlestep me #endif -- 2.1.4 ++ 0002-Mark-run-ptrace-mapper-and-run-ptrace-misc-as-XFAIL-.patch ++ >From 0bed10aa217157b287e036fba1e48ad2c6a3356e Mon Sep 17 00:00:00 2001 From: Gregory Fong Date: Wed, 18 Feb 2015 13:18:41 -0800 Subject: [PATCH] Mark run-ptrace-mapper and run-ptrace-misc as XFAIL on ARM This is similar to commit c90a2e02b3c1b03362a549a05261a4d0513d6026 "Mark
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2015-07-21 13:23:37 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2015-04-02 16:01:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2015-07-21 13:23:39.0 +0200 @@ -1,0 +2,6 @@ +Thu Jul 2 12:47:57 UTC 2015 - tchva...@suse.com + +- Add patch for bnc#936786 CVE-2015-3239, off by one: + * libunwind-CVE-2015-3239.patch + +--- New: libunwind-CVE-2015-3239.patch Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.aFFwXf/_old 2015-07-21 13:23:40.0 +0200 +++ /var/tmp/diff_new_pack.aFFwXf/_new 2015-07-21 13:23:40.0 +0200 @@ -34,6 +34,8 @@ Patch2: libunwind-aarch64.patch # PATCH-FIX-UPSTREAM: uweig...@de.ibm.com -- submitted to libunwind-devel Patch3: libunwind-ppc64le.patch +# PATCH-FIX-UPSTREAM: bnc#936786 CVE-2015-3239 +Patch4: libunwind-CVE-2015-3239.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -63,6 +65,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build autoreconf -fvi ++ libunwind-CVE-2015-3239.patch ++ Index: libunwind-1.1/include/dwarf_i.h === --- libunwind-1.1.orig/include/dwarf_i.h +++ libunwind-1.1/include/dwarf_i.h @@ -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
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2015-04-02 16:01:54 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2015-03-16 06:51:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2015-04-02 16:01:55.0 +0200 @@ -1,0 +2,5 @@ +Sun Mar 29 18:47:32 UTC 2015 - meiss...@suse.com + +- added baselibs.conf for -xxbit packages + +--- New: baselibs.conf Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.fEaH14/_old 2015-04-02 16:01:56.0 +0200 +++ /var/tmp/diff_new_pack.fEaH14/_new 2015-04-02 16:01:56.0 +0200 @@ -26,6 +26,7 @@ Source0: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz Source1: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz.sig Source2:%{name}.keyring +Source3:baselibs.conf Patch0: libunwind-1.1-tests.diff #PATCH-FIX-UPSTREAM: upstream commit ae3dd9417a3d178cf51ce744d85b695dbf025b44 Patch1: libunwind-1.1-expected-fails.patch ++ baselibs.conf ++ libunwind
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2015-03-16 06:51:55 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2014-05-22 20:38:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2015-03-16 06:51:56.0 +0100 @@ -1,0 +2,6 @@ +Wed Mar 4 12:02:48 UTC 2015 - mplus...@suse.com + +- Use url for source +- Add gpg signature + +--- New: libunwind-1.1.tar.gz.sig libunwind.keyring Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.8cVLvl/_old 2015-03-16 06:51:57.0 +0100 +++ /var/tmp/diff_new_pack.8cVLvl/_new 2015-03-16 06:51:57.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libunwind # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,9 @@ License:MIT Group: System/Base Url:http://savannah.nongnu.org/projects/libunwind/ -Source: libunwind-%{version}.tar.gz +Source0: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz +Source1: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz.sig +Source2:%{name}.keyring Patch0: libunwind-1.1-tests.diff #PATCH-FIX-UPSTREAM: upstream commit ae3dd9417a3d178cf51ce744d85b695dbf025b44 Patch1: libunwind-1.1-expected-fails.patch @@ -38,7 +40,7 @@ BuildRequires: libtool BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 ia64 x86_64 %{arm} ppc ppc64 ppc64le aarch64 +ExclusiveArch: %ix86 ia64 x86_64 %arm ppc ppc64 ppc64le aarch64 %description A portable and efficient C programming interface (API) to determine the @@ -99,7 +101,7 @@ %{_libdir}/pkgconfig/libunwind-ptrace.pc %{_libdir}/pkgconfig/libunwind-setjmp.pc %{_libdir}/pkgconfig/libunwind.pc -%ifarch %{arm} %ix86 x86_64 aarch64 +%ifarch %arm %ix86 x86_64 aarch64 %{_libdir}/pkgconfig/libunwind-coredump.pc %endif %doc %{_mandir}/man?/* -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2014-05-22 20:38:31 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2013-12-22 19:36:14.0 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2014-05-22 20:38:52.0 +0200 @@ -1,0 +2,7 @@ +Mon May 19 12:26:43 UTC 2014 - tchva...@suse.com + +- Clean up with spec-cleaner +- Add dependency over libatomic_opts that was missing +- Do not disable fortify-sources as it seems to work with it anyway + +--- Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.hQCACX/_old 2014-05-22 20:38:53.0 +0200 +++ /var/tmp/diff_new_pack.hQCACX/_new 2014-05-22 20:38:53.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package libunwind # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,12 @@ Name: libunwind -BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: pkg-config -Url:http://savannah.nongnu.org/projects/libunwind/ +Version:1.1 +Release:0 Summary:Unwind Library License:MIT Group: System/Base -Version:1.1 -Release:0 +Url:http://savannah.nongnu.org/projects/libunwind/ Source: libunwind-%{version}.tar.gz Patch0: libunwind-1.1-tests.diff #PATCH-FIX-UPSTREAM: upstream commit ae3dd9417a3d178cf51ce744d85b695dbf025b44 @@ -34,19 +31,19 @@ Patch2: libunwind-aarch64.patch # PATCH-FIX-UPSTREAM: uweig...@de.ibm.com -- submitted to libunwind-devel Patch3: libunwind-ppc64le.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libatomic_ops-devel +BuildRequires: libtool +BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 ia64 x86_64 %arm ppc ppc64 ppc64le aarch64 +ExclusiveArch: %ix86 ia64 x86_64 %{arm} ppc ppc64 ppc64le aarch64 %description A portable and efficient C programming interface (API) to determine the call chain of a program. - - -Authors: - -David Mosberger - %package devel Summary:Unwind library Group: Development/Libraries/C and C++ @@ -57,12 +54,6 @@ A portable and efficient C programming interface (API) to determine the call-chain of a program. - - -Authors: - -David Mosberger - %prep %setup -q %patch0 -p1 @@ -71,25 +62,23 @@ %patch3 -p1 %build -autoreconf -fi -export CFLAGS="%optflags -U_FORTIFY_SOURCE" +autoreconf -fvi %configure make %{?_smp_mflags} %check %if ! 0%{?qemu_user_space_build:1} -# There are some expected failures -make -k check || : +make check %{?_smp_mflags} || : %endif %install -make install DESTDIR=$RPM_BUILD_ROOT -rm -f "%buildroot/%_libdir"/*.la -mkdir -p $RPM_BUILD_ROOT/%{_lib} -mv $RPM_BUILD_ROOT%{_libdir}/libunwind.so.8* $RPM_BUILD_ROOT/%{_lib} -ln -sf /%{_lib}/libunwind.so.8 $RPM_BUILD_ROOT%{_libdir}/libunwind.so +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print +mkdir -p %{buildroot}/%{_lib} +mv %{buildroot}%{_libdir}/libunwind.so.8* %{buildroot}/%{_lib} +ln -sf /%{_lib}/libunwind.so.8 %{buildroot}%{_libdir}/libunwind.so # Check that ln did not create a dangling link -stat "%buildroot"/$(readlink -f "%buildroot/%_libdir/libunwind.so"); +stat %{buildroot}/$(readlink -f "%{buildroot}/%{_libdir}/libunwind.so"); %post -p /sbin/ldconfig @@ -97,20 +86,20 @@ %files %defattr(-, root, root) -/%_lib/lib* +/%{_lib}/lib* %{_libdir}/lib*.so.* %{_libdir}/libunwind.so %files devel %defattr(-, root, root) -%{_prefix}/include/* +%{_includedir}/* %{_libdir}/lib*.a %{_libdir}/libunwind-*.so %{_libdir}/pkgconfig/libunwind-generic.pc %{_libdir}/pkgconfig/libunwind-ptrace.pc %{_libdir}/pkgconfig/libunwind-setjmp.pc %{_libdir}/pkgconfig/libunwind.pc -%ifarch %arm %ix86 x86_64 aarch64 +%ifarch %{arm} %ix86 x86_64 aarch64 %{_libdir}/pkgconfig/libunwind-coredump.pc %endif %doc %{_mandir}/man?/* -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2013-12-22 19:36:13 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2013-08-13 10:48:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2013-12-22 19:36:14.0 +0100 @@ -1,0 +2,10 @@ +Tue Dec 17 21:07:33 UTC 2013 - uweig...@de.ibm.com + +- libunwind-ppc64le.patch: Add support for ppc64le + +--- +Wed Dec 11 20:17:22 UTC 2013 - dval...@suse.com + +- add ppc64le + +--- New: libunwind-ppc64le.patch Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.BIwmN2/_old 2013-12-22 19:36:15.0 +0100 +++ /var/tmp/diff_new_pack.BIwmN2/_new 2013-12-22 19:36:15.0 +0100 @@ -32,8 +32,10 @@ Patch1: libunwind-1.1-expected-fails.patch # PATCH-FIX-UPSTREAM: upstream commit ac6c0a6 Patch2: libunwind-aarch64.patch +# PATCH-FIX-UPSTREAM: uweig...@de.ibm.com -- submitted to libunwind-devel +Patch3: libunwind-ppc64le.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 ia64 x86_64 %arm ppc ppc64 aarch64 +ExclusiveArch: %ix86 ia64 x86_64 %arm ppc ppc64 ppc64le aarch64 %description A portable and efficient C programming interface (API) to determine the @@ -66,6 +68,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build autoreconf -fi ++ libunwind-ppc64le.patch ++ Index: libunwind-1.1/tests/Makefile.am === --- libunwind-1.1.orig/tests/Makefile.am +++ libunwind-1.1/tests/Makefile.am @@ -193,3 +193,4 @@ Lia64_test_rbs_LDADD = $(LIBUNWIND_local Lia64_test_readonly_LDADD = $(LIBUNWIND_local) ia64_test_dyn1_LDADD = $(LIBUNWIND) ia64_test_sig_LDADD = $(LIBUNWIND) $(LIBUNWIND_local) +ppc64_test_altivec_LDADD = $(LIBUNWIND) Index: libunwind-1.1/src/dwarf/Gexpr.c === --- libunwind-1.1.orig/src/dwarf/Gexpr.c +++ libunwind-1.1/src/dwarf/Gexpr.c @@ -212,12 +212,13 @@ dwarf_eval_expr (struct dwarf_cursor *c, }) # define push(x) \ do { \ + unw_word_t _x = (x); \ if (tos >= MAX_EXPR_STACK_SIZE) \ { \ Debug (1, "Stack overflow\n"); \ return -UNW_EINVAL; \ } \ - stack[tos++] = (x); \ + stack[tos++] = _x; \ } while (0) # define pick(n) \ ({ \ Index: libunwind-1.1/src/elfxx.c === --- libunwind-1.1.orig/src/elfxx.c +++ libunwind-1.1/src/elfxx.c @@ -128,10 +128,11 @@ elf_w (lookup_symbol) (unw_addr_space_t if (ELF_W (ST_TYPE) (sym->st_info) == STT_FUNC && sym->st_shndx != SHN_UNDEF) { - if (tdep_get_func_addr (as, sym->st_value, &val) < 0) - continue; + val = sym->st_value; if (sym->st_shndx != SHN_ABS) val += load_offset; + if (tdep_get_func_addr (as, val, &val) < 0) + continue; Debug (16, "0x%016lx info=0x%02x %s\n", (long) val, sym->st_info, strtab + sym->st_name); Index: libunwind-1.1/include/libunwind-ppc64.h === --- libunwind-1.1.orig/include/libunwind-ppc64.h +++ libunwind-1.1/include/libunwind-ppc64.h @@ -222,6 +222,13 @@ typedef enum } ppc64_regnum_t; +typedef enum + { +UNW_PPC64_ABI_ELFv1, +UNW_PPC64_ABI_ELFv2 + } +ppc64_abi_t; + /* * According to David Edelsohn, GNU gcc uses R3, R4, R5, and maybe R6 for * passing parameters to exception handlers. Index: libunwind-1.1/include/tdep-ppc64/dwarf-config.h === --- libunwind-1.1.orig/include/tdep-ppc64/dwarf-config.h +++ libunwind-1.1/include/tdep-ppc64/dwarf-config.h @@ -38,7 +38,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE #define DWARF_REGNUM_MAP_LENGTH115 /* Return TRUE if the ADDR_SPACE uses big-endian byte-order. */ -#define dwarf_is_big_endian(addr_s
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2013-08-13 10:48:39 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2013-01-29 14:19:34.0 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2013-08-13 10:48:40.0 +0200 @@ -1,0 +2,5 @@ +Mon Aug 12 10:46:30 UTC 2013 - sch...@suse.de + +- libunwind-aarch64.patch: Add support for AArch64 from upstream + +--- New: libunwind-aarch64.patch Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.AxE5aV/_old 2013-08-13 10:48:40.0 +0200 +++ /var/tmp/diff_new_pack.AxE5aV/_new 2013-08-13 10:48:40.0 +0200 @@ -30,8 +30,10 @@ Patch0: libunwind-1.1-tests.diff #PATCH-FIX-UPSTREAM: upstream commit ae3dd9417a3d178cf51ce744d85b695dbf025b44 Patch1: libunwind-1.1-expected-fails.patch +# PATCH-FIX-UPSTREAM: upstream commit ac6c0a6 +Patch2: libunwind-aarch64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 ia64 x86_64 %arm ppc ppc64 +ExclusiveArch: %ix86 ia64 x86_64 %arm ppc ppc64 aarch64 %description A portable and efficient C programming interface (API) to determine the @@ -63,6 +65,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build autoreconf -fi @@ -104,7 +107,7 @@ %{_libdir}/pkgconfig/libunwind-ptrace.pc %{_libdir}/pkgconfig/libunwind-setjmp.pc %{_libdir}/pkgconfig/libunwind.pc -%ifarch %arm %ix86 x86_64 +%ifarch %arm %ix86 x86_64 aarch64 %{_libdir}/pkgconfig/libunwind-coredump.pc %endif %doc %{_mandir}/man?/* ++ libunwind-aarch64.patch ++ 2613 lines (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2013-01-29 14:19:33 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind", Maintainer is "mvysko...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2012-12-19 11:10:48.0 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2013-01-29 14:19:34.0 +0100 @@ -1,0 +2,5 @@ +Sat Jan 26 08:19:34 UTC 2013 - dmuel...@suse.com + +- filelist fix for ARM + +--- Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.5kmFhp/_old 2013-01-29 14:19:35.0 +0100 +++ /var/tmp/diff_new_pack.5kmFhp/_new 2013-01-29 14:19:35.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libunwind # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -104,7 +104,7 @@ %{_libdir}/pkgconfig/libunwind-ptrace.pc %{_libdir}/pkgconfig/libunwind-setjmp.pc %{_libdir}/pkgconfig/libunwind.pc -%ifarch i586 x86_64 +%ifarch %arm %ix86 x86_64 %{_libdir}/pkgconfig/libunwind-coredump.pc %endif %doc %{_mandir}/man?/* -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2012-12-19 11:10:46 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind", Maintainer is "mvysko...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2012-08-22 12:13:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2012-12-19 11:10:48.0 +0100 @@ -1,0 +2,16 @@ +Tue Dec 11 18:15:57 UTC 2012 - dval...@suse.com + +- update to libunwind 1.1: +coredump unwind support +New arch: SuperH +Improved support for PowerPC, ARM +Lots of cleanups, perf tweaks +pkg-config support + +- drop all upstreamed patches +- refresh libunwind-1.1-tests.diff patch +- enable ppc ppc64 build +- Mark some tests as expected to fail + libunwind-1.1-expected-fails.patch + +--- Old: 20120704_fix_arm_ftbfs.patch libunwind-1.0.1-ia64.diff libunwind-1.0.1-memset.diff libunwind-1.0.1-tests.diff libunwind-1.0.1.tar.gz New: libunwind-1.1-expected-fails.patch libunwind-1.1-tests.diff libunwind-1.1.tar.gz Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.NXw8Bf/_old 2012-12-19 11:10:55.0 +0100 +++ /var/tmp/diff_new_pack.NXw8Bf/_new 2012-12-19 11:10:55.0 +0100 @@ -19,19 +19,19 @@ Name: libunwind BuildRequires: gcc-c++ BuildRequires: libtool +BuildRequires: pkg-config Url:http://savannah.nongnu.org/projects/libunwind/ Summary:Unwind Library License:MIT Group: System/Base -Version:1.0.1 +Version:1.1 Release:0 Source: libunwind-%{version}.tar.gz -Patch0: libunwind-1.0.1-ia64.diff -Patch1: libunwind-1.0.1-memset.diff -Patch2: libunwind-1.0.1-tests.diff -Patch3: 20120704_fix_arm_ftbfs.patch +Patch0: libunwind-1.1-tests.diff +#PATCH-FIX-UPSTREAM: upstream commit ae3dd9417a3d178cf51ce744d85b695dbf025b44 +Patch1: libunwind-1.1-expected-fails.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 ia64 x86_64 %arm +ExclusiveArch: %ix86 ia64 x86_64 %arm ppc ppc64 %description A portable and efficient C programming interface (API) to determine the @@ -63,9 +63,6 @@ %setup -q %patch0 -p1 %patch1 -p1 -%patch2 -%patch3 -p1 -# %patch %build autoreconf -fi @@ -103,6 +100,13 @@ %{_prefix}/include/* %{_libdir}/lib*.a %{_libdir}/libunwind-*.so +%{_libdir}/pkgconfig/libunwind-generic.pc +%{_libdir}/pkgconfig/libunwind-ptrace.pc +%{_libdir}/pkgconfig/libunwind-setjmp.pc +%{_libdir}/pkgconfig/libunwind.pc +%ifarch i586 x86_64 +%{_libdir}/pkgconfig/libunwind-coredump.pc +%endif %doc %{_mandir}/man?/* %changelog ++ libunwind-1.1-expected-fails.patch ++ Index: libunwind-1.1/tests/Makefile.am === --- libunwind-1.1.orig/tests/Makefile.am +++ libunwind-1.1/tests/Makefile.am @@ -87,6 +87,10 @@ check_SCRIPTS = $(check_SCRIPTS_common) TESTS = $(check_PROGRAMS) $(check_SCRIPTS) +if !ARCH_IA64 +XFAIL_TESTS = Gtest-dyn1 Ltest-dyn1 +endif + noinst_PROGRAMS = $(noinst_PROGRAMS_common) $(noinst_PROGRAMS_cdep) \ $(noinst_PROGRAMS_arch) ++ libunwind-1.0.1-tests.diff -> libunwind-1.1-tests.diff ++ --- /work/SRC/openSUSE:Factory/libunwind/libunwind-1.0.1-tests.diff 2011-11-08 09:26:00.0 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind-1.1-tests.diff 2012-12-19 11:10:48.0 +0100 @@ -1,52 +1,10 @@ tests/Makefile.am -+++ tests/Makefile.am -@@ -82,14 +82,20 @@ - - Lia64_test_readonly_SOURCES = Lia64-test-readonly.c ia64-test-readonly-asm.S - Gia64_test_readonly_SOURCES = Gia64-test-readonly.c ia64-test-readonly-asm.S +Index: libunwind-1.1/tests/Makefile.am +=== +--- libunwind-1.1.orig/tests/Makefile.am libunwind-1.1/tests/Makefile.am +@@ -188,4 +188,4 @@ Lia64_test_stack_LDADD = $(LIBUNWIND_loc + Lia64_test_rbs_LDADD = $(LIBUNWIND_local) + Lia64_test_readonly_LDADD = $(LIBUNWIND_local) + ia64_test_dyn1_LDADD = $(LIBUNWIND) +-ia64_test_sig_LDADD = $(LIBUNWIND) +ia64_test_sig_LDADD = $(LIBUNWIND) $(LIBUNWIND_local) -+Gia64_test_sig_LDADD = $(LIBUNWIND) $(LIBUNWIND_local) -+Gia64_test_readonly_LDADD = $(LIBUNWIND) $(LIBUNWIND_local) - Lia64_test_stack_SOURCES = Lia64-test-stack.c ia64-test-stack-asm.S \ - ia64-test-stack.h - Gia64_test_stack_SOURCES = Gia64-test-stack.c ia64-test-stack-asm.S \ -
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2012-08-22 12:12:56 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind", Maintainer is "mvysko...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2012-03-16 13:18:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2012-08-22 12:13:05.0 +0200 @@ -1,0 +2,5 @@ +Mon Aug 20 23:37:17 UTC 2012 - ag...@suse.com + +- add support for ARM + +--- New: 20120704_fix_arm_ftbfs.patch Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.vAQ4XJ/_old 2012-08-22 12:13:06.0 +0200 +++ /var/tmp/diff_new_pack.vAQ4XJ/_new 2012-08-22 12:13:06.0 +0200 @@ -29,8 +29,9 @@ Patch0: libunwind-1.0.1-ia64.diff Patch1: libunwind-1.0.1-memset.diff Patch2: libunwind-1.0.1-tests.diff +Patch3: 20120704_fix_arm_ftbfs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 ia64 x86_64 +ExclusiveArch: %ix86 ia64 x86_64 %arm %description A portable and efficient C programming interface (API) to determine the @@ -63,6 +64,7 @@ %patch0 -p1 %patch1 -p1 %patch2 +%patch3 -p1 # %patch %build ++ 20120704_fix_arm_ftbfs.patch ++ Description: Fix FTBFS on ARM based architectures Origin: http://git.savannah.gnu.org/gitweb/?p=libunwind.git;a=commitdiff;h=0eba2169fb19ef0707a2c96201e33769001b5f11 Index: libunwind/include/libunwind-arm.h === --- libunwind.orig/include/libunwind-arm.h 2012-07-04 11:28:50.79095 +0100 +++ libunwind/include/libunwind-arm.h 2012-07-04 11:35:00.514253939 +0100 @@ -30,7 +30,7 @@ #endif #include -#include +#include #define UNW_TARGET arm #define UNW_TARGET_ARM 1 @@ -250,8 +250,14 @@ } unw_tdep_save_loc_t; -/* On ARM, we can directly use ucontext_t as the unwind context. */ -typedef ucontext_t unw_tdep_context_t; +/* On ARM, we define our own unw_tdep_context instead of using ucontext_t. + This allows us to support systems that don't support getcontext and + therefore do not define ucontext_t. */ +typedef struct unw_tdep_context + { +unsigned long regs[16]; + } +unw_tdep_context_t; /* There is no getcontext() on ARM. Use a stub version which only saves GP registers. FIXME: Not ideal, may not be sufficient for all libunwind @@ -259,8 +265,7 @@ #ifndef __thumb__ #define unw_tdep_getcontext(uc) (({\ unw_tdep_context_t *unw_ctx = (uc); \ - register int unw_base asm ("r0") \ -= (int) (&unw_ctx->uc_mcontext.arm_r0);\ + register unsigned long *unw_base asm ("r0") = unw_ctx->regs; \ __asm__ __volatile__ ( \ "stmia %[base], {r0-r15}" \ : : [base] "r" (unw_base) : "memory"); \ @@ -268,8 +273,7 @@ #else /* __thumb__ */ #define unw_tdep_getcontext(uc) (({\ unw_tdep_context_t *unw_ctx = (uc); \ - register int unw_base asm ("r0") \ -= (int) (&unw_ctx->uc_mcontext.arm_r0);\ + register unsigned long *unw_base asm ("r0") = unw_ctx->regs; \ __asm__ __volatile__ ( \ ".align 2\nbx pc\nnop\n.code 32\n" \ "stmia %[base], {r0-r15}\n" \ Index: libunwind/include/tdep-arm/libunwind_i.h === --- libunwind.orig/include/tdep-arm/libunwind_i.h 2012-07-04 11:28:50.79095 +0100 +++ libunwind/include/tdep-arm/libunwind_i.h2012-07-04 11:35:00.514253939 +0100 @@ -274,7 +274,7 @@ extern int tdep_search_unwind_table (unw_addr_space_t as, unw_word_t ip, unw_dyn_info_t *di, unw_proc_info_t *pi, int need_unwind_info, void *arg); -extern void *tdep_uc_addr (ucontext_t *uc, int reg); +extern void *tdep_uc_addr (unw_tdep_context_t *uc, int reg); extern int tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip, unsigned long *segbase, unsigned long *mapoff, char *path, size_t pathle
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2012-03-16 13:17:31 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind", Maintainer is "mvysko...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2012-02-17 12:01:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2012-03-16 13:18:59.0 +0100 @@ -1,0 +2,5 @@ +Mon Mar 5 22:35:56 CET 2012 - dmuel...@suse.de + +- remove build from ARM + +--- Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.vNyhYa/_old 2012-03-16 13:19:00.0 +0100 +++ /var/tmp/diff_new_pack.vNyhYa/_new 2012-03-16 13:19:00.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libunwind # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,20 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: libunwind -BuildRequires: gcc-c++ libtool +BuildRequires: gcc-c++ +BuildRequires: libtool Url:http://savannah.nongnu.org/projects/libunwind/ Summary:Unwind Library -Version:1.0.1 -Release:34 -Group: System/Base License:MIT +Group: System/Base +Version:1.0.1 +Release:0 Source: libunwind-%{version}.tar.gz Patch0: libunwind-1.0.1-ia64.diff Patch1: libunwind-1.0.1-memset.diff Patch2: libunwind-1.0.1-tests.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 ia64 x86_64 %arm +ExclusiveArch: %ix86 ia64 x86_64 %description A portable and efficient C programming interface (API) to determine the -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2012-02-17 12:01:39 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind", Maintainer is "mvysko...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2011-11-24 11:36:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2012-02-17 12:01:41.0 +0100 @@ -1,0 +2,8 @@ +Thu Feb 9 15:53:49 UTC 2012 - jeng...@medozas.de + +- Remove redundant tags/sections +- Fix dangling symlink /usr/lib/libunwind.so (which was + pointing at "libunwind.so.8.*", verbatim asterisk) +- Throw out .la file + +--- Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.T0B4ms/_old 2012-02-17 12:01:42.0 +0100 +++ /var/tmp/diff_new_pack.T0B4ms/_new 2012-02-17 12:01:42.0 +0100 @@ -15,9 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: libunwind BuildRequires: gcc-c++ libtool Url:http://savannah.nongnu.org/projects/libunwind/ @@ -44,7 +41,6 @@ David Mosberger %package devel -License:MIT Summary:Unwind library Group: Development/Libraries/C and C++ Requires: libunwind = %{version}-%{release} @@ -69,9 +65,8 @@ %build autoreconf -fi -RPM_OPT_FLAGS="$RPM_OPT_FLAGS -U_FORTIFY_SOURCE" -./configure "CFLAGS=$RPM_OPT_FLAGS" --prefix=/usr --mandir=%{_mandir} \ - --libdir=%{_libdir} --build=%{_target_cpu}-suse-linux +export CFLAGS="%optflags -U_FORTIFY_SOURCE" +%configure make %{?_smp_mflags} %check @@ -82,17 +77,17 @@ %install make install DESTDIR=$RPM_BUILD_ROOT +rm -f "%buildroot/%_libdir"/*.la mkdir -p $RPM_BUILD_ROOT/%{_lib} mv $RPM_BUILD_ROOT%{_libdir}/libunwind.so.8* $RPM_BUILD_ROOT/%{_lib} -ln -sf ../../%{_lib}/libunwind.so.8.* $RPM_BUILD_ROOT%{_libdir}/libunwind.so +ln -sf /%{_lib}/libunwind.so.8 $RPM_BUILD_ROOT%{_libdir}/libunwind.so +# Check that ln did not create a dangling link +stat "%buildroot"/$(readlink -f "%buildroot/%_libdir/libunwind.so"); %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-, root, root) /%_lib/lib* @@ -103,7 +98,6 @@ %defattr(-, root, root) %{_prefix}/include/* %{_libdir}/lib*.a -%{_libdir}/lib*.la %{_libdir}/libunwind-*.so %doc %{_mandir}/man?/* -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2011-11-24 12:36:06 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind", Maintainer is "mvysko...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2011-11-08 09:26:00.0 +0100 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2011-11-24 11:36:20.0 +0100 @@ -1,0 +2,10 @@ +Wed Nov 23 09:24:25 UTC 2011 - co...@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +--- +Mon Nov 7 19:12:14 CET 2011 - dmuel...@suse.de + +- disable testsuite when running under qemu + +--- Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.t4Czrh/_old 2011-11-24 11:36:22.0 +0100 +++ /var/tmp/diff_new_pack.t4Czrh/_new 2011-11-24 11:36:22.0 +0100 @@ -19,7 +19,7 @@ Name: libunwind -BuildRequires: gcc-c++ +BuildRequires: gcc-c++ libtool Url:http://savannah.nongnu.org/projects/libunwind/ Summary:Unwind Library Version:1.0.1 @@ -73,8 +73,12 @@ ./configure "CFLAGS=$RPM_OPT_FLAGS" --prefix=/usr --mandir=%{_mandir} \ --libdir=%{_libdir} --build=%{_target_cpu}-suse-linux make %{?_smp_mflags} + +%check +%if ! 0%{?qemu_user_space_build:1} # There are some expected failures make -k check || : +%endif %install make install DESTDIR=$RPM_BUILD_ROOT -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libunwind for openSUSE:Factory
Hello community, here is the log from the commit of package libunwind for openSUSE:Factory checked in at 2011-11-08 09:24:40 Comparing /work/SRC/openSUSE:Factory/libunwind (Old) and /work/SRC/openSUSE:Factory/.libunwind.new (New) Package is "libunwind", Maintainer is "mvysko...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/libunwind/libunwind.changes 2011-09-23 02:11:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.libunwind.new/libunwind.changes 2011-11-08 09:26:00.0 +0100 @@ -1,0 +2,13 @@ +Mon Oct 17 16:03:13 CEST 2011 - dmuel...@suse.de + +- update to libunwind 1.0.1: + * hundreds of fixes, see http://git.savannah.gnu.org/gitweb/?p=libunwind.git;a=shortlog +for details + * ARM support + * Greatly improved x86-64 support thanks to Arun Sharma. + * Support for PPC64 added by Jose Flavio Aguilar Paulino. + * Testing, stability and many fixes on x86 (Paul Pluzhnikov) + * Improved local and remote unwinding on ARM (Ken Werner) + * Fast unwind (rbp, rsp, rip only) on x86_64 with a fallback to slow code paths + +--- Old: libunwind-0.98.6-pointer-comparison.patch libunwind-0.98.6.diff libunwind-0.98.6.tar.gz New: libunwind-1.0.1-ia64.diff libunwind-1.0.1-memset.diff libunwind-1.0.1-tests.diff libunwind-1.0.1.tar.gz Other differences: -- ++ libunwind.spec ++ --- /var/tmp/diff_new_pack.iHDikY/_old 2011-11-08 09:26:02.0 +0100 +++ /var/tmp/diff_new_pack.iHDikY/_new 2011-11-08 09:26:02.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package libunwind (Version 0.98.6) +# spec file for package libunwind # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,16 +22,16 @@ BuildRequires: gcc-c++ Url:http://savannah.nongnu.org/projects/libunwind/ Summary:Unwind Library -Version:0.98.6 +Version:1.0.1 Release:34 Group: System/Base License:MIT Source: libunwind-%{version}.tar.gz -Patch: libunwind-%{version}.diff -# PATCH-FIX-OPENSUSE libunwind-0.98.6-pointer-comparison.patch bnc#531705 -Patch1: libunwind-%{version}-pointer-comparison.patch +Patch0: libunwind-1.0.1-ia64.diff +Patch1: libunwind-1.0.1-memset.diff +Patch2: libunwind-1.0.1-tests.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 ia64 x86_64 +ExclusiveArch: %ix86 ia64 x86_64 %arm %description A portable and efficient C programming interface (API) to determine the @@ -62,28 +62,25 @@ %prep %setup -q -%patch +%patch0 -p1 +%patch1 -p1 +%patch2 +# %patch %build -chmod +w aclocal.m4 configure autoreconf -fi RPM_OPT_FLAGS="$RPM_OPT_FLAGS -U_FORTIFY_SOURCE" ./configure "CFLAGS=$RPM_OPT_FLAGS" --prefix=/usr --mandir=%{_mandir} \ --libdir=%{_libdir} --build=%{_target_cpu}-suse-linux make %{?_smp_mflags} -%ifarch ia64 -make -k check -%else # There are some expected failures make -k check || : -%endif %install make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_lib} -mv $RPM_BUILD_ROOT%{_libdir}/libunwind.so.7* $RPM_BUILD_ROOT/%{_lib} -cd $RPM_BUILD_ROOT%{_libdir} -ln -sf ../../%{_lib}/libunwind.so.7.* libunwind.so +mv $RPM_BUILD_ROOT%{_libdir}/libunwind.so.8* $RPM_BUILD_ROOT/%{_lib} +ln -sf ../../%{_lib}/libunwind.so.8.* $RPM_BUILD_ROOT%{_libdir}/libunwind.so %post -p /sbin/ldconfig ++ libunwind-1.0.1-ia64.diff ++ >From 962366dace4fed902ad5e89df1b34c13c3224b8b Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Fri, 23 Sep 2011 11:11:34 -0700 Subject: [PATCH] Fixup compile errors on ia64. Suggested-by: Harald Servat --- src/ptrace/_UPT_get_dyn_info_list_addr.c |2 +- src/ptrace/_UPT_internal.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/src/ptrace/_UPT_get_dyn_info_list_addr.c +++ b/src/ptrace/_UPT_get_dyn_info_list_addr.c @@ -62,7 +62,7 @@ get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr, void *arg, Debug (16, "checking object %s\n", path); - di = _UPTi_find_unwind_table (ui, as, path, lo, off); + di = _UPTi_find_unwind_table (ui, as, path, lo, off, 0); if (di) { res = _Uia64_find_dyn_list (as, di, arg); --- a/src/ptrace/_UPT_internal.h +++ b/src/ptrace/_UPT_internal.h @@ -64,7 +64,7 @@ struct UPT_info extern int _UPT_reg_offset[UNW_REG_LAST + 1]; -extern int _UPTi_find_unwind_table (struct UPT_info *ui, +extern unw_dyn_info_t *UP