From f992da1d2d13bae757d488f65e8a7b1eab11dcefb6c5fb425799f4c6e9264b68 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Fri, 1 Dec 2023 15:54:52 +0000 Subject: [PATCH 1/2] Accepting request 1130259 from home:Guillaume_G:PAC_BTI - Make use of openSUSE build flags OBS-URL: https://build.opensuse.org/request/show/1130259 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=39 --- liburing.changes | 5 +++++ liburing.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/liburing.changes b/liburing.changes index 7268ff4..dff6e2e 100644 --- a/liburing.changes +++ b/liburing.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 30 15:26:15 UTC 2023 - Guillaume GARDET + +- Make use of openSUSE build flags + ------------------------------------------------------------------- Fri Sep 15 05:28:44 UTC 2023 - Jiri Slaby diff --git a/liburing.spec b/liburing.spec index b2c4539..e19490d 100644 --- a/liburing.spec +++ b/liburing.spec @@ -70,6 +70,7 @@ for the Linux-native io_uring. %build # not autotools, so configure macro doesn't work +%set_build_flags sh ./configure --prefix=%{_prefix} \ --includedir=%{_includedir} \ --libdir=/%{_libdir} \ From 16397656c0bd304f9b6e2eb94263d0803ee77a46771ab55ef3989de06fe5ccb8 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Tue, 5 Dec 2023 01:56:24 +0000 Subject: [PATCH 2/2] Accepting request 1130823 from home:Guillaume_G:PAC_BTI - Fix build on 32-bit x86 OBS-URL: https://build.opensuse.org/request/show/1130823 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/liburing?expand=0&rev=40 --- liburing.changes | 5 +++++ liburing.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/liburing.changes b/liburing.changes index dff6e2e..aa5d3b3 100644 --- a/liburing.changes +++ b/liburing.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 4 16:39:29 UTC 2023 - Guillaume GARDET + +- Fix build on 32-bit x86 + ------------------------------------------------------------------- Thu Nov 30 15:26:15 UTC 2023 - Guillaume GARDET diff --git a/liburing.spec b/liburing.spec index e19490d..5c43aaa 100644 --- a/liburing.spec +++ b/liburing.spec @@ -71,6 +71,11 @@ for the Linux-native io_uring. %build # not autotools, so configure macro doesn't work %set_build_flags +%ifarch %{ix86} +# Otherwise 32-bit x86 fails with: undefined reference to `__stack_chk_fail_local' +export CFLAGS="%{optflags} -fno-stack-protector" +export CPPFLAGS="%{optflags} -fno-stack-protector" +%endif sh ./configure --prefix=%{_prefix} \ --includedir=%{_includedir} \ --libdir=/%{_libdir} \