Hello community, here is the log from the commit of package liboil for openSUSE:Factory checked in at 2018-03-16 10:34:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/liboil (Old) and /work/SRC/openSUSE:Factory/.liboil.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liboil" Fri Mar 16 10:34:00 2018 rev:30 rq:587435 version:0.3.17 Changes: -------- --- /work/SRC/openSUSE:Factory/liboil/liboil.changes 2017-05-31 12:11:36.909232943 +0200 +++ /work/SRC/openSUSE:Factory/.liboil.new/liboil.changes 2018-03-16 10:34:02.496581297 +0100 @@ -1,0 +2,6 @@ +Thu Mar 15 01:28:55 CET 2018 - [email protected] + +- add s390-asm.patch using different constraints for the asm + to fix build on s390x (bnc#1085397) + +------------------------------------------------------------------- New: ---- s390-asm.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ liboil.spec ++++++ --- /var/tmp/diff_new_pack.HC9DyX/_old 2018-03-16 10:34:03.560542988 +0100 +++ /var/tmp/diff_new_pack.HC9DyX/_new 2018-03-16 10:34:03.568542700 +0100 @@ -1,7 +1,7 @@ # # spec file for package liboil # -# Copyright (c) 2015 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 @@ -28,6 +28,7 @@ Patch0: ppc-asm.patch #PATCH-FIX-OPENSUSE bmwiedemann -- make build reproducible Patch1: reproducible.patch +Patch2: s390-asm.patch BuildRequires: glib2-devel BuildRequires: gtk-doc BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -90,6 +91,7 @@ %setup -q %patch0 %patch1 -p1 +%patch2 -p1 %build %configure --disable-static --with-pic ++++++ s390-asm.patch ++++++ --- liboil-0.3.17/liboil/liboilcpu-misc.c 2018/03/14 23:58:34 1.1 +++ liboil-0.3.17/liboil/liboilcpu-misc.c 2018/03/15 00:19:57 @@ -87,7 +87,7 @@ oil_profile_stamp_s390(void) { uint64_t ts; - __asm__ __volatile__ ("STCK %0(%0)\n" : : "r" (&ts)); + __asm__ __volatile__ ("stck %0\n" : "=Q" (ts) : : "cc"); return ts; }
