From nobody Mon Feb 9 21:38:20 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=philmd@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=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1620398683; cv=none; d=zohomail.com; s=zohoarc; b=UxKtVa3zGFn7vzEBYekuBLK1fHeD91o8A5Tlt6wWmPfMUbUTDyc13yvCpyfL/ReEUhjD1v2PPJdP+FEhytn/GDyfYP0t0DCxC4mwN9g4C85Pe0aGPaQ3P1qkG/p7Mp67Y2vopG6aKRgwktldZ0lvgmdHFIoSQt9MsCiWjQQF4v8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620398683; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=3LzYOi9y3/bAg2bf530/ErMOAU+nSy3193hDlzyrvOQ=; b=N4W7PuwVVNDRTExwuJYrtbEQ1zVtZqMOjLE0FmyL7+dMmSnUwhc5i/XVS27mwyFIOkFfQ2iT4y3A5ixw2cyGQwXr77TRiPIHkRjwFzVYuSKL1mt87VKczwMJnrG1L4THAw/tkryRRwvR826ipssCoDjOW9KcbJtiNu9QliIqlQ4= 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=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= 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 1620398683912147.38339787616292; Fri, 7 May 2021 07:44:43 -0700 (PDT) Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-517-d1c2osf9MUqG495Q3hlwgw-1; Fri, 07 May 2021 10:44:41 -0400 Received: by mail-wr1-f72.google.com with SMTP id 4-20020adf80040000b029010cab735fdeso3680933wrk.14 for ; Fri, 07 May 2021 07:44:40 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (astrasbourg-652-1-219-60.w90-40.abo.wanadoo.fr. [90.40.114.60]) by smtp.gmail.com with ESMTPSA id a9sm7223387wmj.1.2021.05.07.07.44.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 May 2021 07:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620398682; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=3LzYOi9y3/bAg2bf530/ErMOAU+nSy3193hDlzyrvOQ=; b=T+CYQsN0PkVXYgqaHMxK+gvJwsXsfdqrvJ3vKUt9/VapK8iwtF79BIOtBjD2Q5anSizQeS 3bGbj5ByttxYMzDMKWm2DfITFKpj0rnJ3PKOkmmT7uIFMa743XXfaYE+8lUZp9CznJiAOn 19jK9C7W+H9J8lc0vgtMm68Fr+btBC4= X-MC-Unique: d1c2osf9MUqG495Q3hlwgw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3LzYOi9y3/bAg2bf530/ErMOAU+nSy3193hDlzyrvOQ=; b=jgz8Jcpld09TEdMNxe7fw58q4IE7gXHBKFi4pxmtG2Pvw1cWJZIg0ChfvyTNjYpU6D LGsxY4ienvCya4eBK4A4TLCTyZUZwqG8w4I30oGW20HYmHCsj/+53D2rkZV+ChVfrxrY QtxiZLsNjrBZw4+vcz2lxjmdt/J28/uH8J6R8iAlhQgij9RitH2iw9TP9hozflNSwv1q YEfYGnpPij44iJ6exB2kdXsmI0xty5S7xz5PRnzmSjHdQ9lEAK4Oa3dxvYJNGpRoj9Pv FlKsx+ww1BJy7A3x/rJpeqCzWU7H/iQY2991k6SJNbYPe7+xSB1eDTbpjki/7vSQiTpU /KNA== X-Gm-Message-State: AOAM533bxK22+77eh603VeH/N88tSy4g9EMwR7IKUsEsxnH0FlA/Tof9 vG6/mbFFYW1NCuU8Bm9wfqnxyc0k4AO3C39tGHPYMEMGnMr2Xsd2JMyckwvAJS0Z5lRiQ297pPs mOjy8JekbiYHjvw== X-Received: by 2002:a05:6000:144:: with SMTP id r4mr12809716wrx.128.1620398679874; Fri, 07 May 2021 07:44:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqPj6e70tDk+0Kapo/Q8l2xehNQRZ54fEglCYWvPkgmcAvqV1wQP9ylia+jNgLIxhdTdu4Bw== X-Received: by 2002:a05:6000:144:: with SMTP id r4mr12809703wrx.128.1620398679711; Fri, 07 May 2021 07:44:39 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Laurent Vivier , Paolo Bonzini , qemu-ppc@nongnu.org, Peter Maydell , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gerd Hoffmann , qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [NOTFORMERGE PATCH v3 17/17] configure: libSLiRP buildsys kludge Date: Fri, 7 May 2021 16:43:15 +0200 Message-Id: <20210507144315.1994337-18-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210507144315.1994337-1-philmd@redhat.com> References: <20210507144315.1994337-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@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) Only enable -Walloca when libSLiRP is not built. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- configure | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 67cb6d5421c..ab5b6248253 100755 --- a/configure +++ b/configure @@ -552,7 +552,7 @@ ARFLAGS=3D"${ARFLAGS-rv}" # provides these semantics.) QEMU_CFLAGS=3D"-fno-strict-aliasing -fno-common -fwrapv $QEMU_CFLAGS" QEMU_CFLAGS=3D"-Wundef -Wwrite-strings -Wmissing-prototypes $QEMU_CFLAGS" -QEMU_CFLAGS=3D"-Wstrict-prototypes -Wredundant-decls -Walloca $QEMU_CFLAGS" +QEMU_CFLAGS=3D"-Wstrict-prototypes -Wredundant-decls $QEMU_CFLAGS" QEMU_CFLAGS=3D"-D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE = $QEMU_CFLAGS" =20 # Flags that are needed during configure but later taken care of by Meson @@ -5255,6 +5255,14 @@ case "$slirp" in ;; esac =20 +# Kludge pending an alloca() call removed from libSLiRP, see: +# https://lists.freedesktop.org/archives/slirp/2021-May/000150.html +case "$slirp" in + internal | disabled) + QEMU_CFLAGS=3D"-Walloca $QEMU_CFLAGS" + ;; +esac + ########################################## # check for usable __NR_keyctl syscall =20 --=20 2.26.3