From nobody Mon Nov 23 04:36:03 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=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1792700319; cv=none; d=zohomail.com; s=zohoarc; b=DnVNngV7X1AYXO/T3y9t+Z9pUEQklY02YPakyHCvdmM89dS8Dxqrquj7f77b61TqUYMbnHuoO6H/oytKbxMlPpyTvbDx08091SNa4QCjVUom+KW8PhlHA5ipmHWXmJyYAW6N1YORVZbMQ9OJdZucZvUXMoBMGnjlntFskfPdtVE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1792700319; 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:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=S2ymBCamd+5T5B+NhGOKZD9Q0Loyi1lb1HEPe6UZN/4=; b=H9BCE+m09IYUe5InUQduY+N8X+04G97WOlTI0E2euNYC6Ni/MryPT0b4D2dbdJTfN7aEqhAWcSmti9JssT9BsirRSMm71GQIng52Dq0UrRODdVSuwFDBE6/lCpQo8ILOE4mFxKsq2WyllECFx3LBxYYtqrBIbVrPi4npBR2a9Tc= 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=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1792700319616863.6444316944988; Thu, 22 Oct 2026 13:18:39 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xJzES-0004WJ-0a; Thu, 22 Oct 2026 16:17:48 -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 1xJzEP-0004Vs-Jz for qemu-devel@nongnu.org; Thu, 22 Oct 2026 16:17:45 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xJzEN-0006Zv-Rq for qemu-devel@nongnu.org; Thu, 22 Oct 2026 16:17:45 -0400 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69MIHBmq3741653 for ; Thu, 22 Oct 2026 20:17:42 GMT Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hfqms0ddu-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 22 Oct 2026 20:17:41 +0000 (GMT) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-8a01ea9e318so296945b3a.2 for ; Thu, 22 Oct 2026 13:17:41 -0700 (PDT) Received: from pc.taild8403c.ts.net (192-80-163-190.dyn.novuscom.net. [192.80.163.190]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8a2c89d8138sm55163b3a.18.2026.10.22.13.17.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2026 13:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=S2ymBCamd+5 T5B+NhGOKZD9Q0Loyi1lb1HEPe6UZN/4=; b=R6CSgM/iyWFdTYcC8zWT0G4RJog a4jdVeYJquAL1z9eoCV1S/aqojdwnAI41FZFrSoSRz+EODQLwoI6RzAk4SBwcH0G YBpnzGO6NNEc/A1xotm7q/PWq70j1jScxj0VD4ztm6xaL81m01AzxVyI6WWN01zo 4RykYzdGiuuoAoGzuuWkqImPsDJoUOilEMzMMXdY3OpphAD++At+AUWY3VJUx6fC sVJhfL8CWgb5vPViEsnI8E/kN1i4GGkaPWrZJv8AqxDJng2FgLYvvI06biMGTz20 8Dnb+Rm54KLYnl3QXN/K+unsOOSPQ59nIiGK4Dq+L1ZE4rSajXt6LcQsNBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1792700261; x=1793305061; 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:content-type; bh=S2ymBCamd+5T5B+NhGOKZD9Q0Loyi1lb1HEPe6UZN/4=; b=ftrV3cexD+6PJHKMqW7rTjwg/KD/eYF72vSzw4eK1H27uksgPAgPP/dZRXQ1L+cGE2 /UpCOD0xpbVxYLQ+GJoi4TJdEfp8olNx1NLa+bmRlRR3c6bm78Usaz71bocCnN24jR00 dMJZj/jw7RjsODnpmMY4HPBfASdgfjlAqruHudCgIB35z5cbx9xvste3A4TMdipBiy4l HMJbdQnjn3n+8Ub68bhNUu270ucxyMMzqaMwQr3SbauuImzMZBozZSS0oKax0H2Lip2g OSxhF3GFeD5kB8q9ljCu9pJ0WVGn6AoYIFrj68LkRJ/F0D8EfMYtLlrgffoPKcijshoX uLeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792700261; x=1793305061; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=S2ymBCamd+5T5B+NhGOKZD9Q0Loyi1lb1HEPe6UZN/4=; b=BhO2CvJwc5rPTr9AQV5ZY+lFYG5V8Vqml6FB2L49k7Po0BhDV/CPk3PUtbJGHlW8uf q5XsE8zpGRim1ml891tZ5PtKyY33sz2Hxv9W/345BA4Hy5SYkDTkea6etukxQS8d2U+X OVcw2DHMZKKKw5UT6+jdDuKzoSVlCmr/7ttesL4EtLo0QrOWSXRUB0Nm6f1mnLcxaFdH HGX9rD2JNEUJviN7L+zArfR+mOKvvMO3U5K02ExrougDJKEi4T8J5OzDvjLMTLveXo8/ JAsemlEPOY9kr5lH9CKe9CY6HWiDOjFU+VDeWez/kLdcQqPCmvvOe6lxLCsH0412nYVn Ltyg== X-Gm-Message-State: AFq9FYLMGNwJHG240XuSUGa98dD71T37vMlecgtsnNRSruXzqU+EfTDz dQWk/FECLA3sB+4l09MJdE76zgpHth7X/I9bnUUfbwaDT1Jg1f+jFMlV1f8PWn5JTAJOJk5pW06 x6GaXGMdui1Dw/lUsA+IS27biwYAgnO97ewYjgQrfO0njk350GjGW6ILQ/xHcMUuoqg== X-Gm-Gg: AYBFou3az04bygPM0dNgn0+uvtIK8q63EHItTs977hXu6fBNX/hRAQtxvF4Ml4h8IEe XLx/ZUTJSQyRLGPC7Dg40UNa7x3F11p+HI+1LHqRe/1KMzM1hEwGlsGP0jjruY5AsdhlpaNzAU5 QD6zklQ0DoqTimPfsCkgZuPUEfgYdIZkeEhYtklFPdSfKrIowagb+oQKalHalWk5COVu13B7co+ IJgb+pnGztLbuwbhgpfugx37e2OQGGLx96egJJNUbTuvMQQWkRSIDm7L/Up98kmmrXIxJut9X1U 84lAP+lwS0HH3+aJywqq6g/02zYQr6UmfMfUJy3O9x16q3wJ2DCk6Eey9KSkBgCRxMu2NjJZARH V2fSoHohAh1vDKSklc4yXDv17MV2Wc1D+XZvB/eYp/jnVsyfderT9dhuCVslGk/U= X-Received: by 2002:a05:6a00:3398:b0:882:905d:aa05 with SMTP id d2e1a72fcca58-8a2c665c21dmr241082b3a.50.1792700260630; Thu, 22 Oct 2026 13:17:40 -0700 (PDT) X-Received: by 2002:a05:6a00:3398:b0:882:905d:aa05 with SMTP id d2e1a72fcca58-8a2c665c21dmr241067b3a.50.1792700260122; Thu, 22 Oct 2026 13:17:40 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson , Peter Maydell , Pierrick Bouvier Subject: [PATCH 1/3] tests/tcg/loongarch64: restrict gdb tests to gdb >= 16.1 Date: Thu, 22 Oct 2026 13:17:31 -0700 Message-ID: <20261022201733.1941651-2-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261022201733.1941651-1-pierrick.bouvier@oss.qualcomm.com> References: <20261022201733.1941651-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDIyMDA4MCBTYWx0ZWRfX8Jbsmns5cAVh +NT/efKjYY3JtkoOudAA9++RVRjamxjNr7jkVrGGjYG0S1qnAh5s9jwzKlV+cve9SA1j0VYWvKa rL+vXEAJNCbB21pXjWBxjXODxb55M8MnKWtYqbRnwNl5mjvmWWbMP7t9eD12Dc4tW1t02al1i1L Es/6TSdLJ2eGZhN1JG/wdE3F0kWJniPkjbPiVw/uB2FaLys+TjCZpOmaj06mn2tCeibPTG1gg4k 89RXfDVwjZGXYexskYNjpr3s4rO26Bf+vgvSzRnXEfpQFCkTWpoWuoBaqw7SkiBiVtrIG6q2byt Njd2yMONAp+FwHVpjjRC4m9cB77WMxtxuZ2Cyj2HHghDjvAZkzGkrMHH7mKvd3j6ixyO3ZOlE4u XyyubzjYtOtj/bKVvGfC3XXuAmEyhuMYTwD238YE65bhHp7JkuFCmpBA+cFCD3WI9ECPNNDDMNk D6QA99uNbTGyFtiZmUA== X-Proofpoint-GUID: STgwVWZ7qWTtdgzxjo4LT7dBvV3itjZl X-Proofpoint-Spam-Info: AW1haW4tMjYxMDIyMDA4MCBTYWx0ZWRfX3b0oLgFkWf8l sJsNYYLVHDcwPn5KgsUCMzm0AbXJfTwlNZZ6tvyWySfdrcOHDf9a0Ypk8DhQzrOlPMhP+OFigl3 ZrpBnbfV1WFmKwaSx3TL3b30GtxKlms= X-Authority-Analysis: v=2.4 cv=UdbE26SN c=1 sm=1 tr=0 ts=6ada6f65 cx=c_pps a=rEQLjTOiSrHUhVqRoksmgQ==:117 a=9852oil1ID9t5xBSyQ/BEA==:17 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=e1-sUNc-TyRcsT6M2wEA:9 a=2VI0MkxyNR6bbpdq8BZq:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-ORIG-GUID: STgwVWZ7qWTtdgzxjo4LT7dBvV3itjZl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-10-22_06,2026-10-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 bulkscore=0 clxscore=1015 adultscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 spamscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610220080 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=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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: 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 @qualcomm.com) X-ZM-MESSAGEID: 1792700320315158500 Content-Type: text/plain; charset="utf-8" On gdb < 16.1, there is a mismatch between our gdbstub and gdb target definition, visible with gdb message: warning: Architecture rejected target-supplied description As a result, loongarch64-softmmu-gdb-memory hangs due to gdb not completing a requested operation. To be safe, let's restrict all gdb test to this minimal version. Reported-by: Peter Maydell Signed-off-by: Pierrick Bouvier Tested-by: Peter Maydell --- tests/tcg/loongarch64/meson.build | 16 +++++++++++++++- tests/tcg/loongarch64/system/meson.build | 4 ++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/tests/tcg/loongarch64/meson.build b/tests/tcg/loongarch64/meso= n.build index 4dd64f16d87..bff30cb49c8 100644 --- a/tests/tcg/loongarch64/meson.build +++ b/tests/tcg/loongarch64/meson.build @@ -1,11 +1,24 @@ cc =3D 'loongarch64-unknown-linux-gnu-gcc' cc_dockerfile =3D 'debian-loongarch-cross' =20 +gdb_feat_version =3D { + # previous version report "Architecture rejected target-supplied + # description", exposing a mismatch between our gdbstub and gdb. + 'loongarch64': '16.1', +} + subdir('system') =20 tests =3D [] =20 -tests +=3D tcg_tests['multiarch-linux-user']['tests'] +foreach t: tcg_tests['multiarch-linux-user']['tests'] + foreach src, setup: t + if 'gdb_test' in setup + setup +=3D {'gdb_feat': 'loongarch64'} + endif + tests +=3D {src: setup} + endforeach +endforeach =20 tests +=3D { 'test_bit.c': {}, @@ -23,6 +36,7 @@ if 'qemu-loongarch64' in emulators 'cc_dockerfile': cc_dockerfile, 'folder': 'loongarch64', 'gdb_arch': 'loongarch64', + 'gdb_feat_version': gdb_feat_version, 'qemu': emulators['qemu-loongarch64'], 'tests': tests, } diff --git a/tests/tcg/loongarch64/system/meson.build b/tests/tcg/loongarch= 64/system/meson.build index d1ee3986b62..0f81ef9cfe3 100644 --- a/tests/tcg/loongarch64/system/meson.build +++ b/tests/tcg/loongarch64/system/meson.build @@ -30,6 +30,9 @@ foreach t: tcg_tests['multiarch-softmmu']['tests'] continue endif endif + if 'gdb_test' in setup + setup +=3D {'gdb_feat': 'loongarch64'} + endif if src not in multi_src setup +=3D {'cflags': [new_cflags]} multi_src +=3D src @@ -45,6 +48,7 @@ if 'qemu-system-loongarch64' in emulators 'cc_dockerfile': cc_dockerfile, 'folder': 'loongarch64/system', 'gdb_arch': 'loongarch64', + 'gdb_feat_version': gdb_feat_version, 'qemu': emulators['qemu-system-loongarch64'], 'tests': tests, } --=20 2.47.3 From nobody Mon Nov 23 04:36:03 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=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1792700287; cv=none; d=zohomail.com; s=zohoarc; b=XubzhubcENx5AbxXUvQIb7+/rpCLBw2tbxARrSJFT+g6QscISr5a33gz5OCOl+JPBmuDvDC5RKnrGhDxeqKAEjN+ZD56WI2fwCeuiCtJMiVDk1/SgzLudyzXTzZZ+GmZXGC0A/UYFlb6rBZlLoyQopG4WnSB5kW17/ZWIpxtzV8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1792700287; 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:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=iAnJHbAj+7GrhGqt/YgmkPVVsy9mY2bq1PLttW1rYcE=; b=ePsGaSIGMeIhD83N+uM6H5/z7FvmeMgVWPWroGqD4z2yjIXzNjuwIqv/+wfVYmJK90LafU+q4KwkIsc915xTKuF2xqtsn3lEkhMYaqGqCliebGsKzq/UigH/HYB3n8hdjv74EvS/8BaD6ApgZYXQtHirNGaJNVVavEceocF2mCw= 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=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1792700287422353.07214143734143; Thu, 22 Oct 2026 13:18:07 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xJzER-0004WC-8D; Thu, 22 Oct 2026 16:17:47 -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 1xJzEP-0004Vr-IA for qemu-devel@nongnu.org; Thu, 22 Oct 2026 16:17:45 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xJzEN-0006Zy-Rq for qemu-devel@nongnu.org; Thu, 22 Oct 2026 16:17:45 -0400 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69MIJMkZ1498757 for ; Thu, 22 Oct 2026 20:17:42 GMT Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hfqmr8dg3-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 22 Oct 2026 20:17:42 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-cd68bf391e1so109658a12.3 for ; Thu, 22 Oct 2026 13:17:42 -0700 (PDT) Received: from pc.taild8403c.ts.net (192-80-163-190.dyn.novuscom.net. [192.80.163.190]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8a2c89d8138sm55163b3a.18.2026.10.22.13.17.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2026 13:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=iAnJHbAj+7G rhGqt/YgmkPVVsy9mY2bq1PLttW1rYcE=; b=Gdtd29QteZJPkMOAE0Uyj6apyQx pcdA58ns0d19IuzS7GsAFgob3TR6Jg8Y1PZjB8YL+scEbhdV0g2OQJ3A+bTK8ATx NoMSEZZYmfH4HJ/K2ToExUPQzJFMBN7XTj/fUE5z3IXel2BlwpY0jPPFe+gzhxdt PdFmD0F0wSKU7lwfAUnXJgAofLHYCzaC54RvVOPbZ9xN5dpn6fjMovXZ0aXz78Ha rnaDaVvrZOHgwxku+oCrYAwXnbbZc8/kmL/cDpl2CHXVGIM/kEiMM368g66WgNvo wwuL7X8obxZUXmyFklrPRBVKcNQBMAZ3yhUFZ8rtkMguiH+eyNmZ8zhqJQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1792700262; x=1793305062; 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:content-type; bh=iAnJHbAj+7GrhGqt/YgmkPVVsy9mY2bq1PLttW1rYcE=; b=bbUguG3DGFB0onrWu2vV09u7qGRxQeGVWIYMDr7q2m3Kt+UOcCN4NGN2sR3mRsg7ss 3wm1aJ+LZ6TdDBDFh/XU/eVEhsLBZnYPCKITG0nupVGPBM/22bIpD16i2D96QviGkUlE 0knxMO9E74BMJqv9Jw256n/sC1+l1r/H7RCSgTeP8VieHz7CVp/6CQNCdeZ6IlZ+BbZl 6OXnHwMlnvXLh9FpEybjYy9K/7gXdfD//XVShdsAQefjfYTzmzdw3b3ugHt2QhSB8NIJ X4nh6yoXw5FCgnxCgC5L7WJJlwpDSyAuYhVo9ojKSBMEKHiXt4Y1N/wHoAH6xE4GBEhG c7iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792700262; x=1793305062; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=iAnJHbAj+7GrhGqt/YgmkPVVsy9mY2bq1PLttW1rYcE=; b=kj8hbIoi+75jncHwamWGE8c59kXxKgMs11vvOn98rElSDC4GGWwICkvloetnri8Lu4 rAMjWZyFdy9/95v4CG22TsajaWMCtM/NBPVt3eT2Zjd7a/802Trws2i4vD3mWjr1mqix RBjdnzwZEVP2R7ek+z0RWuXn+9kX4UXlN1v4u7xDsvMEoWzqDRMFbAWE3b8T1K612Jdb 0wlMSfy/B8K33R49GLK4M7HRpPKE9GfJARE2DVH8lbdUU3TfmLUfvOlXEtvgdQ5MHU6v TQ8mZC7BRr0vvv+6+8OE4IpyimaUwlev7iJgxaENePBPnplKlPZtF29rphI3h9gyV7bf mU7Q== X-Gm-Message-State: AFq9FYLUGqC7CNb2O5lQji9HGJCYnNXEkI4rN5YdeA9p3b9oZWXWKFXt +dDPUQXDmYMRcUhA2nn5sl5MTnF8/C9meY6kPA5FLtwJ4jzjIjuNVKu4EJ7rvAAmybvI7jSDgPM A+2yuFMbGTwKvUCvxTG9sPCrhe5OJvTKeHcTCy/N5yDLLYXSqWQjGBp2v+XYjpS71jA== X-Gm-Gg: AYBFou23F4sw69gkFbwG/B4MJ9inZEHK7tWqiqKiagBaa9QY7ulqqSUbyEqOY3yOL80 XlkvRy55/sR9Cm5PmyBKaPTyZ8anrhxQItoDTMShaRQrZoJByEomRIBSQ3tz/9kKR3d/FJ9FBit TCEo0CkfqqpoIsxa9GmNC9MLXBceo2oLiB46sxERE41l72qTWXXZ7Ii4FkBC+Z8AM3OTZkqLDM3 zSUnKmzk6zkrzQkJ5RW15GP0rZKDNLVQa9xnD0CZR8aGo3R1wq/7WmTpPgq59wUIzQ6XSB8tgQY mp9NbOI3aP7mPCQCpHq2ZbpUj/+WOP+sgmaGHEz+PvP4P3BzY/jJJPsnt2HrciqNmuUi5dv5JS9 GqJPFo3oxeXw/5fO1xJ3wCEJ7W5meueYoe28s/vBCvXWUn63YOdoiaYG5kjEnfn4= X-Received: by 2002:a05:6a21:7812:b0:3e2:70b3:957 with SMTP id adf61e73a8af0-3e3692062eemr49532637.30.1792700261689; Thu, 22 Oct 2026 13:17:41 -0700 (PDT) X-Received: by 2002:a05:6a21:7812:b0:3e2:70b3:957 with SMTP id adf61e73a8af0-3e3692062eemr49520637.30.1792700261206; Thu, 22 Oct 2026 13:17:41 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson , Peter Maydell , Pierrick Bouvier Subject: [PATCH 2/3] tests/tcg/loongarch64/system: reenable gdb-memory test on aarch64 hosts Date: Thu, 22 Oct 2026 13:17:32 -0700 Message-ID: <20261022201733.1941651-3-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261022201733.1941651-1-pierrick.bouvier@oss.qualcomm.com> References: <20261022201733.1941651-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: qILGiX4y1VyXvSfmcdGVQ3ZQ6VAHE-zg X-Proofpoint-Spam-Info: AW1haW4tMjYxMDIyMDA4MCBTYWx0ZWRfX524lsP/0QGR4 dON3ji+zHXuftwWrcs+GK5k0Ltytsp4r6pkIxwdiLC+iGxXuxsPaDmkm2ulfiMyC4mQbjP/FsTa jbGTQABzZZPrwNiSvevjdxFSLaKiH4k= X-Authority-Analysis: v=2.4 cv=VNZIDNPX c=1 sm=1 tr=0 ts=6ada6f66 cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=9852oil1ID9t5xBSyQ/BEA==:17 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=p0WdMEafAAAA:8 a=EUspDBNiAAAA:8 a=-f14e7MdJ4CnexN5ccYA:9 a=x9snwWr2DeNwDh03kgHS:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDIyMDA4MCBTYWx0ZWRfXylXNgZ9dpe4a vZt7GgRRRNeI9qAXeExFhkqz2dKMcgbWcQUwpxwLtk5JLMZ3dSuc2DcNE9EXtUpePQmHmr/Lj2z hS5p0tzRD31Qd4tuPfk4zPHu4yPqsoYL0jyHRFCGf55cWU6OAw4LstyBZYS/sqQ7deJJYgEu7y0 XCbY1f8MtAlULCv8G5nRiePNSBqI2DxnqPl7zixCiCDZXYt2qyATdqBoscsfuVk/c4F8rSuLPQB CTqw/frUCl51SsULuj4iy3fwkGb8LA8Fp8qHFRKiVjbqL1kAij+vq3/SY3i3tgUKSWWUCLtNaBE 8F9iiGx9JS/iRWS0PVwhvJtu/knvqYeSPoKz8vCv0UOxxzQ2zVqCv4F6aIovckWhhU4X1hwqakt LQXoOZIC121pL8VRt+Lpe2A4ncewSEggE4nqIaVcyXhrieZC7OGXsUepkf1R0rqp5ph+zEg4rw0 D+QII2i5Pw8Cb9eIY6A== X-Proofpoint-ORIG-GUID: qILGiX4y1VyXvSfmcdGVQ3ZQ6VAHE-zg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-10-22_06,2026-10-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 bulkscore=0 adultscore=0 phishscore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610220080 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=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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: 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 @qualcomm.com) X-ZM-MESSAGEID: 1792700289810158500 Content-Type: text/plain; charset="utf-8" Thanks to check introduced in previous commit, we can get rid of this. At the time, my aarch64 host had gdb 15.1 installed, while my x64 host had gdb 16.3. This already exposed the problem fixed in previous commit. Unfortunately, I didn't investigate enough to notice it was related to this, being busy upstreaming tcg tests series, and instead assumed we had a bug somewhere in our gdbstub. Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/4567 Signed-off-by: Pierrick Bouvier --- tests/tcg/loongarch64/system/meson.build | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/tcg/loongarch64/system/meson.build b/tests/tcg/loongarch= 64/system/meson.build index 0f81ef9cfe3..93e76b696ed 100644 --- a/tests/tcg/loongarch64/system/meson.build +++ b/tests/tcg/loongarch64/system/meson.build @@ -24,11 +24,6 @@ foreach t: tcg_tests['multiarch-softmmu']['tests'] new_cflags =3D cflags if fs.stem(src) =3D=3D 'memory' new_cflags +=3D '-DCHECK_UNALIGNED=3D0' - # TODO: memory test hangs on aarch64 host - # https://gitlab.com/qemu-project/qemu/-/work_items/4567 - if host_machine.cpu_family() =3D=3D 'aarch64' and 'gdb_test' in setup - continue - endif endif if 'gdb_test' in setup setup +=3D {'gdb_feat': 'loongarch64'} --=20 2.47.3 From nobody Mon Nov 23 04:36:03 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=reject dis=none) header.from=oss.qualcomm.com ARC-Seal: i=1; a=rsa-sha256; t=1792700287; cv=none; d=zohomail.com; s=zohoarc; b=gMT6BWEbQq7uZXH1d0JZCeZo83pq9pGG7tWjvneiG/yVgYfnalEW9+B7uqlt6xzTnuXHyaQu7yt57QMs+VPjSoqssLkT2zeK3uCdSDodLsCe3EPzZYzE+KwSmsoD7d4EbShwpHBLRcT4AiwbFl0yCQr6zbB0jOCf8UoK2cZ/HqE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1792700287; 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:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=zE8FjfLBzyBdVdMbYC4/ya5lUDFBrQawEF5jmuDv+Z0=; b=f+x2xjzT39DVUAYtRz6ZW0E98+hiBN+vDwGr0Qt71sY68HCqZEOill4aL1cL1Mzwy+MNT2ypUcskwr+jimyb2bJg1VFt1CTCJF2fh3eIvnWUBwb0IThUuv0u4SJ4gzk02yPsHFkXfHlTPqZiQyAvPTG3a9Lubei6yetwQikpmaE= 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=reject dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1792700287739715.0180021312634; Thu, 22 Oct 2026 13:18:07 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xJzEV-0004XS-Py; Thu, 22 Oct 2026 16:17:51 -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 1xJzES-0004Wy-CR for qemu-devel@nongnu.org; Thu, 22 Oct 2026 16:17:49 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xJzEP-0006aF-8q for qemu-devel@nongnu.org; Thu, 22 Oct 2026 16:17:48 -0400 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69MHtYle409002 for ; Thu, 22 Oct 2026 20:17:44 GMT Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hf93a5c9d-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 22 Oct 2026 20:17:43 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-8862ed0539dso269132b3a.0 for ; Thu, 22 Oct 2026 13:17:43 -0700 (PDT) Received: from pc.taild8403c.ts.net (192-80-163-190.dyn.novuscom.net. [192.80.163.190]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8a2c89d8138sm55163b3a.18.2026.10.22.13.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2026 13:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=zE8FjfLBzyB dVdMbYC4/ya5lUDFBrQawEF5jmuDv+Z0=; b=KT0ml0ss7nN6NgZCtW7KYuUtqLH SImgC9i9nIj9SMn9RrWV2feTF1vLrPtvp//Mxy6G7FyQVteMR2DKCIhQmymMmnz4 U9OYx4CDVTCybMyP93vIdHiamiIUmSq1fHpskLd7jB4W9LQMhwCzOdGR71dt6e2A FDLyuXPicHrydaYdxlF6IhnAidRivDELGJtERjr9i7m8LQPnNWTp2QqYUu0McQco Jd+KUnLm4tuDniP+LNwsrZWb1RzAVVjj97ttD9GtO9RlfgbLVKO3zAj8JlyXsH75 zs2FPoB0/coByntzejPlxT/zTFdd7pdQz7erIemB7kc9B4ldSxhLLBqfilw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1792700263; x=1793305063; 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:content-type; bh=zE8FjfLBzyBdVdMbYC4/ya5lUDFBrQawEF5jmuDv+Z0=; b=PTYHpjwgb8hQrP2y6zhLycZV4kVTEOVAEi7bbSqnP+1zFr7nOqf2bsTVIr71NFVNoA 5rz60WMpzXLVRaSHkkHko+IEIW1wn9dThvSVVPRwlPFQZ6cGv5eX6Ck2L5KZiX6vx/KW Oknb2aZCufZ6NBr79grWZcsAfXd4SjHaaJVOkMoVe0/D/wLsHNoAtbNAfg23dGQI0Pst HRTVcHcLzfvHoO3C1yxQsKNJ7lA71vaVP4HwuV++djh/5vfrihUz1266RsxDaArdee+Y 5pMUqLiAzEf0VYKb3RsvcitaFSqAFCJrs/hBusa4wCpGMlIs19qWA8FLfXy5n8/2ATBt YAQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792700263; x=1793305063; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=zE8FjfLBzyBdVdMbYC4/ya5lUDFBrQawEF5jmuDv+Z0=; b=bio1CeJAMcIuycaNqdm40uYyRlIZdrIdOtc5ybMwErP6IEvm972sEphL3DgTg/QL4l n9z2AU2MjMi4lL/Fm3gdEnq3eFwW/Ivo1rSRRrTrxoAW4ZVPqOqjNDe0NxTMp1hEklMr m3eDZ4tG7VQ0bQwpUyusbba1RAtqSxnBLC06+T2CgUE8qbc22HAw4uYVyJER4l528kls 6xF9CrY5RnNwJTP4QKFMMV06Di1kBXkpQDA3GNTMzeLTEhsoIbhwoB3J6IK0U51HPxFf 4pOy0HTQDaNC3u6wT9SeFyiD7wrkKhXil+9CwdR8IHI4TIZsmcYR+uGQYtOmiRSUo/2W VsTg== X-Gm-Message-State: AFq9FYKFJ1qopjEAy0AEKdCyy3+q/LsTxrPbQEzvHles+gP8m9JmHAT2 eqv6AS+P7fc8zkxKMyAd3/sSObs5LHoZy1Oo9plg4O7r+pbjkrjoGl0AMkhMEiwe0TqqncXrm7j CxpqM0StHo3sEvL2uVY308PFst2AL6/NQUDz7IJk0AMu6/RUAfVR+05u+GD9F+wYVsw== X-Gm-Gg: AYBFou0Gbe7HPT2zU/bhNt0iPJUFdg+jy0GTN+ScKTbVvEdtJ+CqMmCRNrdBYr92gKA 533qFh4opgODoP7QSmTl0RtQQSEB6qJPJKy2f5kd4gA/eMh8NJtDbLYaRb7Pa2FEQzItGiuJ/kq sDCqqeJSZ/lAWEFqeNzgkpyqz0+1+NZGEzA5yldInEskPYbCiejcAvvjnJt6UgppnpSGabNvfQr l2ZUkSMuAgNBY/HHbE5eqXQAFqYMzoRkMrA0Xd3P1AjzOd9GRo/mIgeiaAMAzYPIzj8AiX/clwR XCfLtapZAlEyqdnuQMsiY9iHpedvZo7IzE3oA2/T2n7OQ6EFeyqWqL/HHRIcP73UJX8fe0bTpiD gJXignDWP/8afugXXMTuVCDwefwwB97XCcO+9LaNDR5f/LNyuabtXhsq1v7IqS0I= X-Received: by 2002:a05:6a00:9288:b0:8a0:1c79:b442 with SMTP id d2e1a72fcca58-8a2c523496fmr270443b3a.0.1792700262653; Thu, 22 Oct 2026 13:17:42 -0700 (PDT) X-Received: by 2002:a05:6a00:9288:b0:8a0:1c79:b442 with SMTP id d2e1a72fcca58-8a2c523496fmr270409b3a.0.1792700261950; Thu, 22 Oct 2026 13:17:41 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson , Peter Maydell , Pierrick Bouvier Subject: [PATCH 3/3] tests/tcg: remove global meson variables Date: Thu, 22 Oct 2026 13:17:33 -0700 Message-ID: <20261022201733.1941651-4-pierrick.bouvier@oss.qualcomm.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261022201733.1941651-1-pierrick.bouvier@oss.qualcomm.com> References: <20261022201733.1941651-1-pierrick.bouvier@oss.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDIyMDA4MCBTYWx0ZWRfX0e6GOOt/irHR 6ykD/T6S0GKsBP8pWqkQNzfuo0bUZIMl0fI/dpdxIirsYeNN1GbuABuXJ2EvgPtc5fEkYMzMjz1 h/JU4u+i+LSdX6vWOMGTcX0j8gArz4h9tBci/khHHQuOSqZ17C+mNqwAMVe3AgU1j7UfZlGZ0bB 3XYfwQMWXHd2mnGQnMkJnNOeiSdhxePqSSrSmlNqy0llS7W4X9A0zr0ZuqZ+y3g8SDY2ixeVgsf ZdpHNQFSs3OShqs+Cts5TPFjvQCes8WHzKpHPxLLkCT+dJ0srflCOLQOFBNug0/eDFzTKpZaUIj Hjeqqk3v1R3ALYX6CSJJMaVYk0lz4+3RY2AOLxrHX0ppaw+LHOCk73maj4rjxR78lgYfCboOkr6 kbhGz7GebDXGX6ABjXzVgH1oU7qwb0cPB0DMhDDyjCVnyYdhOqjukeBp5xwTZPToF3UhCf9LYRf UoK+NZKztYMGVDn9hsA== X-Proofpoint-Spam-Info: AW1haW4tMjYxMDIyMDA4MCBTYWx0ZWRfX0URqXrpPfu37 8/5Sp0M1C/cuzy0zXLqOoN7F/cmuVQdm6VA1JeH1JPjeKmarO4qzZMbYm1NGr7R5ofv2mseiXnT KzDDopUob1+jBC0KOJ/eiWeZ7OHCQoo= X-Proofpoint-GUID: O3SlRRspmfjXvDJGa-tY5WnE-g68BVdt X-Authority-Analysis: v=2.4 cv=NaFzRGD4 c=1 sm=1 tr=0 ts=6ada6f67 cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=9852oil1ID9t5xBSyQ/BEA==:17 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=4RIeDs6z6I20CdcLo6MA:9 a=OpyuDcXvxspvyRM73sMx:22 X-Proofpoint-ORIG-GUID: O3SlRRspmfjXvDJGa-tY5WnE-g68BVdt X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-10-22_06,2026-10-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 malwarescore=0 spamscore=0 phishscore=0 priorityscore=1501 adultscore=0 clxscore=1015 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610220080 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=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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: 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 @qualcomm.com) X-ZM-MESSAGEID: 1792700289937158500 Content-Type: text/plain; charset="utf-8" When writing the conversion, I tried to factorize some definitions between linux-user and softmmu and variants of a target. Unfortunately, as meson has (sadly) no support for local variables, this required to use global variables. As a consequence, those variables are also exposed between targets, and this resulted in some entries being wrongly set (cc_feat_cflags or gdb_feat_version, for instance, wrongly set on target not defining them). Being bitten by this while writing the two previous patches, I decided it was time to clean this up and not rely on global variables. This patch inlines required entries directly in test suite definition. Change is correct since all keys modified here are checked during meson configuration, so we can't forget a definition. Signed-off-by: Pierrick Bouvier --- tests/tcg/aarch64/meson.build | 46 ++++++++++-------------- tests/tcg/aarch64/system/meson.build | 16 ++++++--- tests/tcg/aarch64_be/meson.build | 1 - tests/tcg/alpha/meson.build | 7 ++-- tests/tcg/alpha/system/meson.build | 4 +-- tests/tcg/arm/meson.build | 7 ++-- tests/tcg/arm/system/meson.build | 4 +-- tests/tcg/hppa/meson.build | 1 - tests/tcg/i386/meson.build | 7 ++-- tests/tcg/i386/system/meson.build | 4 +-- tests/tcg/loongarch64/meson.build | 19 ++++------ tests/tcg/loongarch64/system/meson.build | 10 ++++-- tests/tcg/m68k/meson.build | 1 - tests/tcg/mips/meson.build | 1 - tests/tcg/mipsel/meson.build | 2 -- tests/tcg/or1k/meson.build | 1 - tests/tcg/ppc64/meson.build | 11 +++--- tests/tcg/ppc64le/meson.build | 5 ++- tests/tcg/riscv32/meson.build | 3 -- tests/tcg/riscv32/system/meson.build | 4 +-- tests/tcg/riscv64/meson.build | 10 ++---- tests/tcg/riscv64/system/meson.build | 6 ++-- tests/tcg/s390x/meson.build | 21 ++++------- tests/tcg/s390x/system/meson.build | 7 ++-- tests/tcg/sh4/meson.build | 1 - tests/tcg/x86_64/meson.build | 10 ++---- tests/tcg/x86_64/system/meson.build | 6 ++-- tests/tcg/xtensa/meson.build | 6 ++-- 28 files changed, 89 insertions(+), 132 deletions(-) diff --git a/tests/tcg/aarch64/meson.build b/tests/tcg/aarch64/meson.build index 1cec335df04..52eb67ae6ac 100644 --- a/tests/tcg/aarch64/meson.build +++ b/tests/tcg/aarch64/meson.build @@ -1,26 +1,3 @@ -cc =3D 'aarch64-linux-gnu-gcc' -cc_alt =3D ['aarch64-redhat-linux-gcc'] -cc_dockerfile =3D 'debian-all-test-cross' - -cc_feat_cflags =3D { - 'aes': '-march=3Darmv8-a+aes', - 'sve': '-march=3Darmv8.1-a+sve', - 'sve2': '-march=3Darmv8.1-a+sve2', - 'v8.2': '-march=3Darmv8.2-a', - 'v8.3': '-march=3Darmv8.3-a', - 'v8.5': '-march=3Darmv8.5-a', - 'bti': '-mbranch-protection=3Dstandard', - 'mte': '-march=3Darmv8.5-a+memtag', - 'sme': '-Wa,-march=3Darmv9-a+sme', - 'fprcvt': '-march=3Darmv9-a+fprcvt', -} - -gdb_feat_version =3D { - 'sme-tiles': '14.1', - 'mte': '15.1', - 'mte-baremetal': '16.0', -} - subdir('system') =20 tests =3D [] @@ -196,13 +173,26 @@ tests +=3D { if 'qemu-aarch64' in emulators tcg_tests +=3D { 'aarch64-linux-user': { - 'cc': cc, - 'cc_alt': cc_alt, - 'cc_dockerfile': cc_dockerfile, - 'cc_feat_cflags': cc_feat_cflags, + 'cc': 'aarch64-linux-gnu-gcc', + 'cc_alt': ['aarch64-redhat-linux-gcc'], + 'cc_dockerfile': 'debian-all-test-cross', + 'cc_feat_cflags': { + 'aes': '-march=3Darmv8-a+aes', + 'sve': '-march=3Darmv8.1-a+sve', + 'sve2': '-march=3Darmv8.1-a+sve2', + 'v8.2': '-march=3Darmv8.2-a', + 'v8.3': '-march=3Darmv8.3-a', + 'v8.5': '-march=3Darmv8.5-a', + 'bti': '-mbranch-protection=3Dstandard', + 'mte': '-march=3Darmv8.5-a+memtag', + 'sme': '-Wa,-march=3Darmv9-a+sme', + }, 'folder': 'aarch64', 'gdb_arch': 'aarch64', - 'gdb_feat_version': gdb_feat_version, + 'gdb_feat_version': { + 'sme-tiles': '14.1', + 'mte': '15.1', + }, 'qemu': emulators['qemu-aarch64'], 'tests': tests, } diff --git a/tests/tcg/aarch64/system/meson.build b/tests/tcg/aarch64/syste= m/meson.build index 270d4d6c311..8710ebfdad3 100644 --- a/tests/tcg/aarch64/system/meson.build +++ b/tests/tcg/aarch64/system/meson.build @@ -108,13 +108,19 @@ tests +=3D { if 'qemu-system-aarch64' in emulators tcg_tests +=3D { 'aarch64-softmmu': { - 'cc': cc, - 'cc_alt': cc_alt + ['aarch64-elf-gcc'], - 'cc_dockerfile': cc_dockerfile, - 'cc_feat_cflags': cc_feat_cflags, + 'cc': 'aarch64-linux-gnu-gcc', + 'cc_alt': ['aarch64-redhat-linux-gcc', 'aarch64-elf-gcc'], + 'cc_dockerfile': 'debian-all-test-cross', + 'cc_feat_cflags': { + 'sve': '-march=3Darmv8.1-a+sve', + 'v8.3': '-march=3Darmv8.3-a', + 'mte': '-march=3Darmv8.5-a+memtag', + }, 'folder': 'aarch64/system', 'gdb_arch': 'aarch64', - 'gdb_feat_version': gdb_feat_version, + 'gdb_feat_version': { + 'mte-baremetal': '16.0', + }, 'qemu': emulators['qemu-system-aarch64'], 'tests': tests, } diff --git a/tests/tcg/aarch64_be/meson.build b/tests/tcg/aarch64_be/meson.= build index 509408de8e7..c1873cd5606 100644 --- a/tests/tcg/aarch64_be/meson.build +++ b/tests/tcg/aarch64_be/meson.build @@ -12,7 +12,6 @@ if 'qemu-aarch64_be' in emulators 'cc': 'aarch64-linux-gnu-gcc', 'cc_alt': ['aarch64-redhat-linux-gcc'], 'cc_dockerfile': 'debian-all-test-cross', - 'cc_feat_cflags': cc_feat_cflags, 'folder': 'aarch64_be', 'gdb_arch': 'aarch64_be', 'qemu': emulators['qemu-aarch64_be'], diff --git a/tests/tcg/alpha/meson.build b/tests/tcg/alpha/meson.build index 30ea2a6978e..970b845ac21 100644 --- a/tests/tcg/alpha/meson.build +++ b/tests/tcg/alpha/meson.build @@ -1,6 +1,3 @@ -cc =3D 'alpha-linux-gnu-gcc' -cc_dockerfile =3D 'debian-all-test-cross' - subdir('system') =20 tests =3D [] @@ -42,8 +39,8 @@ tests +=3D { if 'qemu-alpha' in emulators tcg_tests +=3D { 'alpha-linux-user': { - 'cc': cc, - 'cc_dockerfile': cc_dockerfile, + 'cc': 'alpha-linux-gnu-gcc', + 'cc_dockerfile': 'debian-all-test-cross', 'folder': 'alpha', 'gdb_arch': 'alpha', 'qemu': emulators['qemu-alpha'], diff --git a/tests/tcg/alpha/system/meson.build b/tests/tcg/alpha/system/me= son.build index 5388e17a2f7..80a629a9385 100644 --- a/tests/tcg/alpha/system/meson.build +++ b/tests/tcg/alpha/system/meson.build @@ -35,8 +35,8 @@ endforeach if 'qemu-system-alpha' in emulators tcg_tests +=3D { 'alpha-softmmu': { - 'cc': cc, - 'cc_dockerfile': cc_dockerfile, + 'cc': 'alpha-linux-gnu-gcc', + 'cc_dockerfile': 'debian-all-test-cross', 'folder': 'alpha/system', 'gdb_arch': 'alpha', 'qemu': emulators['qemu-system-alpha'], diff --git a/tests/tcg/arm/meson.build b/tests/tcg/arm/meson.build index fd82b5c7a63..6e498232f0d 100644 --- a/tests/tcg/arm/meson.build +++ b/tests/tcg/arm/meson.build @@ -1,6 +1,3 @@ -cc =3D 'arm-linux-gnueabihf-gcc' -cc_dockerfile =3D 'debian-all-test-cross' - subdir('system') =20 tests =3D [] @@ -69,8 +66,8 @@ tests +=3D { if 'qemu-arm' in emulators tcg_tests +=3D { 'arm-linux-user': { - 'cc': cc, - 'cc_dockerfile': cc_dockerfile, + 'cc': 'arm-linux-gnueabihf-gcc', + 'cc_dockerfile': 'debian-all-test-cross', 'folder': 'arm', 'gdb_arch': 'arm', 'qemu': emulators['qemu-arm'], diff --git a/tests/tcg/arm/system/meson.build b/tests/tcg/arm/system/meson.= build index 80c5461e620..c20818f0893 100644 --- a/tests/tcg/arm/system/meson.build +++ b/tests/tcg/arm/system/meson.build @@ -69,9 +69,9 @@ tests +=3D { if 'qemu-system-arm' in emulators tcg_tests +=3D { 'arm-softmmu': { - 'cc': cc, + 'cc': 'arm-linux-gnueabihf-gcc', 'cc_alt': ['arm-none-eabi-gcc'], - 'cc_dockerfile': cc_dockerfile, + 'cc_dockerfile': 'debian-all-test-cross', 'folder': 'arm/system', 'gdb_arch': 'arm', 'qemu': emulators['qemu-system-arm'], diff --git a/tests/tcg/hppa/meson.build b/tests/tcg/hppa/meson.build index 01d4554d993..8c1813636c4 100644 --- a/tests/tcg/hppa/meson.build +++ b/tests/tcg/hppa/meson.build @@ -11,7 +11,6 @@ if 'qemu-hppa' in emulators 'hppa-linux-user': { 'cc': 'hppa-linux-gnu-gcc', 'cc_dockerfile': 'debian-all-test-cross', - 'cc_feat_cflags': cc_feat_cflags, 'folder': 'hppa', 'gdb_arch': 'hppa', 'qemu': emulators['qemu-hppa'], diff --git a/tests/tcg/i386/meson.build b/tests/tcg/i386/meson.build index 84bd68067a5..e7c30958608 100644 --- a/tests/tcg/i386/meson.build +++ b/tests/tcg/i386/meson.build @@ -1,6 +1,3 @@ -cc =3D 'i686-linux-gnu-gcc' -cc_dockerfile =3D 'debian-i686-cross' - subdir('system') =20 tests =3D [] @@ -47,8 +44,8 @@ tests +=3D { if 'qemu-i386' in emulators tcg_tests +=3D { 'i386-linux-user': { - 'cc': cc, - 'cc_dockerfile': cc_dockerfile, + 'cc': 'i686-linux-gnu-gcc', + 'cc_dockerfile': 'debian-i686-cross', 'folder': 'i386', 'gdb_arch': 'i386', 'qemu': emulators['qemu-i386'], diff --git a/tests/tcg/i386/system/meson.build b/tests/tcg/i386/system/meso= n.build index 91c6e887191..44e86a12cdd 100644 --- a/tests/tcg/i386/system/meson.build +++ b/tests/tcg/i386/system/meson.build @@ -41,9 +41,9 @@ tests +=3D { if 'qemu-system-i386' in emulators tcg_tests +=3D { 'i386-softmmu': { - 'cc': cc, + 'cc': 'i686-linux-gnu-gcc', 'cc_alt': ['i686-elf-gcc'], - 'cc_dockerfile': cc_dockerfile, + 'cc_dockerfile': 'debian-i686-cross', 'folder': 'i386/system', 'gdb_arch': 'i386', 'qemu': emulators['qemu-system-i386'], diff --git a/tests/tcg/loongarch64/meson.build b/tests/tcg/loongarch64/meso= n.build index bff30cb49c8..152bb1d4edb 100644 --- a/tests/tcg/loongarch64/meson.build +++ b/tests/tcg/loongarch64/meson.build @@ -1,12 +1,3 @@ -cc =3D 'loongarch64-unknown-linux-gnu-gcc' -cc_dockerfile =3D 'debian-loongarch-cross' - -gdb_feat_version =3D { - # previous version report "Architecture rejected target-supplied - # description", exposing a mismatch between our gdbstub and gdb. - 'loongarch64': '16.1', -} - subdir('system') =20 tests =3D [] @@ -32,11 +23,15 @@ tests +=3D { if 'qemu-loongarch64' in emulators tcg_tests +=3D { 'loongarch64-linux-user': { - 'cc': cc, - 'cc_dockerfile': cc_dockerfile, + 'cc': 'loongarch64-unknown-linux-gnu-gcc', + 'cc_dockerfile': 'debian-loongarch-cross', 'folder': 'loongarch64', 'gdb_arch': 'loongarch64', - 'gdb_feat_version': gdb_feat_version, + 'gdb_feat_version': { + # previous version report "Architecture rejected target-supplied + # description", exposing a mismatch between our gdbstub and gdb. + 'loongarch64': '16.1', + }, 'qemu': emulators['qemu-loongarch64'], 'tests': tests, } diff --git a/tests/tcg/loongarch64/system/meson.build b/tests/tcg/loongarch= 64/system/meson.build index 93e76b696ed..37b72bafc4d 100644 --- a/tests/tcg/loongarch64/system/meson.build +++ b/tests/tcg/loongarch64/system/meson.build @@ -39,11 +39,15 @@ endforeach if 'qemu-system-loongarch64' in emulators tcg_tests +=3D { 'loongarch64-softmmu': { - 'cc': cc, - 'cc_dockerfile': cc_dockerfile, + 'cc': 'loongarch64-unknown-linux-gnu-gcc', + 'cc_dockerfile': 'debian-loongarch-cross', 'folder': 'loongarch64/system', 'gdb_arch': 'loongarch64', - 'gdb_feat_version': gdb_feat_version, + 'gdb_feat_version': { + # previous version report "Architecture rejected target-supplied + # description", exposing a mismatch between our gdbstub and gdb. + 'loongarch64': '16.1', + }, 'qemu': emulators['qemu-system-loongarch64'], 'tests': tests, } diff --git a/tests/tcg/m68k/meson.build b/tests/tcg/m68k/meson.build index 4b73d7fc57d..b34cb032446 100644 --- a/tests/tcg/m68k/meson.build +++ b/tests/tcg/m68k/meson.build @@ -12,7 +12,6 @@ if 'qemu-m68k' in emulators 'm68k-linux-user': { 'cc': 'm68k-linux-gnu-gcc', 'cc_dockerfile': 'debian-all-test-cross', - 'cc_feat_cflags': cc_feat_cflags, 'folder': 'm68k', 'gdb_arch': 'm68k', 'qemu': emulators['qemu-m68k'], diff --git a/tests/tcg/mips/meson.build b/tests/tcg/mips/meson.build index 2164f143ea8..88d598a4f89 100644 --- a/tests/tcg/mips/meson.build +++ b/tests/tcg/mips/meson.build @@ -14,7 +14,6 @@ if 'qemu-mips' in emulators 'mips-linux-user': { 'cc': 'mips-linux-gnu-gcc', 'cc_dockerfile': 'debian-all-test-cross', - 'cc_feat_cflags': cc_feat_cflags, 'folder': 'mips', 'gdb_arch': 'mips', 'qemu': emulators['qemu-mips'], diff --git a/tests/tcg/mipsel/meson.build b/tests/tcg/mipsel/meson.build index 3ac47117480..c9e869b000f 100644 --- a/tests/tcg/mipsel/meson.build +++ b/tests/tcg/mipsel/meson.build @@ -181,7 +181,6 @@ if 'qemu-mipsel' in emulators 'mipsel-linux-user': { 'cc': 'mipsel-linux-gnu-gcc', 'cc_dockerfile': 'debian-all-test-cross', - 'cc_feat_cflags': cc_feat_cflags, 'folder': 'mipsel', 'gdb_arch': 'mipsel', 'qemu': emulators['qemu-mipsel'], @@ -207,7 +206,6 @@ if 'qemu-mipsel' in emulators 'mips32r5el-linux-user': { 'cc': 'mips32r5el-buildroot-linux-gnu-gcc', 'cc_dockerfile': 'debian-all-test-cross', - 'cc_feat_cflags': cc_feat_cflags, 'folder': 'mipsel', 'gdb_arch': 'mipsel', 'qemu': emulators['qemu-mipsel'], diff --git a/tests/tcg/or1k/meson.build b/tests/tcg/or1k/meson.build index c89bb372b47..f1124609b88 100644 --- a/tests/tcg/or1k/meson.build +++ b/tests/tcg/or1k/meson.build @@ -61,7 +61,6 @@ if 'qemu-or1k' in emulators 'or1k-linux-user': { 'cc': 'or1k-none-linux-musl-gcc', 'cc_dockerfile': 'debian-all-test-cross', - 'cc_feat_cflags': cc_feat_cflags, 'folder': 'or1k', 'gdb_arch': 'or1k', 'qemu': emulators['qemu-or1k'], diff --git a/tests/tcg/ppc64/meson.build b/tests/tcg/ppc64/meson.build index 8cca4d65a4c..7713d743384 100644 --- a/tests/tcg/ppc64/meson.build +++ b/tests/tcg/ppc64/meson.build @@ -1,8 +1,3 @@ -cc_feat_cflags =3D { - 'power8': '-mcpu=3Dpower8', - 'power10': '-mcpu=3Dpower10', -} - tests =3D [] =20 # Multi arch tests @@ -44,10 +39,12 @@ if 'qemu-ppc64' in emulators 'ppc64-linux-user': { 'cc': 'powerpc64-linux-gnu-gcc', 'cc_dockerfile': 'debian-all-test-cross', - 'cc_feat_cflags': cc_feat_cflags, + 'cc_feat_cflags': { + 'power8': '-mcpu=3Dpower8', + 'power10': '-mcpu=3Dpower10', + }, 'folder': 'ppc64', 'gdb_arch': 'ppc64', - 'gdb_feat_version': gdb_feat_version, 'qemu': emulators['qemu-ppc64'], 'tests': tests, } diff --git a/tests/tcg/ppc64le/meson.build b/tests/tcg/ppc64le/meson.build index 9f386287e7a..b474bf4eee5 100644 --- a/tests/tcg/ppc64le/meson.build +++ b/tests/tcg/ppc64le/meson.build @@ -4,7 +4,10 @@ if 'qemu-ppc64le' in emulators 'cc': 'powerpc64le-linux-gnu-gcc', 'cc_alt': ['ppc64le-redhat-linux-gcc'], 'cc_dockerfile': 'debian-all-test-cross', - 'cc_feat_cflags': cc_feat_cflags, + 'cc_feat_cflags': { + 'power8': '-mcpu=3Dpower8', + 'power10': '-mcpu=3Dpower10', + }, 'folder': 'ppc64le', 'gdb_arch': 'ppc64le', 'qemu': emulators['qemu-ppc64le'], diff --git a/tests/tcg/riscv32/meson.build b/tests/tcg/riscv32/meson.build index 862f1349c2b..8af80d5e66e 100644 --- a/tests/tcg/riscv32/meson.build +++ b/tests/tcg/riscv32/meson.build @@ -1,6 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-or-later =20 -cc =3D 'riscv64-linux-gnu-gcc' -cc_dockerfile =3D 'debian-all-test-cross' - subdir('system') diff --git a/tests/tcg/riscv32/system/meson.build b/tests/tcg/riscv32/syste= m/meson.build index f8e55ad3d4e..117ae6fbce4 100644 --- a/tests/tcg/riscv32/system/meson.build +++ b/tests/tcg/riscv32/system/meson.build @@ -25,8 +25,8 @@ tests +=3D { if 'qemu-system-riscv32' in emulators tcg_tests +=3D { 'riscv32-softmmu': { - 'cc': cc, - 'cc_dockerfile': cc_dockerfile, + 'cc': 'riscv64-linux-gnu-gcc', + 'cc_dockerfile': 'debian-all-test-cross', 'folder': 'riscv32', 'gdb_arch': 'riscv32', 'qemu': emulators['qemu-system-riscv32'], diff --git a/tests/tcg/riscv64/meson.build b/tests/tcg/riscv64/meson.build index 91c840b0058..0766f4e3ff0 100644 --- a/tests/tcg/riscv64/meson.build +++ b/tests/tcg/riscv64/meson.build @@ -1,7 +1,3 @@ -cc =3D 'riscv64-linux-gnu-gcc' -cc_alt =3D ['riscv64-redhat-linux-gnu-gcc'] -cc_dockerfile =3D 'debian-all-test-cross' - subdir('system') =20 tests =3D [] @@ -26,9 +22,9 @@ tests +=3D { if 'qemu-riscv64' in emulators tcg_tests +=3D { 'riscv64-linux-user': { - 'cc': cc, - 'cc_alt': cc_alt, - 'cc_dockerfile': cc_dockerfile, + 'cc': 'riscv64-linux-gnu-gcc', + 'cc_alt': ['riscv64-redhat-linux-gnu-gcc'], + 'cc_dockerfile': 'debian-all-test-cross', 'folder': 'riscv64', 'gdb_arch': 'riscv64', 'qemu': emulators['qemu-riscv64'], diff --git a/tests/tcg/riscv64/system/meson.build b/tests/tcg/riscv64/syste= m/meson.build index 3e1c9703820..728526dc7a3 100644 --- a/tests/tcg/riscv64/system/meson.build +++ b/tests/tcg/riscv64/system/meson.build @@ -80,9 +80,9 @@ tests +=3D { if 'qemu-system-riscv64' in emulators tcg_tests +=3D { 'riscv64-softmmu': { - 'cc': cc, - 'cc_alt': cc_alt + ['riscv64-elf-gcc'], - 'cc_dockerfile': cc_dockerfile, + 'cc': 'riscv64-linux-gnu-gcc', + 'cc_alt': ['riscv64-redhat-linux-gnu-gcc', 'riscv64-elf-gcc'], + 'cc_dockerfile': 'debian-all-test-cross', 'folder': 'riscv64', 'gdb_arch': 'riscv64', 'qemu': emulators['qemu-system-riscv64'], diff --git a/tests/tcg/s390x/meson.build b/tests/tcg/s390x/meson.build index f2328d9e5cf..15a63c7dea4 100644 --- a/tests/tcg/s390x/meson.build +++ b/tests/tcg/s390x/meson.build @@ -1,12 +1,3 @@ -cc =3D 's390x-linux-gnu-gcc' -cc_alt =3D ['s390x-redhat-linux-gcc'] -cc_dockerfile =3D 'debian-all-test-cross' - -cc_feat_cflags =3D { - 'z14': '-march=3Dz14', - 'z15': '-march=3Dz15', -} - tests_s390x_pgm =3D [ 'br-odd.S', 'cgrl-unaligned.S', @@ -140,13 +131,15 @@ tests +=3D { if 'qemu-s390x' in emulators tcg_tests +=3D { 's390x-linux-user': { - 'cc': cc, - 'cc_alt': cc_alt, - 'cc_dockerfile': cc_dockerfile, - 'cc_feat_cflags': cc_feat_cflags, + 'cc': 's390x-linux-gnu-gcc', + 'cc_alt': ['s390x-redhat-linux-gcc'], + 'cc_dockerfile': 'debian-all-test-cross', + 'cc_feat_cflags': { + 'z14': '-march=3Dz14', + 'z15': '-march=3Dz15', + }, 'folder': 's390x', 'gdb_arch': 's390x', - 'gdb_feat_version': gdb_feat_version, 'qemu': emulators['qemu-s390x'], 'tests': tests, } diff --git a/tests/tcg/s390x/system/meson.build b/tests/tcg/s390x/system/me= son.build index 359d124cc78..d45975d8044 100644 --- a/tests/tcg/s390x/system/meson.build +++ b/tests/tcg/s390x/system/meson.build @@ -81,10 +81,9 @@ endforeach if 'qemu-system-s390x' in emulators tcg_tests +=3D { 's390x-softmmu': { - 'cc': cc, - 'cc_alt': cc_alt, - 'cc_dockerfile': cc_dockerfile, - 'cc_feat_cflags': cc_feat_cflags, + 'cc': 's390x-linux-gnu-gcc', + 'cc_alt': ['s390x-redhat-linux-gcc'], + 'cc_dockerfile': 'debian-all-test-cross', 'folder': 's390x', 'gdb_arch': 's390x', 'qemu': emulators['qemu-system-s390x'], diff --git a/tests/tcg/sh4/meson.build b/tests/tcg/sh4/meson.build index 12b24fffc77..1e96c78afb1 100644 --- a/tests/tcg/sh4/meson.build +++ b/tests/tcg/sh4/meson.build @@ -14,7 +14,6 @@ if 'qemu-sh4' in emulators 'sh4-linux-user': { 'cc': 'sh4-linux-gnu-gcc', 'cc_dockerfile': 'debian-all-test-cross', - 'cc_feat_cflags': cc_feat_cflags, 'folder': 'sh4', 'gdb_arch': 'sh4', 'qemu': emulators['qemu-sh4'], diff --git a/tests/tcg/x86_64/meson.build b/tests/tcg/x86_64/meson.build index 95c7ee676eb..ad4d1f558a7 100644 --- a/tests/tcg/x86_64/meson.build +++ b/tests/tcg/x86_64/meson.build @@ -1,7 +1,3 @@ -cc =3D 'x86_64-linux-gnu-gcc' -cc_alt =3D ['x86_64-redhat-linux-gcc'] -cc_dockerfile =3D 'debian-amd64-cross' - subdir('system') =20 tests =3D [] @@ -73,9 +69,9 @@ tests +=3D { if 'qemu-x86_64' in emulators tcg_tests +=3D { 'x86_64-linux-user': { - 'cc': cc, - 'cc_alt': cc_alt, - 'cc_dockerfile': cc_dockerfile, + 'cc': 'x86_64-linux-gnu-gcc', + 'cc_alt': ['x86_64-redhat-linux-gcc'], + 'cc_dockerfile': 'debian-amd64-cross', 'folder': 'x86_64', 'gdb_arch': 'x86_64', 'qemu': emulators['qemu-x86_64'], diff --git a/tests/tcg/x86_64/system/meson.build b/tests/tcg/x86_64/system/= meson.build index 7d61257b771..46a35d227d0 100644 --- a/tests/tcg/x86_64/system/meson.build +++ b/tests/tcg/x86_64/system/meson.build @@ -51,9 +51,9 @@ tests +=3D { if 'qemu-system-x86_64' in emulators tcg_tests +=3D { 'x86_64-softmmu': { - 'cc': cc, - 'cc_alt': cc_alt + ['x86_64-elf-gcc'], - 'cc_dockerfile': cc_dockerfile, + 'cc': 'x86_64-linux-gnu-gcc', + 'cc_alt': ['x86_64-redhat-linux-gcc', 'x86_64-elf-gcc'], + 'cc_dockerfile': 'debian-amd64-cross', 'folder': 'x86_64/system', 'gdb_arch': 'x86_64', 'qemu': emulators['qemu-system-x86_64'], diff --git a/tests/tcg/xtensa/meson.build b/tests/tcg/xtensa/meson.build index 5ff9c6cd548..627fb14a7f5 100644 --- a/tests/tcg/xtensa/meson.build +++ b/tests/tcg/xtensa/meson.build @@ -78,13 +78,11 @@ foreach core: cores tests_per_core +=3D {core: tests} endforeach =20 -cc_dockerfile =3D 'debian-xtensa-cross' - if 'qemu-system-xtensa' in emulators tcg_tests +=3D { 'xtensa-softmmu': { 'cc': 'xtensa-dc232b-elf-gcc', - 'cc_dockerfile': cc_dockerfile, + 'cc_dockerfile': 'debian-xtensa-cross', 'folder': 'xtensa', 'gdb_arch': 'xtensa', 'qemu': emulators['qemu-system-xtensa'], @@ -97,7 +95,7 @@ if 'qemu-system-xtensaeb' in emulators tcg_tests +=3D { 'xtensaeb-softmmu': { 'cc': 'xtensa-test_kc705_be-elf-gcc', - 'cc_dockerfile': cc_dockerfile, + 'cc_dockerfile': 'debian-xtensa-cross', 'folder': 'xtensa', 'gdb_arch': 'xtensaeb', 'qemu': emulators['qemu-system-xtensaeb'], --=20 2.47.3