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"