Hello community, here is the log from the commit of package liburing for openSUSE:Factory checked in at 2019-12-12 23:19:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/liburing (Old) and /work/SRC/openSUSE:Factory/.liburing.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liburing" Thu Dec 12 23:19:38 2019 rev:3 rq:756024 version:0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/liburing/liburing.changes 2019-11-29 16:02:55.324805301 +0100 +++ /work/SRC/openSUSE:Factory/.liburing.new.4691/liburing.changes 2019-12-12 23:19:43.558205068 +0100 @@ -1,0 +2,6 @@ +Thu Dec 12 09:20:32 UTC 2019 - Johannes Thumshirn <jthumsh...@suse.com> + +- Fix builds on ppc64le and s390x (bsc#1159055) + + barrier.h-add-generic-smp_mb-implementation.patch + +------------------------------------------------------------------- New: ---- barrier.h-add-generic-smp_mb-implementation.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ liburing.spec ++++++ --- /var/tmp/diff_new_pack.sNvzNJ/_old 2019-12-12 23:19:44.134205016 +0100 +++ /var/tmp/diff_new_pack.sNvzNJ/_new 2019-12-12 23:19:44.138205016 +0100 @@ -23,9 +23,11 @@ Release: 0 Summary: Linux-native io_uring I/O access library License: LGPL-2.1-or-later +Group: Development/Libraries/C and C++ URL: https://git.kernel.dk/cgit/liburing Source: https://git.kernel.dk/cgit/liburing/snapshot/%{name}-%{version}.tar.gz Requires: kernel-default >= 5.1 +Patch0: barrier.h-add-generic-smp_mb-implementation.patch %description Provides native async IO for the Linux kernel, in a fast and efficient @@ -41,6 +43,7 @@ %package devel Summary: Development files for Linux-native io_uring I/O access library +Group: Development/Libraries/C and C++ Requires: %{name}%{so_ver} = %{version} Requires: pkgconfig @@ -49,7 +52,8 @@ for the Linux-native io_uring. %prep -%autosetup +%setup -n %name-%version +%patch0 -p1 %build ./configure --prefix=%{_prefix} --libdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} ++++++ barrier.h-add-generic-smp_mb-implementation.patch ++++++ >From ba97eaf8f9ef2030d581be10df9d875dbfadc91d Mon Sep 17 00:00:00 2001 From: Jeff Moyer <jmo...@redhat.com> Date: Tue, 5 Nov 2019 10:33:19 -0500 Subject: barrier.h: add generic smp_mb implementation References: bsc#1159055 Patch-mainline: Queued This missing define causes build failures on s390: src/include/liburing.h:298: undefined reference to `io_uring_smp_mb' Signed-off-by: Jeff Moyer <jmo...@redhat.com> Signed-off-by: Jens Axboe <ax...@kernel.dk> Acked-by: Johannes Thumshirn <jthumsh...@suse.de> --- src/include/liburing/barrier.h | 1 + 1 file changed, 1 insertion(+) --- a/src/include/liburing/barrier.h +++ b/src/include/liburing/barrier.h @@ -76,6 +76,7 @@ do { \ * Add arch appropriate definitions. Be safe and use full barriers for * archs we don't have support for. */ +#define io_uring_smp_mb() __sync_synchronize() #define io_uring_smp_rmb() __sync_synchronize() #define io_uring_smp_wmb() __sync_synchronize() #endif /* defined(__x86_64__) || defined(__i386__) */