From nobody Fri Oct 11 18:02:44 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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 170.10.129.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=1693831557; cv=none; d=zohomail.com; s=zohoarc; b=e+Z//FVxxwEC7wNPjeWlG1m8d/GyCcc6F3J1WbqmHyy6fxIZrPxvUgQFQjaQnehxwW44dTsEHsuDW1/3+oZ2k5YTIKHyuIVu8eig3VkpArmxmlBe/s/AOdpXga5ZdZDZLqYJSaFJVHl/8H7eMT7u2+tj1vkoq5cnDpCByW9sNTY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1693831557; 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=JeCAf8X1FB8ATnQBlVPhoSzYeIad+d63wlXy3lF41d8=; b=eRCEH0afUhVREOgzyBa+1cAjz2SmLRshxiVbOtxBiHtkgeyMuPDIWy/OWxrlgzdYpItHwMxfUscq6Ie/ytm9S+QymRQagY127AZu4lCEwEQWm/3a9bG7F80PrC3hp+sX6Mr32AslDScMqDeLPhVgrdN1XH/WczSK0qdQ0FgfAj4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1693831557215332.55241861797515; Mon, 4 Sep 2023 05:45:57 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-659-m7RYUwtKNjGpPmDqccfpQw-1; Mon, 04 Sep 2023 08:45:52 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EF3478759E0; Mon, 4 Sep 2023 12:45:50 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3226C1182E7; Mon, 4 Sep 2023 12:45:50 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id D2A281946597; Mon, 4 Sep 2023 12:45:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 873D11946595 for ; Mon, 4 Sep 2023 12:45:48 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 5473340C84A8; Mon, 4 Sep 2023 12:45:48 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id D616B40C206F for ; Mon, 4 Sep 2023 12:45:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693831556; 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=JeCAf8X1FB8ATnQBlVPhoSzYeIad+d63wlXy3lF41d8=; b=ZtTgpJIIo8nxcMBUzTsaqrwVeJlFVYeJMNEsCOdMICWCwY+y9ELN8ecq28MYCwMwpDxemK 3gNgoIovS3tFxtgKl2BKCeqVoguHVpRcrRb4bPRddYcBn3LS9kcSTazXkXwiFJVh2hpHK9 UzukQqLBcKJxaQaC93EUcH7fD2/4Q1U= X-MC-Unique: m7RYUwtKNjGpPmDqccfpQw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH (pushed)] build: Fix logic bug determining whether running with optimization Date: Mon, 4 Sep 2023 14:45:47 +0200 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1693831559274100001 Content-Type: text/plain; charset="utf-8" The conversion from ternary to a 'if' clause was wrong and thus didn't properly increase the stack size where needed but only where not actually needed. Fixes: b68faa99d9f16c2f504b23737040d25d072ee85d Signed-off-by: Peter Krempa --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index e0ee4f2f21..3bf15d93a4 100644 --- a/meson.build +++ b/meson.build @@ -255,7 +255,7 @@ if cc.get_id() =3D=3D 'clang' and get_option('optimizat= ion') =3D=3D '0' endif # sanitizer instrumentation may enlarge stack frames -if get_option('b_sanitize') =3D=3D 'none' +if get_option('b_sanitize') !=3D 'none' stack_frame_size =3D 32768 endif --=20 2.41.0