From nobody Sun Jul 26 09:47:09 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=1777283949; cv=none; d=zohomail.com; s=zohoarc; b=fT0yq+a3s8ytNBZ7rPwZyBFCw7uQaO9HivY3OLX/1ehUbR9uUNmSXDWOqagsPHI1UeG/Q8I/+eVQXS6GyrmfRaG2LNk9rWYZ4+2LKeVfhSop/RdbApNUNrnThCnrEpNv1DF84GvnFHpNM91urkpyFpzRUHr6w4WnqJPI5B1BiGM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1777283949; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=CApNhrC8Uo90IDNwWPD2mDbMfjH7rj94AQmsKwXeTgE=; b=C5hxZyr32Jq1p85JUiGAGW3TlaSrm2y2hQeI97FEb0GT1jW2vfmKIeE3Lhl62Lq1+49Zz06KEaHoX7uT5tobKUL5aaiBXei46VGbzRmq1lE9AB87ktvAE2Zi+XJW8cSB87potM1TVy8QBwwPunnqt5H1Ch2VmLzEtC1+VGr6Y40= 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 lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1777283949608474.7861178319167; Mon, 27 Apr 2026 02:59:09 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wHIjR-0007pq-HA; Mon, 27 Apr 2026 05:58:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wHIjA-0007k3-JN for qemu-devel@nongnu.org; Mon, 27 Apr 2026 05:58:14 -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 1wHIj5-00085c-B1 for qemu-devel@nongnu.org; Mon, 27 Apr 2026 05:58:05 -0400 Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-677-Ji_DAO2hNBOvZVbcdwZlKQ-1; Mon, 27 Apr 2026 05:58:00 -0400 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5AF5218005AB; Mon, 27 Apr 2026 09:57:59 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.44.48.146]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id DFDF23000707; Mon, 27 Apr 2026 09:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1777283882; 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=CApNhrC8Uo90IDNwWPD2mDbMfjH7rj94AQmsKwXeTgE=; b=MNuLyxdZ0mXt6RzRWBZEoGAhtGomb5WvKlHw6PCxOBiJbCp72yHveJfuC3gmKwbEmi9PN1 4SEBD2uIWqbsQwnr2yLBZKeb/pF0fITnR3ahcFhDjI/WDw6d/UPNpH0/RH4zc9ealiqpQl H7OlmjU0STOrmN7ZIlUVss9ljPQ6UmE= X-MC-Unique: Ji_DAO2hNBOvZVbcdwZlKQ-1 X-Mimecast-MFC-AGG-ID: Ji_DAO2hNBOvZVbcdwZlKQ_1777283879 From: Thomas Huth To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Fabiano Rosas Subject: [PULL 01/10] meson.build: Bump the minimum GCC version to v10.4 Date: Mon, 27 Apr 2026 11:57:38 +0200 Message-ID: <20260427095747.1070244-2-thuth@redhat.com> In-Reply-To: <20260427095747.1070244-1-thuth@redhat.com> References: <20260427095747.1070244-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 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=lists1p.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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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: 1777283951462154100 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. Reviewed-by: Daniel P. Berrang=C3=A9 Acked-by: Fabiano Rosas Signed-off-by: Thomas Huth Message-ID: <20260310155331.320066-1-thuth@redhat.com> --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 096303f021c..7d25b1ec7ef 100644 --- a/meson.build +++ b/meson.build @@ -329,7 +329,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__ @@ -345,7 +345,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