Hello community,
here is the log from the commit of package sanlock for openSUSE:Factory checked in at 2019-07-08 15:06:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sanlock (Old)
and /work/SRC/openSUSE:Factory/.sanlock.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sanlock"
Mon Jul 8 15:06:25 2019 rev:22 rq:711901 version:3.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/sanlock/sanlock.changes 2019-06-20 18:54:22.756761885 +0200
+++ /work/SRC/openSUSE:Factory/.sanlock.new.4615/sanlock.changes 2019-07-08 15:06:32.183034542 +0200
@@ -0,0 +1,5 @@
+Mon Jun 24 14:49:15 UTC 2019 - Martin Liška
+
+- Add sanlock-lto-disable-fpie.patch in order to handle
+ boo#1138836. Extra -fPIE is stripped.
+
New:
----
sanlock-lto-disable-fpie.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sanlock.spec ++++++
--- /var/tmp/diff_new_pack.BgfuHz/_old 2019-07-08 15:06:33.423036417 +0200
+++ /var/tmp/diff_new_pack.BgfuHz/_new 2019-07-08 15:06:33.423036417 +0200
@@ -44,6 +44,7 @@
Patch101: sanlock-python-prefix.patch
Patch102: suse-systemd.patch
Patch103: suse-no-date-time.patch
+Patch104: sanlock-lto-disable-fpie.patch
BuildRequires: %{python_module devel}
BuildRequires: libaio-devel
BuildRequires: pkgconfig
@@ -129,6 +130,7 @@
%patch101
%patch102 -p1
%patch103 -p1
+%patch104 -p1
%build
# upstream does not require configure
++++++ sanlock-lto-disable-fpie.patch ++++++
Do not mix -fPIC and -FPIE, it is causing issue in LTO mode
(boo#1138836).
diff --git a/python/setup.py b/python/setup.py
index 91311a8..91b8b2f 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -11,7 +11,7 @@ sanlock = Extension(name='sanlock',
sources=['sanlock.c'],
include_dirs=['../src'],
library_dirs=['../src'],
- extra_link_args=['-fPIE', '-Wl,-z,relro,-z,now'],
+ extra_link_args=['-Wl,-z,relro,-z,now'],
libraries=sanlocklib)
version = None