From patchwork Sun Aug 4 16:18:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Romero X-Patchwork-Id: 816618 Delivered-To: patch@linaro.org Received: by 2002:adf:e00d:0:b0:367:895a:4699 with SMTP id s13csp1031847wrh; Sun, 4 Aug 2024 09:20:08 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWHSrbqEEVq298mSD1WrptRRXmja45RskfS9uNLSvTOv5SJawC7QuSOK7RPiZMihcwu2V0zPLB8MYJbx2aoHe+4 X-Google-Smtp-Source: AGHT+IG6u4gEoAgwafYpyavXI1QXO7UGb4vXh3zaE+L4uqn/+d8X+tKU/clN0NO41oFbvXDYeUBT X-Received: by 2002:a05:620a:4555:b0:7a1:e341:d543 with SMTP id af79cd13be357-7a34c0a63a5mr1961358685a.28.1722788407832; Sun, 04 Aug 2024 09:20:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1722788407; cv=none; d=google.com; s=arc-20160816; b=Nr/HhTNNopJrRbIS9IQ0mqVYy6FILvZtV6ML1hc2QRPj5jE8096X6/YdlYus0pkrZP tWozvPKgTrI/Vwm/ot0yCBX4pWngKxNfIQtsJx4T7O8Cr6H95XXXqdorm74h/ovg84jt ZWYxD/H74tqiExNEQvysZIAa5TFHKQVr6TInOBn6XRb6FfWwuZ/TaCISMe8OgShUIGVV xUP5RQUuosKXleWcOGxZ8beG4OlZKqHGOMA7hi301DVP6G4T9FIIDmoQNwj9jzGe0z7I uV9yv86KSnRLNeJgH5V2vJGAfvm1e9biXAE5lFufqibcqHj8BWHBXxJqrGwsQG9s/VOu NkJA== 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=Gd5hFcFNPsqwaztOhKEC7VMI0bS3FH3SbOXvjsB2hfQ=; fh=9wbfTHfFH9iucpcKtLZ4/oCapWJkG4e2bREEqSbe3uQ=; b=p1ZrOVxP87/d98LKNJDNQ0HxkGJ89weZZgWsMejEcPaVm/EDvh5a9mFd3wBq1bsNeT lAD+MYd+GWKdYEK+SApgFyAT5/f97yERX5mhdJe9Zmm6MrbIWn2sntIGvwUCTMh22Oob 95AVpmgECnmS3jxUgW+MWHJzLLlRqIM3DVIcrRg/Xhf2p6gg3JkVQ3/XcLlmue8EiUw4 6/QKdL7Yw9vwPx0l0vQcAra+lDpV7Dn5qhzyVM+2ykp2Wg/HHuLLRdslU2xP+fkubY1M 6aVwAHsHxIEpugspsnO1mpTVQNkanKwSQkVUZmqn0Odq2Ucw9l16omklQGSXSVXo2dAa 1loQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="l/RukABM"; 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 af79cd13be357-7a34f773ac8si765531985a.448.2024.08.04.09.20.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Aug 2024 09:20:07 -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="l/RukABM"; 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 1sadxH-0007s0-33; Sun, 04 Aug 2024 12:19:35 -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 1sadxF-0007kh-9a for qemu-devel@nongnu.org; Sun, 04 Aug 2024 12:19:33 -0400 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sadxD-0003zN-MJ for qemu-devel@nongnu.org; Sun, 04 Aug 2024 12:19:33 -0400 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-70d150e8153so3185920b3a.0 for ; Sun, 04 Aug 2024 09:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722788370; x=1723393170; 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=Gd5hFcFNPsqwaztOhKEC7VMI0bS3FH3SbOXvjsB2hfQ=; b=l/RukABMKl+MP99ytKMTdPm93C70lw/FTOCaSNVdt9aToucWianosCO+1Wf7qIZCdV h+YLSmDS8vphB57VkAk6D/kortr9oldlUoqz4gH7b4i5Ibyyea8r1wA+BrOQSal1Irw+ InFbEliW3RO+rZ5FlJOWnzIOJq0M6B6i0oYkE6yGLv61SGMXtYUdEKlvtPtiaVWcEsf9 j1UqdvBIbLB0wUw66VttrxnDTxMbgZwK50DKYaSbNkC83otwxTnucF9Fsfdzf4jMSpkc albXbw6lfr+d6bpRbTMrMh2De392W/Gt2d68AQ8U4wiR9yB0McXZgKSwiVri36hY0oiY lA/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722788370; x=1723393170; 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=Gd5hFcFNPsqwaztOhKEC7VMI0bS3FH3SbOXvjsB2hfQ=; b=cLETEKPsxNQM4P4q6piXC8UwllMCHzfoZE3Q9iHD+PEkuGkzupzUmyUxT1+/T37503 efp1If+UeP5vloBI7vvCEwnPOlp3Sq7JaU++IhfL65uE3zeo7ZXR+IvaTvoi8iJ//yye yMquBut5EfVVp39v5YXdfqp4AUjzTfpDJx4ZTZOmkV72hq0RKZq+E+Hv8gm5WhZ1UO+p EPJ7OljMwM0fuic3gH9szWz3WHer8yXonlZlH3jvzu+uXlcM+UUP33k8nK33mkXJccNd axXXfuonuI+pc93LFJK8NxOjrUtgnPqu0ehRoMi53Tceucxea5P0yYCb9Trr7aPW+Iqj u+jg== X-Gm-Message-State: AOJu0YzaZEvrCn+UsKdSwBFd5ONuQHbo+ER7G9EWMDaR3N7K4lY3XfGS 9QrTmbGlsF0t5BCq21A5XcBnlJXZJHkHsNVGHti5x3JghYYFlVOv85Ii3Y1FsSreCZLoySOP/3+ g3tc= X-Received: by 2002:a05:6a00:9491:b0:70e:ce95:b87 with SMTP id d2e1a72fcca58-71065b6f08dmr17562128b3a.0.1722788369810; Sun, 04 Aug 2024 09:19:29 -0700 (PDT) Received: from amd.. ([2804:7f0:b403:720f:3e7c:3fff:fe7a:e83b]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7106ec4169csm4117530b3a.64.2024.08.04.09.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 09:19:29 -0700 (PDT) From: Gustavo Romero To: qemu-devel@nongnu.org, richard.henderson@linaro.org Cc: alex.bennee@linaro.org, gustavo.romero@linaro.org Subject: [PATCH 3/3] configure: Fix GDB version detection for GDB_HAS_MTE Date: Sun, 4 Aug 2024 16:18:50 +0000 Message-Id: <20240804161850.2646299-4-gustavo.romero@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240804161850.2646299-1-gustavo.romero@linaro.org> References: <20240804161850.2646299-1-gustavo.romero@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=gustavo.romero@linaro.org; helo=mail-pf1-x431.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 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: 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 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 --- 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