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 <[email protected]> + +- 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 <[email protected]> Date: Thu, 6 Feb 2020 14:49:35 +0000 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)
