From nobody Tue Feb 10 09:24:30 2026 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=1632389040; cv=none; d=zohomail.com; s=zohoarc; b=C8u7dnFwD+UFB7zL3CtuvLQEmkTuIXyBeOtgTb4b+a2zfyQ2pU6yKLxO/TYJc+hNApb96GUtnQRm8DTkvri0eQFc4hq5FpTywZglcYP9TCKKRukFLHXXq6EEKH5T2iF39ktDC2+Cw8n81z/aMVxICdP25jLSWAZyAS/aVNIj62k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632389040; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=uyJQot5+u8ngtsvPD57HU11jsB2jVkGVE/7/FPJpyno=; b=EM855s7xh9qC+BxELyp43lsm3Zva2ED7Kbt28xHN0u7Rym/WtFa4CHRAIXRcNy8Fn+Q7tE+1/r3Osw4gLGmHYnWSJRz9hSTpA31uHf7lJX8QYcx6UH2YPmmkcVzYEhNMrlEfO7fjGf0BUu8lNZ2ZLYU6BZowof8VWrmN4oV8PzU= 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) 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 1632389040186109.60083764624733; Thu, 23 Sep 2021 02:24:00 -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-425-RWWm7hVzPBG_qJJtIbqa2w-1; Thu, 23 Sep 2021 05:23:57 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 235FF1084681; Thu, 23 Sep 2021 09:23:52 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E52DC6091B; Thu, 23 Sep 2021 09:23:50 +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 D03CE4E58E; Thu, 23 Sep 2021 09:23:47 +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 18N9NjIh031209 for ; Thu, 23 Sep 2021 05:23:45 -0400 Received: by smtp.corp.redhat.com (Postfix) id 34AFA5F707; Thu, 23 Sep 2021 09:23:45 +0000 (UTC) Received: from work.speedport.ip (unknown [10.39.194.250]) by smtp.corp.redhat.com (Postfix) with ESMTP id 84C221800D; Thu, 23 Sep 2021 09:23:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632389039; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=uyJQot5+u8ngtsvPD57HU11jsB2jVkGVE/7/FPJpyno=; b=breXdbzLb5uZLyH1rD4vsM2BJSVyPWt9yqia81fappM7H5hVmJksNQCHL2zOLJhoimrNEU lpUo8b2JK79+W+wCzcCOOdhTSeLYK867o1hDfFC7tG2KV/RzloY7pfAPtHsYRa7Al5GBHl 6T7zdURdNxEHuhgqoVgPRm6zpJGrjAM= X-MC-Unique: RWWm7hVzPBG_qJJtIbqa2w-1 From: Tim Wiederhake To: libvir-list@redhat.com Subject: [libvirt PATCH] meson: Increase stack size limit for sanitizer builds Date: Thu, 23 Sep 2021 11:23:38 +0200 Message-Id: <20210923092338.19942-1-twiederh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: Tim Wiederhake 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.13 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-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632389041092100005 Content-Type: text/plain; charset="utf-8" When building with "CC=3Dclang", "-Db_sanitize=3Daddress,undefined", and "-Dbuildtype=3Ddebug", the following error occurs: ../src/conf/nwfilter_conf.c:2190:1: error: stack frame size of 10616 bytes in function 'virNWFilterRuleDefFixup' [-Werror,-Wframe-larger-tha= n=3D] virNWFilterRuleDefFixup(virNWFilterRuleDef *rule) ^ 1 error generated. Enforcing stack frame only makes sense on normal builds when stack usage is deterministic. Signed-off-by: Tim Wiederhake Reviewed-by: Daniel P. Berrang=C3=A9 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 488490181f..be5a99a069 100644 --- a/meson.build +++ b/meson.build @@ -225,7 +225,7 @@ alloc_max =3D run_command( ) =20 # sanitizer instrumentation may enlarge stack frames -stack_frame_size =3D get_option('b_sanitize') =3D=3D 'none' ? 4096 : 8192 +stack_frame_size =3D get_option('b_sanitize') =3D=3D 'none' ? 4096 : 32768 =20 # array_bounds=3D2 check triggers false positive on some GCC # versions when using sanitizers. Seen on Fedora 34 with --=20 2.31.1