Hello community,
here is the log from the commit of package gmp for openSUSE:Factory checked in at 2019-07-08 15:09:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gmp (Old)
and /work/SRC/openSUSE:Factory/.gmp.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gmp"
Mon Jul 8 15:09:12 2019 rev:52 rq:712776 version:6.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/gmp/gmp.changes 2018-03-07 10:27:41.309604860 +0100
+++ /work/SRC/openSUSE:Factory/.gmp.new.4615/gmp.changes 2019-07-08 15:09:14.279242208 +0200
@@ -1,0 +2,6 @@
+Mon Jul 1 07:48:02 UTC 2019 - Martin Liška
+
+- Add floating-point-format-no-lto.patch in order to fix assembler scanning
+ (boo#1138809).
+
+-------------------------------------------------------------------
New:
----
floating-point-format-no-lto.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gmp.spec ++++++
--- /var/tmp/diff_new_pack.LKbFKo/_old 2019-07-08 15:09:15.411243293 +0200
+++ /var/tmp/diff_new_pack.LKbFKo/_new 2019-07-08 15:09:15.415243298 +0200
@@ -1,7 +1,7 @@
#
# spec file for package gmp
#
-# 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,7 +12,7 @@
# 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/
#
@@ -20,7 +20,7 @@
Version: 6.1.2
Release: 0
Summary: The GNU MP Library
-License: GPL-3.0+ and LGPL-3.0+
+License: GPL-3.0-or-later AND LGPL-3.0-or-later
Group: System/Libraries
Url: https://gmplib.org/
Source0: https://gmplib.org/download/%{name}/%{name}-%{version}.tar.xz
@@ -29,6 +29,7 @@
Source3: baselibs.conf
Patch0: gmp-noexec.diff
Patch1: gmp-6.1.2-conftest.patch
+Patch2: floating-point-format-no-lto.patch
BuildRequires: gcc-c++
BuildRequires: m4
BuildRequires: xz
@@ -71,6 +72,7 @@
%setup -q
%patch0
%patch1
+%patch2 -p1
%build
export CFLAGS="%{optflags} -fexceptions"
++++++ floating-point-format-no-lto.patch ++++++
diff --git a/configure b/configure
index 12ddffd..a7890ed 100755
--- a/configure
+++ b/configure
@@ -24563,7 +24563,7 @@ struct foo foo = {
{ '\376', '\334', '\272', '\230', '\166', '\124', '\062', '\020' },
};
EOF
-gmp_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >&5 2>&1"
+gmp_compile="$CC $CFLAGS $CPPFLAGS -fno-lto -c conftest.c >&5 2>&1"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?