From nobody Wed Apr 8 02:49:22 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1773158074; cv=none; d=zohomail.com; s=zohoarc; b=NLpqVZQXNcuq60jO3uSmUU2nk4a8Zx/rhdF1dyl8CW9Iy86TVmZbD0/afjEtVMDC91tU/AccbkuqKfB45bqTBFBP8sgjg0b07Cr64VYC02jeyIRwusTb66Vfhcz9SuviUcZcM51gv5Zl2vQRjknxtF1SOJ3PwBPm9RJePPY8e0k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773158074; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ub/maxvOIs/+8aYJ7SSpbT9DfOgSkfWU4DQFfxrdyG8=; b=guWExwR7Rwjxt++Q+NH01zC0dz4IV8XR+4oNSapAiii9+1U3vkePEYZqqKT4rg1Chd/WsWitkIEEQEG+UGb6qUb52WzOV/UmPnW2r5V0oPEGfBpAvVsxK91WjzAX77oWrdYrWtR4Qz57GzquYTNZCMly0jFpVmzJYENNPrWYkRA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773158074606204.17957869901295; Tue, 10 Mar 2026 08:54:34 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vzzPV-0002vu-FS; Tue, 10 Mar 2026 11:54:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vzzP5-0002ps-Uz for qemu-devel@nongnu.org; Tue, 10 Mar 2026 11:53:52 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vzzP0-00067q-5F for qemu-devel@nongnu.org; Tue, 10 Mar 2026 11:53:49 -0400 Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-499-SyyJ5Mu1NCOyQt2s9bjfNA-1; Tue, 10 Mar 2026 11:53:42 -0400 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A23C91956066; Tue, 10 Mar 2026 15:53:38 +0000 (UTC) Received: from thuth-p1g4.str.redhat.com (dhcp-192-176.str.redhat.com [10.33.192.176]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 003B419560A6; Tue, 10 Mar 2026 15:53:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1773158023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ub/maxvOIs/+8aYJ7SSpbT9DfOgSkfWU4DQFfxrdyG8=; b=EM7dWZxcES0BEmqk3kFsnZF+38XY2KzliCUTbmNTuCO+au5HfsvaygVUt15ge/vQZueXG5 1VuYh31CgorBo8hFLIOsXjHPYzq/gPqWT71brUDV8Tox2bRFylKey9XF7OcDZLOo4hU4dj NxDVVECnmd3lh6phBPmKVNQE8Wwl02k= X-MC-Unique: SyyJ5Mu1NCOyQt2s9bjfNA-1 X-Mimecast-MFC-AGG-ID: SyyJ5Mu1NCOyQt2s9bjfNA_1773158020 From: Thomas Huth To: Paolo Bonzini , qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Fabiano Rosas , Peter Maydell , Nia Alarie , Thomas Huth Subject: [PATCH] meson.build: Bump the minimum GCC version to v10.4 Date: Tue, 10 Mar 2026 16:53:31 +0100 Message-ID: <20260310155331.320066-1-thuth@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.819, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.903, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1773158075155158500 Content-Type: text/plain; charset="utf-8" From: Thomas Huth Our minimum supported version of GCC used to be v7.4 since we still wanted to support NetBSD 9.x in the past: https://gitlab.com/qemu-project/qemu/-/issues/614 https://gitlab.com/qemu-project/qemu/-/commit/3830df5f83b9b52d949676 However, NetBSD 10 has already been released since two years ago (see https://www.netbsd.org/releases/formal-10/NetBSD-10.0.html), so according to our support policy, starting with QEMU v11.0, we don't have to take care of the previous major release of NetBSD anymore. Looking at the various distros that we take care of (see e.g. https://repology.org/project/gcc/versions), and the NetBSD 10.0 3rd party package information: https://cvsweb.netbsd.org/bsdweb.cgi/src/doc/3RDPARTY?rev=3D1.1905.2.14;co= ntent-type=3Dtext%2Fplain;only_with_tag=3Dnetbsd-10-0-RELEASE ... it seems like NetBSD 10 has the lowest version of GCC again, but at least it's GCC 10.4 now. Thus bump our GCC requirement to this version now. Signed-off-by: Thomas Huth Acked-by: Fabiano Rosas Reviewed-by: Daniel P. Berrang=C3=A9 --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index f45885f05a1..6ccca2325a7 100644 --- a/meson.build +++ b/meson.build @@ -325,7 +325,7 @@ endif =20 foreach lang : all_languages compiler =3D meson.get_compiler(lang) - if compiler.get_id() =3D=3D 'gcc' and compiler.version().version_compare= ('>=3D7.4') + if compiler.get_id() =3D=3D 'gcc' and compiler.version().version_compare= ('>=3D10.4') # ok elif compiler.get_id() =3D=3D 'clang' and compiler.compiles(''' #ifdef __apple_build_version__ @@ -341,7 +341,7 @@ foreach lang : all_languages elif compiler.get_id() =3D=3D 'emscripten' # ok else - error('You either need GCC v7.4 or Clang v10.0 (or XCode Clang v15.0) = to compile QEMU') + error('You either need GCC v10.4 or Clang v10.0 (or XCode Clang v15.0)= to compile QEMU') endif endforeach =20 --=20 2.53.0