From bdc5a0bca1e6c1032903e9ed5df4de78465fe742 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Jul 30 2020 09:01:26 +0000 Subject: Disable LTO as it caused many strange assert failures. --- diff --git a/qemu.spec b/qemu.spec index ddfb5e7..edfa4b5 100644 --- a/qemu.spec +++ b/qemu.spec @@ -161,7 +161,7 @@ Summary: QEMU is a FAST! processor emulator Name: qemu Version: 5.0.0 -Release: 4%{?rcrel}%{?dist} +Release: 5%{?rcrel}%{?dist} Epoch: 2 License: GPLv2 and BSD and MIT and CC-BY URL: http://www.qemu.org/ @@ -955,6 +955,8 @@ pathfix.py -pni "%{__python3} %{py3_shbang_opts}" scripts/qemu-trace-stap %build +# Disable LTO since it caused lots of strange assert failures. +%define _lto_cflags %{nil} # drop -g flag to prevent memory exhaustion by linker %ifarch s390 @@ -1842,6 +1844,9 @@ getent passwd qemu >/dev/null || \ %changelog +* Thu Jul 30 2020 Richard W.M. Jones - 5.0.0-5 +- Disable LTO as it caused many strange assert failures. + * Wed Jul 29 2020 Richard W.M. Jones - 5.0.0-4 - Backport Dan's upstream patch to fix insecure cert in test suite.