From nobody Sun Nov 24 11:59:07 2024 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=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1722788411; cv=none; d=zohomail.com; s=zohoarc; b=OUESiC8eAdgqgMDuj8clw9gf9cu0WeDt4wvo6tuFEX3mx4ZNMQ9PwWDO1JP+EE0iF05eheEMxJMx2KXA+fe2CkVwZszdVTWKNT0tJ+c74Oy7ILRPmjUw43cyz65YfMF3BB9J2kiL0NIQtX+n0r1x4QWrR+Tr/j88LOZY1Pq1qjo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1722788411; h=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=PV3QfiL0bSdPt8jTZc4TMiZHEwd17GiN9hOOMRggKrk=; b=KBb5DFKIOT6S5MNe+ngXFQNL7zZzhw+m22r0Ka2q7Zc/CntQtu9Z2+PszCBrFRBl8jyg5W70/7M1ahSquuHdKgWQu/zNTCpvL0tJqMZoh05tKnlI9On1534D6UEzLfmQAdZ7FG9ZQ13itALOj/VmVdNxTuOWbcI6e9Gpt9XWvxI= 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=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1722788411250441.6524106615831; Sun, 4 Aug 2024 09:20:11 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sadxC-0007Zx-Mf; Sun, 04 Aug 2024 12:19:30 -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 1sadxA-0007Wl-M3 for qemu-devel@nongnu.org; Sun, 04 Aug 2024 12:19:28 -0400 Received: from mail-oo1-xc31.google.com ([2607:f8b0:4864:20::c31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sadx9-0003z2-62 for qemu-devel@nongnu.org; Sun, 04 Aug 2024 12:19:28 -0400 Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-5d5c7f23f22so5792012eaf.0 for ; Sun, 04 Aug 2024 09:19:26 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 09:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722788365; x=1723393165; 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=PV3QfiL0bSdPt8jTZc4TMiZHEwd17GiN9hOOMRggKrk=; b=zvw5EZMdMiz1BveuQ69h+uT0JekxRXHYtbZNXS7Q/QHTiNRY298/xAdrZNNaYNObWc G97YNOP3LvxAltfGI+GSLWEH6ysh7II2Cxi5z9dMMEQ4Iy9aUtqc2z4wHgWyV7ky8Rlt RRwlLa48MnpCZTqyQWRDlEia5eBqT1K+NCqzjj2bi3dm0jIv922TskbpCwWsaKJkBw7F zisb8PBx9+CGp6wPj/fUCqPhrgdjWoqNah0JQZHpM7q4L4P8YpN4M9Br2qSkJ+VPYt7U jOWWs3eI85SZy6qx0edA9dF6HGzj7CppKKq5EQi8giAIASnjlSte/gs92edQ38A+quws 4mTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722788365; x=1723393165; 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=PV3QfiL0bSdPt8jTZc4TMiZHEwd17GiN9hOOMRggKrk=; b=epj1zg0SNaBIp5zPdjQydhqpRBhlRC0eIMCOPVaRT2nFBhjo0nblydNInyuJ38YfJs HsLFPerSpGUcJpgo9V4XMYzThObhbDJCn8lM2iGea706wjmyjlarD/jmRXTI7yrhjIPK nBb7et0xNS0XicK3mgrnyPHN2Bw1buBtLsTsLcJeNc8bket5YUPJuQyX3VWXaD281kz5 QhPSwhWc0M3uvoNaA/2CFdxpEWz/zdY8zL56h6Y7udKRXlhaa6LyC8OhEbZGMQH+8ecg +0TUWLSuZTE4HhNxTS87rHInonGV7hy0xc9ggNV1fLpm9W2vChPddayVs/21mNxAlOHp vyLw== X-Gm-Message-State: AOJu0Yz/p3rMqNgKYNnBT8kVjyK5FX6lZV0ZDVNESWlLFhVE4ejJ51Ey u+ALcT1c+u2d9Ens75cgA2VhONEYVsiW60Ml51Vf2K8VFlUq1GaHO2Pnr5QOqfWpJ0LpmusjT5v ckcA= X-Google-Smtp-Source: AGHT+IGVXHopNcNwQsnELjiKXZ9zWm+Tb1k0YPBcuB0eMgQiSdXH2A0ifbMBjamx6DZxZaZVSF1YHw== X-Received: by 2002:a05:6870:1718:b0:260:dec5:11cc with SMTP id 586e51a60fabf-26891af7211mr11404927fac.20.1722788365432; Sun, 04 Aug 2024 09:19:25 -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 1/3] configure: Fix arch detection for GDB_HAS_MTE Date: Sun, 4 Aug 2024 16:18:48 +0000 Message-Id: <20240804161850.2646299-2-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 Content-Transfer-Encoding: quoted-printable 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=2607:f8b0:4864:20::c31; envelope-from=gustavo.romero@linaro.org; helo=mail-oo1-xc31.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1722788412528116600 Content-Type: text/plain; charset="utf-8" GDB_HAS_MTE must only be set if GDB supports the aarch64 arch, so the test if "aarch64" string is present must be against GDB-related '$gdb_arches' variable and not against '$arch' variable. Signed-off-by: Gustavo Romero --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 019fcbd0ef..a3aa257fd3 100755 --- a/configure +++ b/configure @@ -1673,7 +1673,7 @@ for target in $target_list; do echo "GDB=3D$gdb_bin" >> $config_target_mak fi =20 - if test "${arch}" =3D "aarch64" && version_ge ${gdb_version##* } 15.= 0; then + if test "${gdb_arches#*aarch64}" !=3D "$gdb_arches" && version_ge ${= gdb_version##* } 15.0; then echo "GDB_HAS_MTE=3Dy" >> $config_target_mak fi =20 --=20 2.34.1 From nobody Sun Nov 24 11:59:07 2024 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=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1722788431; cv=none; d=zohomail.com; s=zohoarc; b=ZgD57GWkOB4A53sy6JdL3QBGt387ahTPim2i1mr0GVG46bPsjfaK4oANraxy2e3R5NdlEeEPDH/1EM6/HShySm6yYjBlek6jjN4RU8MkstG6jOMySlBk8waGqaCFG7SanSGBEZSK6xVRXxpabF2KKTo0AJzEEMlZIDqOy9Bx7yU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1722788431; h=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=uHTHS043ONomxfPa9ysU+tp+4KLPG11Jj4l/rfnVUkA=; b=aAFSq6X3A+Kx2BD68niV7kt8CTSMwufl0q1s9SnNrm0OZlzTISzVIBk0ug/IGoHx+K6Ol+GOPSasvxcUh6DADlFJvSqQwmbgNywvelAeM5MxPLtI14xsItFab3Kh/3/yRMDiJk91KfPZPBpSgU+0u7k9vOa1clOSyaX7bmOaFyU= 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=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1722788431508767.377124998544; Sun, 4 Aug 2024 09:20:31 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sadxE-0007gI-7E; Sun, 04 Aug 2024 12:19:32 -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 1sadxD-0007c1-4W for qemu-devel@nongnu.org; Sun, 04 Aug 2024 12:19:31 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sadxB-0003zH-HW for qemu-devel@nongnu.org; Sun, 04 Aug 2024 12:19:30 -0400 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-70d23caf8ddso8422299b3a.0 for ; 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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 09:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722788367; x=1723393167; 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=uHTHS043ONomxfPa9ysU+tp+4KLPG11Jj4l/rfnVUkA=; b=GqG2EecVk6BJpYOlcGtAaW7UxUtWfuIQNadXNQIN6pfEe3my/vEusnAQE6znBkkStS jVnLcMUKPxzjnzihV952wPR3Dx8x2F05VWaZTFS2r/HPZH9yz7oh+3ShXx2Hi31/WNT7 yM6nawSY9xHC7XM+xKG5P9crTxcImr5PD5UDRZj9PpR7qEGIknPgt++JKRE2Ftqd6ksX hLhS9nTFWYMqJiQsDG64EpioYpEkGBOGRrNl+xvBKvGW8FYqwfGrKb2fI4WExHSZHGMD qPeLGOb1ZRO9k5Eixdo9IroGQkLD+HOQqu5jftF2OTf1w25skEZ8i5k+5AcsEZnCo+iP /dEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722788367; x=1723393167; 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=uHTHS043ONomxfPa9ysU+tp+4KLPG11Jj4l/rfnVUkA=; b=MBwx6Kzrpg4NgczvEyLBD+xF0MjFdJWRluexzUthuNzNWyiIuAEzkT2kAuowXfJTd2 hgikZ2OJj3y2ryuOGunbJ97sCwbBWN4DSJZtxl1Xh6xkVz2ybH5/hm3XiM2sm55FipDP c0l4lXEqC8GvHDm0jeMk9MlpAG+IEm6vdUDvoMSupwpy1Pcg16y1Nr/LNoFbl6uCVTPz u33jO1ZWKkUrwjXc572nML0kC1rf0VW++iuo7x0Rw9CDtYf0+Z7xMDcEoXjlnGkEbb3s gx264IQuJnkh2xsyjekPPO/sRMm516mGYxNzqp/+xBFIzHCURHhSiqR8JIr1mIwHovkR sg5w== X-Gm-Message-State: AOJu0YzIJ/P0du5oLd7K01w9z86E90Frrm0i43O/kR6HSNyY758scKpU yfZ0N80iUshuR+9VgY1CgGVSz/Hl1dfZczSLzx2+WQuQs3ZTkNKCdr/iScpR7Fg8TMvt8cnc6eN WT2U= X-Google-Smtp-Source: AGHT+IHJBUY9Gt+w8ibRn3yrh6cakP55szXiGQDXm0RlkkSTSTy7YiA7L3Xzj26CYAaHCoUMSKVLWw== X-Received: by 2002:a05:6a20:1588:b0:1c4:986a:ddb8 with SMTP id adf61e73a8af0-1c69966b784mr15241167637.43.1722788367621; Sun, 04 Aug 2024 09:19:27 -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 2/3] configure: Avoid use of param. expansion when using gdb_version Date: Sun, 4 Aug 2024 16:18:49 +0000 Message-Id: <20240804161850.2646299-3-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 Content-Transfer-Encoding: quoted-printable 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=2607:f8b0:4864:20::429; envelope-from=gustavo.romero@linaro.org; helo=mail-pf1-x429.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1722788432598116600 Content-Type: text/plain; charset="utf-8" $gdb_version is now used in more than one conditional case and its usage in such cases may increase in the future. Therefore, avoid using shell parameter expansion when using it by setting gdb_version to its final form. Signed-off-by: Gustavo Romero --- configure | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure b/configure index a3aa257fd3..97de85d710 100755 --- a/configure +++ b/configure @@ -1103,8 +1103,10 @@ fi # gdb test =20 if test -n "$gdb_bin"; then - gdb_version=3D$($gdb_bin --version | head -n 1) - if version_ge ${gdb_version##* } 9.1; then + gdb_version_string=3D$($gdb_bin --version | head -n 1) + # Extract last field in the version string + gdb_version=3D${gdb_version_string##* } + if version_ge $gdb_version 9.1; then gdb_arches=3D$($python "$source_path/scripts/probe-gdb-support.py"= $gdb_bin) else gdb_bin=3D"" @@ -1673,7 +1675,7 @@ for target in $target_list; do echo "GDB=3D$gdb_bin" >> $config_target_mak fi =20 - if test "${gdb_arches#*aarch64}" !=3D "$gdb_arches" && version_ge ${= gdb_version##* } 15.0; then + if test "${gdb_arches#*aarch64}" !=3D "$gdb_arches" && version_ge $g= db_version 15.0; then echo "GDB_HAS_MTE=3Dy" >> $config_target_mak fi =20 --=20 2.34.1 From nobody Sun Nov 24 11:59:07 2024 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=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1722788409; cv=none; d=zohomail.com; s=zohoarc; b=CMAhA7qx7gdJv0upGG57OG1rZVuuV7ZaGPP/XkOE6m+2XFypgaAoSSacfjHGP9d+jyngrD3WsGs1eEZi/Wbrq0MlsRkwgFs6bVHFIYPDwDmeE+acy5tQUhQJxXt2PlM/KrkGg9o/Ids7B+LsH4+D82rv9J4b7A8T310D/k+xdzM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1722788409; h=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=Gd5hFcFNPsqwaztOhKEC7VMI0bS3FH3SbOXvjsB2hfQ=; b=K6OjS1FguEUcf2Rtb/KTFXknLW/gvNbSaxpyURK1G4KgmNKMwifBqno20Yy5o8PpxLbdXuDyQCEJ7YLmctsE6ErdarQJYgYDDUGZB86CPb1ZLDWJRacAXXPXsiXU4qksFo30MvKjNm1dKGh6f4yE0mJV78hvp8NMoa+xCtia2Tw= 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=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17227884091931008.8837190875026; Sun, 4 Aug 2024 09:20:09 -0700 (PDT) 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) 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) 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-Google-Smtp-Source: AGHT+IHzjzr7Pq4rj39vdONXW3iPeuU+TEQnvXOucBN3GIevlnazt2KZSDPgGb8jZ08cy8cj0MtXww== 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) 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 Content-Transfer-Encoding: quoted-printable 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=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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1722788411447116600 Content-Type: text/plain; charset="utf-8" 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=3D$gdb_bin" >> $config_target_mak fi =20 - if test "${gdb_arches#*aarch64}" !=3D "$gdb_arches" && version_ge $g= db_version 15.0; then + if test "${gdb_arches#*aarch64}" !=3D "$gdb_arches" && version_ge $g= db_version 15.1; then echo "GDB_HAS_MTE=3Dy" >> $config_target_mak fi =20 --=20 2.34.1