From nobody Fri May 17 01:43:47 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=1693819407; cv=none; d=zohomail.com; s=zohoarc; b=JaliqsBjW6lwbkBBxWMYd8tgz3vRgBXyP4/OXKygHZWvq5E9FaUQNIAGmjeyirQiT66lzJcFCA3LFzz+GlPgiNdjyBwTDGWegNhpvLhqv5ukp7PZx8YGZN6Q7+qO6v/M31LvWIs62i5OiXuLC87cGs4az/LkL60sFPGhs82DO1M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1693819407; 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=0r/IzLhSGcD/ABxGv7uxXTzWgj7phXoAqmQ9U/AK7NU=; b=V7WADXbC1KT1VcIjoNA/YSvubEt3rhBQnmRXz0cxk2tuteJJ+dnNQJKbAD0Ko33f823YjIf4wVqHsEa27pRUOkCAfrp5EjMuawN07kYkGgPZCJtCuXbxbUX4JLhmENDrcJDw4qWJDw24Ua9Ywise98iheVB6K07BadVfIN8e9mg= 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 1693819407706557.5619414574412; Mon, 4 Sep 2023 02:23:27 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-25-VtNTNTHyM2CO0_QgB-Lhdw-1; Mon, 04 Sep 2023 05:23:25 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id ED37E3C0F677; Mon, 4 Sep 2023 09:23:22 +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 9224DC02996; Mon, 4 Sep 2023 09:23:21 +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 5E2CB1946597; Mon, 4 Sep 2023 09:23:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A87FD1946595 for ; Mon, 4 Sep 2023 09:23:19 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 7AF0440C1258; Mon, 4 Sep 2023 09:23:19 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id A7C6140C6F4E for ; Mon, 4 Sep 2023 09:23:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693819406; 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=0r/IzLhSGcD/ABxGv7uxXTzWgj7phXoAqmQ9U/AK7NU=; b=KTj+IQJEtNB1Kdo8OousWJUWk6iWI3rXnQKQqPlD4VIdlbfeI3fs1mSlA2QZIEYcl0TvDF SkQj+85X/iLUgJ40x00mf64VU1E52ZonnmQHuKlGoim/TWcHgGgL1FgrR7TGjRbvmVvo8c jOJ1qzcy7m4kVwOTd9q9omZTHiUooVQ= X-MC-Unique: VtNTNTHyM2CO0_QgB-Lhdw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH] Revert "build: Decrease maximum stack frame size to 2048" Date: Mon, 4 Sep 2023 11:23:17 +0200 Message-ID: <06e583bdeea21e05db340b3195141edc843adc09.1693819397.git.pkrempa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 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.8 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: 1693819408708100001 Content-Type: text/plain; charset="utf-8" Build fails with this patch with 'clang' when optimizations are disabled in long functions which have many helper variables declared in nested blocks such as for-loops. As there is no clean solution for now, let's keep the stack frame size at 4k. This reverts commit 42bc76cdb8486ef502200f3bce9e3faebdd78103. Signed-off-by: Peter Krempa --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6b6f7ccb7c..dd7a4e8d34 100644 --- a/meson.build +++ b/meson.build @@ -248,7 +248,7 @@ alloc_max =3D run_command( ) # sanitizer instrumentation may enlarge stack frames -stack_frame_size =3D get_option('b_sanitize') =3D=3D 'none' ? 2048 : 32768 +stack_frame_size =3D get_option('b_sanitize') =3D=3D 'none' ? 4096 : 32768 # array_bounds=3D2 check triggers false positive on some GCC # versions when using sanitizers. Seen on Fedora 34 with --=20 2.41.0