From patchwork Tue Aug 13 20:23:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 818849 Delivered-To: patch@linaro.org Received: by 2002:adf:cd01:0:b0:367:895a:4699 with SMTP id w1csp430515wrm; Tue, 13 Aug 2024 13:25:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUxjjtGqZMclAKTaZo7kqhi+9HQCdTcMqb4lCJdE76DkyUgvJo6eWkETfxt/COFQMx2s7dV3Q==@linaro.org X-Google-Smtp-Source: AGHT+IH8I9w3zbVD9Fs4Te5wV2MpltA5cL3X57z1HUr+Ht6gsdPfyqipmW+u5Vgs735B+AEcZ6Nr X-Received: by 2002:a05:622a:22a8:b0:453:4a0d:82c7 with SMTP id d75a77b69052e-4535ba9b83bmr6205121cf.1.1723580741086; Tue, 13 Aug 2024 13:25:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723580741; cv=none; d=google.com; s=arc-20160816; b=o1VX22Xp0Rw0J6AaWMLl5aVKwMAs2GOutJri88HduVv1MOv9XBOrwxbuyfGGzWU2ae Aav/8xfbOFPTF7B/Hkw7CA41l6D0nLLSvZQhy5uEYApMTy/hOeJry/kjo9FKE3Sxnnxt wqM5gCjy6rzEv2Lqck/HY1o2QJlYg9TFktGeSbMS0PQEOjW3wTcuntpDPksoPdk3QskN TNAdb8tp8JCO9qxFo3qVUkEMSRHuv3kE41bXx22DbROgFGwdhjBjxpHO3d+o80AYdxUo P6F8N8TRdkkK2XbmzC32hwSPEQEVu8RAPdxULGPmtOaADD4xXjvgIUdaw78EXvOOs5Tr e7dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=0y9bR77UvCt8TQIygcd82Fr7RaUqdwHl6O1d6ILZIVc=; fh=Ip02gOv1lgiIzx7E9rCtSzygLd40BfH9FLx7CcJdySM=; b=re+UUP6Bz/PVesBl73Ds+/zFCcd3vNrTFypNcnLzH1Zx7BEsDT33iiGV/duepUUjqt NEvrRqCyDeAFRRm5XWfAtplMCWDSxRNoErNvvP2awnx8nfwY0/fo/cLVLP18PojyyusN ZKKItWHtQmdftsEUaRCrPml+J65MP4H7P1mscLQGzz8YYx1lIIZkAv9MMygEoJx9RYyy ZhXTxZsmxcwSKoJt06/Fk+YbARhHwZjQvvK93YTBitul88xdAKipiaWt8cEFfueXeLlV x7x0KNeHfDVMsujFVYYCFUw2NcDleJ8uxKtDRqTXLyBLLMhD+cPQoDP2hRi/Ok9aZRwx WS9w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x9q5OvIh; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-4531c28ed03si88110951cf.518.2024.08.13.13.25.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Aug 2024 13:25:41 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x9q5OvIh; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdy3u-00069G-OH; Tue, 13 Aug 2024 16:24:11 -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 1sdy3g-00057m-IW for qemu-devel@nongnu.org; Tue, 13 Aug 2024 16:23:56 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sdy3O-0006Bt-HR for qemu-devel@nongnu.org; Tue, 13 Aug 2024 16:23:56 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-428e3129851so43533155e9.3 for ; Tue, 13 Aug 2024 13:23:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723580616; x=1724185416; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0y9bR77UvCt8TQIygcd82Fr7RaUqdwHl6O1d6ILZIVc=; b=x9q5OvIhDUo3yhlEZS6ytgPKeMZKNcpdTsZr7ueRF5xVnavnPCY1RU/n7FT3Lx8Xv9 RPckbAuuxZtl0PNbLD4f6MRLRUgUjEy6qkJ5KbEzO9bTHTsBzvtPx0iWBZs0pveKOruX bylQIX6Tx/sVP1fb8YqcJTbsa+lqRJ9s3sVVGwANSrUuJzJnYU97u0z4oKLys2XMeXDl bQ/hIf1Vpf5odfLjBiDiNV5n1L9EnrumiWu1rntWo+PsvS/wj3dQTO324eGwanPJXJOs ZnN3CRQAb+wxudCBLTYn/RG4u+AbIp3UcEHsQLavfHhJt/Otck1Ldji4S2ANiOWLTZDy D8uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723580616; x=1724185416; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0y9bR77UvCt8TQIygcd82Fr7RaUqdwHl6O1d6ILZIVc=; b=fxC+wBgc190IrOqEf33MNmFIxZPsgLBok1I2lcHvQv8nZV/8uzqt9H55DixRroi0SF N+L+4e+iq7LKme1dbYYarUDXxOgs385EGxfF6faRhCtNeZLiNi0ai+fXx+j3rkr67ORg 9GlLInLKQUwPNcxQ6JJvEyuonYCcQDrdgviMF9r9o2VwT+Wso5uPMlqttEAqJiG7ajU7 l3cEBX+NRvaUU2dPNQ6CcxVbLCndLiJ1YE6DUELmTTiNqy326Ao5tcnlNT5Z8scz+te/ vAvwS4YSz3iJ/bqoP0ijYPtjBV7AwqOyg6xGduAClV/78pu6AIZLwV8j4qlpgn/sVCMo ykNw== X-Gm-Message-State: AOJu0YzDSOI7aPb74h2bFeoz9JnWNEXoj+pDc7/lJQgP0/MdWP0D584i fkUWZpJrK2w9+Xv6Kpttt6j2mkfU5DVASSWeKlwWIXhsE+RMJinHfgvtcXLDp6o= X-Received: by 2002:a05:600c:524b:b0:426:6320:7ddf with SMTP id 5b1f17b1804b1-429dd26c229mr3693735e9.35.1723580615541; Tue, 13 Aug 2024 13:23:35 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429c750ec0bsm151656175e9.15.2024.08.13.13.23.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2024 13:23:34 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id D18D85F959; Tue, 13 Aug 2024 21:23:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Alistair Francis , Michael Roth , Palmer Dabbelt , Mahmoud Mandour , Pavel Dovgalyuk , Yoshinori Sato , Weiwei Li , Eduardo Habkost , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Markus Armbruster , David Hildenbrand , Beraldo Leal , Liu Zhiwei , Eric Auger , Song Gao , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-arm@nongnu.org, Peter Xu , Jiri Pirko , Eric Blake , Fabiano Rosas , qemu-s390x@nongnu.org, Peter Maydell , "Michael S. Tsirkin" , Daniel Henrique Barboza , John Snow , Alexandre Iooss , Konstantin Kostiuk , Pierrick Bouvier , Cleber Rosa , Ilya Leoshkevich , qemu-riscv@nongnu.org, Thomas Huth , Paolo Bonzini , Richard Henderson , Jason Wang , Bin Meng , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Gustavo Romero Subject: [PATCH v2 05/21] configure: Fix GDB version detection for GDB_HAS_MTE Date: Tue, 13 Aug 2024 21:23:13 +0100 Message-Id: <20240813202329.1237572-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240813202329.1237572-1-alex.bennee@linaro.org> References: <20240813202329.1237572-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Gustavo Romero The test gdbstub/test-mte.py requires a GDB version that supports the qIsAddressTagged packet. According to GDB NEWS [0], this packet was first made available in the GDB 15.1 release, not in 15.0, so this commit fixes it in configure. [0] https://www.sourceware.org/gdb/news/ Signed-off-by: Gustavo Romero Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2477 Message-Id: <20240804161850.2646299-4-gustavo.romero@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20240807114059.2339021-6-alex.bennee@linaro.org> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 97de85d710..d08b71f14b 100755 --- a/configure +++ b/configure @@ -1675,7 +1675,7 @@ for target in $target_list; do echo "GDB=$gdb_bin" >> $config_target_mak fi - if test "${gdb_arches#*aarch64}" != "$gdb_arches" && version_ge $gdb_version 15.0; then + if test "${gdb_arches#*aarch64}" != "$gdb_arches" && version_ge $gdb_version 15.1; then echo "GDB_HAS_MTE=y" >> $config_target_mak fi