From 124c73f897a4c7f3290c76ab6d77e746a99b81168601fdfa2927a0634bc17896 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 30 Sep 2022 14:21:33 +0000 Subject: [PATCH] Accepting request 1007271 from home:tiwai:branches:devel:tools - Disable LTO, as it results in segfaults (bsc#1203854) OBS-URL: https://build.opensuse.org/request/show/1007271 OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=115 --- criu.changes | 5 +++++ criu.spec | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/criu.changes b/criu.changes index 0d710e7..5bb48a2 100644 --- a/criu.changes +++ b/criu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 14:17:33 UTC 2022 - Takashi Iwai + +- Disable LTO, as it results in segfaults (bsc#1203854) + ------------------------------------------------------------------- Wed Sep 14 07:20:38 UTC 2022 - Takashi Iwai diff --git a/criu.spec b/criu.spec index 4af2ad5..3afe5e3 100644 --- a/criu.spec +++ b/criu.spec @@ -21,9 +21,8 @@ %define make_options USE_ASCIIDOCTOR=1 %endif -%ifarch %arm aarch64 +# currently broken with LTO, resulting in segfaults (bsc#1203854) %define _lto_cflags %{nil} -%endif %ifarch x86_64 aarch64 %define with_amdgpu_plugin 1 @@ -134,7 +133,6 @@ to develop applications with CRIU library. echo "BINFMT_MISC_VIRTUALIZED" > .config %build -%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags}" %ifarch %arm export CFLAGS="$CFLAGS -Wno-error=deprecated"