From nobody Thu May 2 07:35:01 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1603282847; cv=none; d=zohomail.com; s=zohoarc; b=LXPjrX4Vhyu7yTO2/i2b1jCknkqIPLywy2tgYb6CvB0nEcbXp4q66h+W/3cbY+HoiUoZrnzj9IqBc70Kn53HAUryPDEOrA8j3FkMQZ7sl/tg10GYJkqJmXZ8pd7V2Yn1Iyb+u21zKc1yhqCWGvvqnGWv1FgJG8CfsFvcKVVTlFg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603282847; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=fXCoJKYM+wtPRkZtzWSmU2YMEGX1h49cvqwAI0snACU=; b=Racb1yJdlqrMJeUjb4gmgkqUR0rCJ8XdKAWKQEPGGnLsbUbsCY1RHxcmrVyC7+EipE/FutDumOZcHdfuzXLUwyJZCj576uhkVG6QQP9F9gGKEuan0u4XzMSgpjGholv1Tbv3ND/1woO2CX9ubwksgOfAcI3puxu8mG4Pu0vIsV0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1603282847778707.2790101586759; Wed, 21 Oct 2020 05:20:47 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-567-9QGlGxy0MKiku8fUd8-rDw-1; Wed, 21 Oct 2020 08:20:43 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 368768CD2F9; Wed, 21 Oct 2020 12:20:10 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6D36F7515B; Wed, 21 Oct 2020 12:20:08 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3ECA71826D38; Wed, 21 Oct 2020 12:20:03 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 09LCK25r002034 for ; Wed, 21 Oct 2020 08:20:02 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5E15D5C643; Wed, 21 Oct 2020 12:20:02 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-114-86.ams2.redhat.com [10.36.114.86]) by smtp.corp.redhat.com (Postfix) with ESMTP id 450D65C640; Wed, 21 Oct 2020 12:19:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603282847; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=fXCoJKYM+wtPRkZtzWSmU2YMEGX1h49cvqwAI0snACU=; b=bfY+49oXAqzRS4rAs8kXCMtjpFCDT7LrMLpqtOthmzxm+9bJTXQkRnW/tP5ey78GHAgmOX mw7aZMndabrU3wpHsVLlE04GzAi/IlO0mqJPGibvej27+wTnaD1WAaOtFU4M23ra42tRx/ AEnkyxC1bXJnb8tfwTrdCYauBryZs5A= X-MC-Unique: 9QGlGxy0MKiku8fUd8-rDw-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH] rpm: disable LTO in Fedora 34 Date: Wed, 21 Oct 2020 13:19:48 +0100 Message-Id: <20201021121948.420118-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) A binutils change has caused breakage when linking the tests /usr/bin/ld: tests/libtest_qemu_driver.so: undefined reference to `__open_m= issing_mode' This is probably a regression in binutils, so disable LTO until we get more clarity on the root cause and whether binutils or libvirt will need changing. https://bugzilla.redhat.com/show_bug.cgi?id=3D1889763 Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Laine Stump --- libvirt.spec.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index 325566f329..2a4324b974 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -990,6 +990,13 @@ Libvirt plugin for NSS for translating domain names in= to IP addresses. %autosetup -S git_am =20 %build + +%if 0%{?fedora} =3D=3D 34 + # binutils change in F34 broke linking of tests + # https://bugzilla.redhat.com/show_bug.cgi?id=3D1889763 + %define _lto_cflags %{nil} +%endif + %if ! %{supported_platform} echo "This RPM requires either Fedora >=3D %{min_fedora} or RHEL >=3D %{mi= n_rhel}" exit 1 --=20 2.26.2