Hello community, here is the log from the commit of package criu for openSUSE:Factory checked in at 2020-05-19 15:25:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/criu (Old) and /work/SRC/openSUSE:Factory/.criu.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "criu" Tue May 19 15:25:46 2020 rev:47 rq:807300 version:3.13 Changes: -------- --- /work/SRC/openSUSE:Factory/criu/criu.changes 2019-11-18 20:12:52.585515966 +0100 +++ /work/SRC/openSUSE:Factory/.criu.new.2738/criu.changes 2020-05-19 15:25:51.456866804 +0200 @@ -1,0 +2,8 @@ +Wed May 13 07:39:45 UTC 2020 - Guillaume GARDET <[email protected]> + +- Disable LTO on aarch64 and armv7 +- Add '-Wno-error=deprecated' to fix build on armv7 +- Exclude armv6 since criu/arch/arm/bitops.S uses 'dmb ish' which + is armv7+ + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ criu.spec ++++++ --- /var/tmp/diff_new_pack.qgweSy/_old 2020-05-19 15:25:52.900869797 +0200 +++ /var/tmp/diff_new_pack.qgweSy/_new 2020-05-19 15:25:52.904869806 +0200 @@ -1,7 +1,7 @@ # # spec file for package criu # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,6 +21,10 @@ %define make_options USE_ASCIIDOCTOR=1 %endif +%ifarch %arm aarch64 +%define _lto_cflags %{nil} +%endif + Name: criu Version: 3.13 Release: 0 @@ -45,7 +49,7 @@ %endif Requires: python3-ipaddr Requires: python3-protobuf -ExclusiveArch: x86_64 aarch64 ppc64le %{arm} s390x +ExclusiveArch: x86_64 aarch64 ppc64le armv7l armv7hl s390x %if 0%{?suse_version} > 1320 BuildRequires: libbsd-devel %endif @@ -95,6 +99,9 @@ %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags}" +%ifarch %arm +export CFLAGS="$CFLAGS -Wno-error=deprecated" +%endif make V=1 %{?_smp_mflags} %{?make_options} %install
