From nobody Thu Apr 25 17:11:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617721785; cv=none; d=zohomail.com; s=zohoarc; b=RMoz2Cwt5ZZaPMedLasOaGsO11tX1sEIWNiqvF+oImmtt5E+ceCXG1huB2A6RzqOtrzAk5zA4Ey6UomLwQM0RSAAJdFY7V6SQMS5usMSa9rElOqT1X/bd2I3Vjuhp9XZO12ZIgPmF+bEpqIiT+qdvNVZoco60i8xqNrNJRxAUg8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617721785; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=tP8/moLF8HqczbFq/OlKK/AmKp0m7nQgiXxa02a46ak=; b=UXpQtDclUYG2vDXxn9FAuoPkVXedSMN/KpzhbTcxZl+jtg96aTa3Ub3BT4tZjbCr19jYn/rkrClfgD+fo1Xh9I8iJc4qCu+Gi2+rHK5YT7YrzZriRNwR9jUq2M8BQ66iy8QMK+l9HA4pTrGJNbCxX5k4SD9uogsDMRaR2UuSG0o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617721785929387.5609751347339; Tue, 6 Apr 2021 08:09:45 -0700 (PDT) Received: from localhost ([::1]:47326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTnKq-0006YV-NL for importer@patchew.org; Tue, 06 Apr 2021 11:09:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTnCO-0006SI-Ui for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:01 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:35655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTnCF-00051u-Ei for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:00 -0400 Received: by mail-wr1-x435.google.com with SMTP id j18so14573374wra.2 for ; Tue, 06 Apr 2021 08:00:48 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id i8sm33727755wrx.43.2021.04.06.08.00.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 08:00:43 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 1AB751FF87; Tue, 6 Apr 2021 16:00:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tP8/moLF8HqczbFq/OlKK/AmKp0m7nQgiXxa02a46ak=; b=SolX26N1+4miHmBDsbp2pBvGvgh7jeiMrXA0MjOPQ5pPToYHdAVXO54qSlD0rr521m 9qUiCFkKLvKDbPnPO8dSRUmhHX7w7iH+fjPaJjSf2u1kpHPJXbxZUuExyXJrjPTriJnb HteKWhxE0vAVMJgPxXtkMMwDRvoTnhfJbi6bQwTiOfwD8PDWNIKHu5MpmfqpN6HWQw2X uj25caAcFnhLrBD7rjoElmyyO7S5oAMwncUmvqh3SewK/dnpXP/XQMl0JEc7MQPHJ9+k sywGuhhKSYThLlx6iOzHA3v7rVRAclcGRUWB1BSHmLlHxsjzcCGGRGMvJBbbaAl62qRG f2lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tP8/moLF8HqczbFq/OlKK/AmKp0m7nQgiXxa02a46ak=; b=G2NxMrJBu1Hcwt2UeUe4/gQKXub6JP5WzdvDWSycZAzxDhqwpF0yR8ym84t9x/Pisq N72rImdFUe4ZsjO4lA4ha9mnaI1/pf11x6573liMH8Gh8Wdq9TplDYV34fspvy4yqPaz DV6fzhI3PTeWuS6u+/+eTUfs7/3zo4LlA1PO+6PedDdktK6ResKTKPy2MRVDyn0dlc/6 S+g4hxbkEsyW9aabHJESLHjAcQc37pOohh+IpiEDy0tgQDkz5pJr/pc1L3IIrfRT2vBL bkHklFkH4HTFx9dsu13SO0qKSKLZ2oqDBMpqt6dPq/g9XO4z+LzLKNeWDt8rtZxnGkgI 6wrw== X-Gm-Message-State: AOAM531xEUyzZb3pVGCJjJiR+awsXHzfvR7WB8MiyDuZjp0MlFSYQEtM iqU/ru04y6/7gLcVxKgvwS4Rhw== X-Google-Smtp-Source: ABdhPJy8WsR5DqanbJCUSz62cWtd46UkMLwOSrGJmnr1MforUfPRYZN9Zeh22BepUjPDYsxra8sM0Q== X-Received: by 2002:a5d:5402:: with SMTP id g2mr1038219wrv.25.1617721247946; Tue, 06 Apr 2021 08:00:47 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 01/11] tests/tcg: update the defaults for x86 compilers Date: Tue, 6 Apr 2021 16:00:31 +0100 Message-Id: <20210406150041.28753-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210406150041.28753-1-alex.bennee@linaro.org> References: <20210406150041.28753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) You don't usually notice this is broken on developer system on x86 as we use the normal host compiler. However on other systems the -pc was extraneous. Also for 32 bit only i686 packages exist now so we should use those when available. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210401102530.12030-2-alex.bennee@linaro.org> diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index ce304f4933..af4aecf14e 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -52,7 +52,7 @@ fi : ${cross_cc_hexagon=3D"hexagon-unknown-linux-musl-clang"} : ${cross_cc_cflags_hexagon=3D"-mv67 -O2 -static"} : ${cross_cc_hppa=3D"hppa-linux-gnu-gcc"} -: ${cross_cc_i386=3D"i386-pc-linux-gnu-gcc"} +: ${cross_cc_i386=3D"i686-linux-gnu-gcc"} : ${cross_cc_cflags_i386=3D"-m32"} : ${cross_cc_m68k=3D"m68k-linux-gnu-gcc"} : $(cross_cc_mips64el=3D"mips64el-linux-gnuabi64-gcc") @@ -69,7 +69,7 @@ fi : ${cross_cc_cflags_sparc=3D"-m32 -mv8plus -mcpu=3Dultrasparc"} : ${cross_cc_sparc64=3D"sparc64-linux-gnu-gcc"} : ${cross_cc_cflags_sparc64=3D"-m64 -mcpu=3Dultrasparc"} -: ${cross_cc_x86_64=3D"x86_64-pc-linux-gnu-gcc"} +: ${cross_cc_x86_64=3D"x86_64-linux-gnu-gcc"} : ${cross_cc_cflags_x86_64=3D"-m64"} =20 for target in $target_list; do --=20 2.20.1 From nobody Thu Apr 25 17:11:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617721518; cv=none; d=zohomail.com; s=zohoarc; b=Yyhl8MDTSElbM4rJOtXy+gLKp1YpDVCRy77UrmUkAC7XPo/ej2lan0nc4b/j3VUsaR28ZCdDGZecLmeC5q7PtRlztzngevz9XDZ060x6ar4O+T/fybLtIilScLmqywQoPRb2aaK6PPiteB8ZAIFJtkTPtKEc7QmUEO0GPAQYbpc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617721518; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=hs7mxy20pMj/ITktlM5CnWRfUPzoR68xIyhkZbF5a6I=; b=KUGVzAU9IappAD8fQzh1aAcsLfIsX1gj3qsC7MSRbkaygwC1bp6WALimi2IwPCUR18DMvOF335rSKaQ+RBjLILneB3/UvePrxOgOqDOFzzP2Jz1EGIPXqKbioOu3V/Oxd9uyODUjq000AEwqHtyyaSj0SlEV3AlssUlK9+gqWYg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617721518949963.3076685960223; Tue, 6 Apr 2021 08:05:18 -0700 (PDT) Received: from localhost ([::1]:36638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTnGV-0001de-O9 for importer@patchew.org; Tue, 06 Apr 2021 11:05:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTnCH-0006Nv-UE for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:00:53 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:43627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTnCB-000515-B2 for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:00:53 -0400 Received: by mail-wm1-x329.google.com with SMTP id u5-20020a7bcb050000b029010e9316b9d5so7476101wmj.2 for ; Tue, 06 Apr 2021 08:00:46 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id o38sm2448461wmp.37.2021.04.06.08.00.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 08:00:43 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 34BE01FF8C; Tue, 6 Apr 2021 16:00:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hs7mxy20pMj/ITktlM5CnWRfUPzoR68xIyhkZbF5a6I=; b=dExffXNCQ5hv6GKqU4Bv4sw0xDV+vo8HK9dnYB72bfroUFhzT8EihwtTs1aUfmHcju cuv9wgoUHYVxJJvKbpQ8j68rU52/dQ6obX3OFxn+nVYA2MeOK205cYuk6bIvJFuLRJlY UkMOwU+BgqYYFbb2W+6zaxRH3ukNaE4JcWVfg36GfDksOT1owSpD3MSKo6mMsnitRPNc 90D68IaiWrvMibPtp2IdvMnYcO9rXZtEzVMPL40Vgo8X39pCcxoEzfo5caq+LXoAdBOc 3Xqq++2nnym/L+7DlQCyvjLvXw0OsUWtfOpYMTZlmDeikWiMQXWcT7B9oveGQOAw7ltO 54UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hs7mxy20pMj/ITktlM5CnWRfUPzoR68xIyhkZbF5a6I=; b=bmPjoJqoal8zCk9MbMVvr7XLBok9/fB9Qm1xDDSUn+o2uu/GvRK2eVCPkCdSdyNYod 2h8SM2fWau1N4OANOiTydm6Mm9mf+2GjGWRNl1vf7zeG18SJwJzhGAoOLK3aX7VMLV4S 4yTUlBiUncBx6rXJ9PAqSnh6GaAOJo7JaCAsCvEto7qohY3KA7u44LKmlN79vAAwJ7Ru XvuRW9Z1Jx5xYQ4R8xo5GO9L6sKii3zhVz/JFlRYEa3Vn+XEvjiG7Ossnn1WYVcJ4Lmt X/32RvK2ZXQunxL5O45HQQqA8YegbZI52jk17KP+/4M1GVrzdPL1BbMtX95j48GnXi1J RU9Q== X-Gm-Message-State: AOAM530yVfcNy8oa2Cyj1y5Xq0di3XWIfyZzStdH+8oOCVLScoT2qfRg zpyJxZo25aGd0KleJ/zUEeKN3w== X-Google-Smtp-Source: ABdhPJybCumaM1dX9ZUOb2vHussVpqrIeMrJQnMbLEcD0F0nWtI4Y9DBPyh5GK6c623s4Er/69ZN3A== X-Received: by 2002:a1c:7e82:: with SMTP id z124mr4612934wmc.51.1617721245591; Tue, 06 Apr 2021 08:00:45 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 02/11] tests/docker: don't set DOCKER_REGISTRY on non-x86_64 Date: Tue, 6 Apr 2021 16:00:32 +0100 Message-Id: <20210406150041.28753-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210406150041.28753-1-alex.bennee@linaro.org> References: <20210406150041.28753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::329; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x329.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , Richard Henderson , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Currently our gitlab registry is x86_64 only so attempting to pull an image from it on something else will end in tears. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Willian Rampazzo Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-Id: <20210401102530.12030-3-alex.bennee@linaro.org> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 7cab761bf5..9f464cb92c 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -16,7 +16,10 @@ DOCKER_IMAGES :=3D $(sort $(notdir $(basename $(wildcard= $(DOCKER_FILES_DIR)/*.doc DOCKER_TARGETS :=3D $(patsubst %,docker-image-%,$(DOCKER_IMAGES)) # Use a global constant ccache directory to speed up repetitive builds DOCKER_CCACHE_DIR :=3D $$HOME/.cache/qemu-docker-ccache -DOCKER_REGISTRY :=3D $(if $(REGISTRY),$(REGISTRY),registry.gitlab.com/qemu= -project/qemu) +ifeq ($(HOST_ARCH),x86_64) +DOCKER_DEFAULT_REGISTRY :=3D registry.gitlab.com/qemu-project/qemu +endif +DOCKER_REGISTRY :=3D $(if $(REGISTRY),$(REGISTRY),$(DOCKER_DEFAULT_REGISTR= Y)) =20 DOCKER_TESTS :=3D $(notdir $(shell \ find $(SRC_PATH)/tests/docker/ -name 'test-*' -type f)) --=20 2.20.1 From nobody Thu Apr 25 17:11:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617721521; cv=none; d=zohomail.com; s=zohoarc; b=ZUdIp1+HmmOthT6BL4efKjgStBO8/8VegLNY0ZTanyUaQ/ZYVKEz31kmdiZGh1LzsCEBuCz+DBA20gLB51toJeSMTn979ENERYo0C2fIoSj5T95BTxKH/ofd54Y9PD3TU0u+IvAYLblsazbYWrjK/IJOorEE7dBsPGtjJKPqteY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617721521; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=V0d6tIYJ+1OdyVAPVLAuIBArrqK1MAgYqxZeXiKzEP0=; b=bs4KuetwiWWbyTwBr24UurE8ObKAsABunVBUSpUeFUrkdfvWM8mjJFJIOJ5tDAv4LJXyEDyYlYQSq7cyQ5RAx/JCuRdQZdFea8k+NVLb6IjrOxm+s++5EkU9AqnbDkd6Ynu3NRP3+/AnmFSCgCmakQSTc4v8IJgUX8+wfM6zOHM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617721521080504.0901528626863; Tue, 6 Apr 2021 08:05:21 -0700 (PDT) Received: from localhost ([::1]:36812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTnGZ-0001hr-Mt for importer@patchew.org; Tue, 06 Apr 2021 11:05:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTnCN-0006Qb-Ez for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:00:59 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:42831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTnCH-000521-Gs for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:00:59 -0400 Received: by mail-wr1-x42c.google.com with SMTP id q26so8889858wrz.9 for ; Tue, 06 Apr 2021 08:00:49 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 61sm21977828wrn.25.2021.04.06.08.00.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 08:00:43 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4DEA71FF8F; Tue, 6 Apr 2021 16:00:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V0d6tIYJ+1OdyVAPVLAuIBArrqK1MAgYqxZeXiKzEP0=; b=mqJCyORKnweruzNIYLTzJoT5smL85jiOdOs7N078sO0Ejhj1L8OiTMJUJRNn9ixhFY A0i7oWpSG3URnHQy6h2ZVVBiBIUjlB/IeXpCff/KIA3BQkF1zLxPSoDTVhGQjsSpNd6i Clhtf/Vjq3hf6Qw/THR8JRY/CwPLR+BA57uYsgdO+2vOoktPkRKN7d0Ax1NL1T0U3UZR xy1lQYZvrOhZjIYzgWWJF8vWNcWnKJZk+KGxrjtzhjS3XMVql45vwppfdltVicsGOSuv yTQx5vwwjwwK+TARrEnPyF4XI9Ub7wgxCihlnsRba01jkQX3zoLuifDe1IDv9xXh1dBc 4nww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=V0d6tIYJ+1OdyVAPVLAuIBArrqK1MAgYqxZeXiKzEP0=; b=K9sXXqSTulMZnRqhx/iMXKu6h0kcfmWZPqQ4wnjpGnKpKRjOZuNyhMvVvr1inlJE8L aNb3v3/4AT77D9A65mBM6FieWArwQgQENnzPsIXUz5p3+JHu00Fshlexqn34+hhhQWaI 6Vqa6Mr8yHOqQgwluZ/jpDrvkL8TIU7CsxBOcNULckGOCs77OtZwpG/uNfaZQAHsZauM C2eiJLIa50oH3F4ICvxTfLk8KOrtMwZcczcKIoJaVJQPn3N+n/Z8PuBg6pIqF2UtwOKi +9b8RngmTX3Rrk+k3RkCHQTu8zx4wvuR09Z848jVfY5ryHg0mECTkM+zHTpHQIV4D30M /Yww== X-Gm-Message-State: AOAM533F2ZnNO6PVBxPgK5EIN/xJxn/Tyw7QdWjZiVWF2cFnUEnx3GfH 7GEd0gIUSaEby/q3tCwCDnJtNA== X-Google-Smtp-Source: ABdhPJx/7aaLUG6erKKX05vh86jFDqX9XXFh+r2E+jpzHOTJZY8OM+12If/YagKLDAKi+yR+Prukkw== X-Received: by 2002:a05:6000:1209:: with SMTP id e9mr10667478wrx.36.1617721248553; Tue, 06 Apr 2021 08:00:48 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 03/11] tests/tcg: add concept of container_hosts Date: Tue, 6 Apr 2021 16:00:33 +0100 Message-Id: <20210406150041.28753-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210406150041.28753-1-alex.bennee@linaro.org> References: <20210406150041.28753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) While docker is nominally multiarch these days it doesn't mean our distros actually package all cross compilers for all architectures. The upcoming Debian bullseye release will improve things further. At least for now we can get things like the 32 bit ARM compiler on it's 64 bit cousin. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson Message-Id: <20210401102530.12030-4-alex.bennee@linaro.org> diff --git a/configure b/configure index 8275df1506..4f374b4889 100755 --- a/configure +++ b/configure @@ -6299,7 +6299,7 @@ done (for i in $cross_cc_vars; do export $i done -export target_list source_path use_containers +export target_list source_path use_containers ARCH $source_path/tests/tcg/configure.sh) =20 # temporary config to build submodules diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index af4aecf14e..87a9f24b20 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -108,79 +108,98 @@ for target in $target_list; do case $target in aarch64-*) # We don't have any bigendian build tools so we only use this for AA= rch64 + container_hosts=3D"x86_64 aarch64" container_image=3Ddebian-arm64-test-cross container_cross_cc=3Daarch64-linux-gnu-gcc-10 ;; alpha-*) + container_hosts=3Dx86_64 container_image=3Ddebian-alpha-cross container_cross_cc=3Dalpha-linux-gnu-gcc ;; arm-*) # We don't have any bigendian build tools so we only use this for ARM + container_hosts=3D"x86_64 aarch64" container_image=3Ddebian-armhf-cross container_cross_cc=3Darm-linux-gnueabihf-gcc ;; cris-*) + container_hosts=3Dx86_64 container_image=3Dfedora-cris-cross container_cross_cc=3Dcris-linux-gnu-gcc ;; hppa-*) + container_hosts=3Dx86_64 container_image=3Ddebian-hppa-cross container_cross_cc=3Dhppa-linux-gnu-gcc ;; i386-*) + container_hosts=3Dx86_64 container_image=3Dfedora-i386-cross container_cross_cc=3Dgcc ;; m68k-*) + container_hosts=3Dx86_64 container_image=3Ddebian-m68k-cross container_cross_cc=3Dm68k-linux-gnu-gcc ;; mips64el-*) + container_hosts=3Dx86_64 container_image=3Ddebian-mips64el-cross container_cross_cc=3Dmips64el-linux-gnuabi64-gcc ;; mips64-*) + container_hosts=3Dx86_64 container_image=3Ddebian-mips64-cross container_cross_cc=3Dmips64-linux-gnuabi64-gcc ;; mipsel-*) + container_hosts=3Dx86_64 container_image=3Ddebian-mipsel-cross container_cross_cc=3Dmipsel-linux-gnu-gcc ;; mips-*) + container_hosts=3Dx86_64 container_image=3Ddebian-mips-cross container_cross_cc=3Dmips-linux-gnu-gcc ;; ppc-*|ppc64abi32-*) + container_hosts=3Dx86_64 container_image=3Ddebian-powerpc-cross container_cross_cc=3Dpowerpc-linux-gnu-gcc ;; ppc64-*) + container_hosts=3Dx86_64 container_image=3Ddebian-ppc64-cross container_cross_cc=3Dpowerpc64-linux-gnu-gcc ;; ppc64le-*) + container_hosts=3Dx86_64 container_image=3Ddebian-ppc64el-cross container_cross_cc=3Dpowerpc64le-linux-gnu-gcc ;; riscv64-*) + container_hosts=3Dx86_64 container_image=3Ddebian-riscv64-cross container_cross_cc=3Driscv64-linux-gnu-gcc ;; s390x-*) + container_hosts=3Dx86_64 container_image=3Ddebian-s390x-cross container_cross_cc=3Ds390x-linux-gnu-gcc ;; sh4-*) + container_hosts=3Dx86_64 container_image=3Ddebian-sh4-cross container_cross_cc=3Dsh4-linux-gnu-gcc ;; sparc64-*) + container_hosts=3Dx86_64 container_image=3Ddebian-sparc64-cross container_cross_cc=3Dsparc64-linux-gnu-gcc ;; xtensa*-softmmu) + container_hosts=3Dx86_64 container_image=3Ddebian-xtensa-cross =20 # default to the dc232b cpu @@ -265,7 +284,11 @@ for target in $target_list; do done =20 if test $got_cross_cc =3D no && test "$container" !=3D no && test -n "$c= ontainer_image"; then - echo "DOCKER_IMAGE=3D$container_image" >> $config_target_mak - echo "DOCKER_CROSS_CC_GUEST=3D$container_cross_cc" >> $config_target_m= ak + for host in $container_hosts; do + if test "$host" =3D "$ARCH"; then + echo "DOCKER_IMAGE=3D$container_image" >> $config_target_mak + echo "DOCKER_CROSS_CC_GUEST=3D$container_cross_cc" >> $confi= g_target_mak + fi + done fi done --=20 2.20.1 From nobody Thu Apr 25 17:11:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617721667; cv=none; d=zohomail.com; s=zohoarc; b=EVOBGqL6Aj5mt8zULjrqnnYJGIWwUacc9+EMFEtE4e2uLDkeDOkdRcfhp9CXRxzwBGujnjmB9sSf96eB04ushoZsm35X77z+e5T6a0l+1PMLcv9F1q3SeWX+rmxO3anT2l6lH+4TNTSZU+/fC0fHpPqULz75l+jDVN4YtvOoxzk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617721667; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=xCHtZ6T1wrS+0v3mUz22AtCj5zKQWLIemaJOtTnyDSA=; b=T6VtYloUJ9n3uNIfin85W5DZEoh6R1qHhrXygInkh2RrMpVcXsnVqp0/89YWbRIDzkbFn6+iKVlHUjv8NfiCFrN4kRq99A4GzgYbOOyFTrolsMmmyq31qe6IfBx79ecp447M17s20zt3eag0vx4zUWdRUny9+7vL1But6Y7tjDY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617721667043414.8152862093691; Tue, 6 Apr 2021 08:07:47 -0700 (PDT) Received: from localhost ([::1]:43222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTnIv-0004bT-Nh for importer@patchew.org; Tue, 06 Apr 2021 11:07:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTnCO-0006Rt-PJ for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:00 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:34683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTnCN-00056L-4i for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:00 -0400 Received: by mail-wr1-x436.google.com with SMTP id b9so6699337wrs.1 for ; Tue, 06 Apr 2021 08:00:58 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z15sm473358wml.4.2021.04.06.08.00.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 08:00:50 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 65E6C1FF90; Tue, 6 Apr 2021 16:00:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xCHtZ6T1wrS+0v3mUz22AtCj5zKQWLIemaJOtTnyDSA=; b=bOAEbTmrGg77FP/CWphlKEJvh9L8EBV0L5vVRtCxy8z/VjTXkdilX4+vJK9O/Wp7WH YugS4/8bHTC+vxfIBTc5xScUzFPzrMbTB9zaUt4/x9QKAZW6HJ6/Awg9BLDWsKl+Iy8a w7S8oHRr1SlC/Duq4kruRzOLSYc4HB9jzRzATs0bYZBx3m3Z/VafOupOvk3ptPR2mvML MkGfvr/7f4CamBng8CWi0wehiCFR4VgvoWnAMmbhePYGy5Ri9LCU4IhWLa1l9p5IdfBR AVxm45nXTKhjzpjczXCkwaYzvaP6IbAnFQHNiikxdIf5HU2GzfTdI4Kza091z1jZDNw3 /oTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xCHtZ6T1wrS+0v3mUz22AtCj5zKQWLIemaJOtTnyDSA=; b=GYYuKIHpKqAn6yFTo6Fe1hMWkxCIvlQTd/RSqmOiZmi/f7J3gJUgUGVzKAqCOrIQ4I tBvxD6JPNqe/n9o1gxJeXWKikGc99bCbQsoH98/VRaTCdUpmb3GDCXSumAsZmTQ6Ei1I Q0b0BCQdKHwA6ktACIM0w6usV1Gx3kbkpBZoDkGwAlVpb3jvNsihIiBuqeQ+/0esUkHj TxNeM6YRcRGoRh0zI890F+4OJlkNnLjP0KpU9SgQQapzRN8/Cg6bLxZO2XFx2ZzKyTGA u3j98m0ibX82e0qppI+tfB4lFAGfi9jJAhqDynSrYD4nsP24Bl2LcTvMfFddJGhec/5v +fcQ== X-Gm-Message-State: AOAM533E1V17v2yVht9dcTfuo9WdUvnXtuPBLErrojXapiuZ06ZWqjqa iBlEMb2jdkasn0obgKdi/XjhIw== X-Google-Smtp-Source: ABdhPJxX9z50Ij7dMwsfOdy5yMjGuN97T0Rk1qZWsMJRl3Q9jmkldc7mlcAluYO8fYW5vQKZY6xX3w== X-Received: by 2002:adf:edd2:: with SMTP id v18mr17830096wro.305.1617721257772; Tue, 06 Apr 2021 08:00:57 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 04/11] tests/tcg/configure.sh: make sure we pick up x86_64 cross compilers Date: Tue, 6 Apr 2021 16:00:34 +0100 Message-Id: <20210406150041.28753-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210406150041.28753-1-alex.bennee@linaro.org> References: <20210406150041.28753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::436; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x436.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) While it's hard to find cross compilers packaged for arches other than x86_64 the same cannot be said for the x86_64 compiler which is available on Debians i386, arm64 and ppc64el release architectures. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson Message-Id: <20210401102530.12030-5-alex.bennee@linaro.org> diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index 87a9f24b20..90fd81f506 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -198,6 +198,11 @@ for target in $target_list; do container_image=3Ddebian-sparc64-cross container_cross_cc=3Dsparc64-linux-gnu-gcc ;; + x86_64-*) + container_hosts=3D"aarch64 ppc64el x86_64" + container_image=3Ddebian-amd64-cross + container_cross_cc=3Dx86_64-linux-gnu-gcc + ;; xtensa*-softmmu) container_hosts=3Dx86_64 container_image=3Ddebian-xtensa-cross --=20 2.20.1 From nobody Thu Apr 25 17:11:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617721664; cv=none; d=zohomail.com; s=zohoarc; b=dYctgmH/+M2Kzo+3fF1Kj/Oi4r0Run372T81C3uLr0td2CoMTE1dsc4dsrsjTAHCKrpG0nppTOKco7Bb2d4sy5bvVZgdAhYnxOWyMXh+UnL69y6D/1j4RFc8856ErkVHyYvXdju9g08J853mW7etVd8elTVHUrQKUXSTXLHJaT4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617721664; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=/OvWpiidAusoiWgG9DBS0zzwzX7wVU4NPq1QWT+0XUo=; b=imDHKPhYYYKdPEcVJDV0jd32qnYTPaovpiRr2H/5+6eWnmuHC8ANTlD8Ez38X0jTUh7P205IoQCNJIVZ49SOPqlQWKq+4oe8Diu8eVyxAmatMKS3g83IjxfpARHOy2C1ZmZYQqZvfg7e5uV6dPF3aFtrltV9lG5eSui/G63iHMI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617721664925721.8233383671793; Tue, 6 Apr 2021 08:07:44 -0700 (PDT) Received: from localhost ([::1]:42900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTnIs-0004SK-4b for importer@patchew.org; Tue, 06 Apr 2021 11:07:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTnCO-0006R9-0h for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:00 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:53190) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTnCM-00053x-2p for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:00:59 -0400 Received: by mail-wm1-x32d.google.com with SMTP id d191so7534408wmd.2 for ; Tue, 06 Apr 2021 08:00:56 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g64sm3924864wme.36.2021.04.06.08.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 08:00:50 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7E0271FF91; Tue, 6 Apr 2021 16:00:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/OvWpiidAusoiWgG9DBS0zzwzX7wVU4NPq1QWT+0XUo=; b=szAzUoEb7bOV9Ezy7Pg8ME0PBDXF6ksbv6yu2h6f977yDctrgzmDGZiXgdUXarW9Ec t70HI4gKr6MyfO+ZwaL2RsR3IRCyYx33dFr+lsweYoHb0eCq8PTr62GsZHbwy2fsn23A smzooUop6X1Vh/aNzqqlQta69Om6QhX49nfnsjeenglBkzmZXIofN4Kd8rQFr8HWRghF 5NAT9oFthMSKnrSTLVP4zDt4BrCrmBfijua+ZpAqKZuGMZnruQNppSHa7o1xrLwNFx52 iH+v6UNYsMmz73s/WEHzONUvPZQhRMCNDNpThWB2tIUBhBupkwbKYvq2ZlwyczGYOZjk Stgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/OvWpiidAusoiWgG9DBS0zzwzX7wVU4NPq1QWT+0XUo=; b=rhOO5xHrBtsJUgUSs0Lo+rwv1JU5nqlQBYHQo/QGL4ZAvpOi1ZcBIwCqgTSr/Hi32q 5Ghcfo8qSh2Uz6DP4EyZ8Fmz5mdSfmt1dYPgIWVWnA0a8J1Z14bOjhMkXrFeLmAWEnyU FG6CHJ9Rhcwu7XmaTBofEfAwBGbrp6ke/+ycoFHye2LWaraYNLXoqJNABw21gEJTDVz/ g9tjkyFxUpoR/YTfaGQA/si5aDj7xq3CU37r6bl0vUlzDuLbwVE/TeIYFrbFsitKrX/9 QSaSinyx1ZYVjQgFyr1sKgzDB9xYHrlt7oD8vsPwmq/ZbkjVAt0HnQCt1aRjoac3G9dN lodw== X-Gm-Message-State: AOAM533prBAyEe3CJswc/csm6Ks3SH0R3475BPkyIOglCRZRX4EFeX8d 1cJvb4mgo8nI2V6rjE3iuHY/YQ== X-Google-Smtp-Source: ABdhPJy+WCItRqa3zFL9RGZbzDMNPg4oiBrW3i7Jv8AD2eyTtrF/Ese2Es/VWuORvBgUBSEtKGXMNA== X-Received: by 2002:a1c:b689:: with SMTP id g131mr2498452wmf.138.1617721255755; Tue, 06 Apr 2021 08:00:55 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 05/11] tests/tcg/i386: expand .data sections for system tests Date: Tue, 6 Apr 2021 16:00:35 +0100 Message-Id: <20210406150041.28753-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210406150041.28753-1-alex.bennee@linaro.org> References: <20210406150041.28753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::32d; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32d.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , Eduardo Habkost , Richard Henderson , qemu-devel@nongnu.org, Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Newer compilers might end up putting some data in .data.rel.local which was getting skipped resulting in hilarious confusion on some tests. Fix that. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-Id: <20210401102530.12030-6-alex.bennee@linaro.org> diff --git a/tests/tcg/i386/system/kernel.ld b/tests/tcg/i386/system/kernel= .ld index 92de525e93..27ea5bbe04 100644 --- a/tests/tcg/i386/system/kernel.ld +++ b/tests/tcg/i386/system/kernel.ld @@ -12,7 +12,7 @@ SECTIONS { } =20 .data : { - *(.data) + *(.data*) __load_en =3D .; } =20 --=20 2.20.1 From nobody Thu Apr 25 17:11:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617721357; cv=none; d=zohomail.com; s=zohoarc; b=WHUcr+eDQ0Wa2gGuUSWtSxdgXSX1rSeIyi2sHNE0GyxHrozG7aGrEDmFj5Iw/TIkPEaix+f+QLOenR7ZxvRe6O4UfXIf4XAm4W1mms0e1RKay7Ul+4W/1r5aUevyCSn2HIMrUTYuO33Ng/xRangr5r/B8eRjQA7QgsZixsn7T7k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617721357; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=epV8peuu7bDkNnCU4ud5+0/ywqFJPtW85LL1WyPiV5E=; b=SqyroZyJGdK+MDcMBwDj4AnqZ/TzvCic7pkbKRE55WGxyojCI4Zs6butL07/lmDvKWKeLlRxrmT8ZdGmpJ4B0f19xFYgf8jX5eCnxn4Y9c3q9jqg8zmbX7n7IOJeDUPTV572xJ74sB1P9HhiCRcQhu/9zmMGubGdTonx1mYI/VI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617721357712589.2316148356997; Tue, 6 Apr 2021 08:02:37 -0700 (PDT) Received: from localhost ([::1]:59822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTnDv-0007vI-SC for importer@patchew.org; Tue, 06 Apr 2021 11:02:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTnCU-0006YU-3K for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:06 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:43912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTnCR-0005CV-J9 for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:05 -0400 Received: by mail-wr1-x435.google.com with SMTP id x7so14572295wrw.10 for ; Tue, 06 Apr 2021 08:01:03 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g16sm35181851wrs.76.2021.04.06.08.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 08:00:50 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9551E1FF92; Tue, 6 Apr 2021 16:00:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=epV8peuu7bDkNnCU4ud5+0/ywqFJPtW85LL1WyPiV5E=; b=n+2862UjDpoti//xZDd6qmIymYGQgV11sjMWLW2TdbUzlxYvM6tmySNNVlh/sm+J+X 4BjLSIuG/qb99p1O95erdG1X3esIKju4sflruevrFa08+6fDzMrr6+WID3XUvSzzPNi5 uxACd6+ts/G3aZ78cXMmiMqF2CAFIo4cn9JQ43ogoyCW/nHrPOYyO34xgnNQ/SDW/RpI ABBHfoGbtFtjNQmqlIId3xiDUYyZKNTpE9jAUcpQBxE2xNfyiurheLq1dTYBxiTlMAkD u3T1bokGRrrz34R7f82mv4HwsspfipFnWEGgsRV1YPQ4vwNvJFzCTYpy/2NTldB4OiHm 94UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=epV8peuu7bDkNnCU4ud5+0/ywqFJPtW85LL1WyPiV5E=; b=iUU0c9SJVu69CHoiBpcjV/lOYmESq5HFvr0LDEH8lr65Ve2LnsLNi8aDOdxxOPZfqd FEhnYbj92WoAm1u/L4yHQbT3T/pqCvH8zWIs/FfNake98iIwTnn5qIxPcdxrDMdnM7Cg rpl5NTpZwPNM3PHEfXCtOxAP+/3XJRasIJGw6g4vtSfUbsHK3JJl0ApH1YPFzMUn2SwW 05UAfS/0cRQ+uGl9jJoOLnn/SG3Sk4dtG3yFMqkYlG6nZzxH1RHruMSBLqMwtRWBuCU4 STQi4mtpnN4s++SzYoq1CB5evkblkQp/cIXtQp25TJ9AI8kxzHacl0nK8mVboxgqK/Bw tFPw== X-Gm-Message-State: AOAM530bEth5fUHOTZbnjSo6WL3yLP+XTMBjSRMYqJJ0M9Se4WK4gh// DkQ3BB5q4YdtBCxyz4UOkc/QgQ== X-Google-Smtp-Source: ABdhPJxWHUh8ZBfImayCjqZ9zGs/AvAgOoADM3fiZp4Ia8LRzoXnoT6svIkfiD/M2BOeTX1KioTLWg== X-Received: by 2002:adf:db51:: with SMTP id f17mr17713386wrj.64.1617721262343; Tue, 06 Apr 2021 08:01:02 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 06/11] tests/tcg/i386: force -fno-pie for test-i386 Date: Tue, 6 Apr 2021 16:00:36 +0100 Message-Id: <20210406150041.28753-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210406150041.28753-1-alex.bennee@linaro.org> References: <20210406150041.28753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, Eduardo Habkost Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) The containerised compiler defaults to no-pie anyway but if we are relying on the users installed cross compiler we need to check it works for building 16 bit code first. Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210401102530.12030-7-alex.bennee@linaro.org> diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index 90fd81f506..fa1a4261a4 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -281,6 +281,12 @@ for target in $target_list; do echo "CROSS_CC_HAS_POWER8_VECTOR=3Dy" >> $config_target_mak fi ;; + i386-linux-user) + if do_compiler "$target_compiler" $target_compiler_cflags \ + -Werror -fno-pie -o $TMPE $TMPC; then + echo "CROSS_CC_HAS_I386_NOPIE=3Dy" >> $config_target_mak + fi + ;; esac =20 enabled_cross_compilers=3D"$enabled_cross_compilers $target_compiler" diff --git a/tests/tcg/i386/Makefile.target b/tests/tcg/i386/Makefile.target index c4a6f91966..f7efaab918 100644 --- a/tests/tcg/i386/Makefile.target +++ b/tests/tcg/i386/Makefile.target @@ -27,13 +27,23 @@ run-plugin-test-i386-bmi2-%: QEMU_OPTS +=3D -cpu max hello-i386: CFLAGS+=3D-ffreestanding hello-i386: LDFLAGS+=3D-nostdlib =20 -# -# test-386 includes a couple of additional objects that need to be linked = together -# +# test-386 includes a couple of additional objects that need to be +# linked together, we also need a no-pie capable compiler due to the +# non-pic calls into 16-bit mode +ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_I386_NOPIE),) +test-i386: CFLAGS +=3D -fno-pie =20 test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S test-i386.h tes= t-i386-shift.h test-i386-muldiv.h $(CC) $(CFLAGS) $(LDFLAGS) $(EXTRA_CFLAGS) -o $@ \ $( (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617722016920449.47989934381724; Tue, 6 Apr 2021 08:13:36 -0700 (PDT) Received: from localhost ([::1]:58236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTnOa-0003Bf-3h for importer@patchew.org; Tue, 06 Apr 2021 11:13:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTnCZ-0006hY-C4 for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:11 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:51731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTnCX-0005Hi-J2 for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:11 -0400 Received: by mail-wm1-x333.google.com with SMTP id p19so7540311wmq.1 for ; Tue, 06 Apr 2021 08:01:09 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u19sm3028804wml.28.2021.04.06.08.00.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 08:00:50 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A98F11FF93; Tue, 6 Apr 2021 16:00:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1ZWLMlQokbn+ytm36tLs/g7l/rfbZT4dElLqTmVGEvY=; b=t5CMIakZ15gFy9GFcx/hZRKyfa6ytzlvJUCeJJXCU+idYrAJIODyCKWGz96fSxQ9hO YZK4FXJ+SWbdKthuqWlT70vV7oONCu3TZorR/hUSv7Ezgkb6l4VwcyZ29i6KaXkYvMtR K0nYG+EudOYRpd2NTUF5wlFBqA8QZEStcKvtCxRL7I1SaJyGgFw3zfiwwQclUrfNFsp4 jaPLWrvll+nRdqwEZh83JtEH8pGRox0jpk5AkM5A+pPk2PevZWHrGPzDnMDH5dWxe1+k 5zEyFP9TWF1zWbf7VbjRWaSL/mZhtr5RBmwV9hpQ5m6CznEuQAq07Dc2vrPgKjIzup1O v5cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1ZWLMlQokbn+ytm36tLs/g7l/rfbZT4dElLqTmVGEvY=; b=mpSolGfqyn+s5mC2rwXRjxHB81r5o1eOZmbVm2KM8NwOk1GMJdoQ8b68y3BmaSe30d J83ZnHYX+71ezYSvnwhsW/1Smikjs97Txs1XZuY8RqigwcB4x7mJEDj7rnaZqeoNlLdz zYERF7V6JhX1d8uT10mj3zwdrdz23w2VpTILoGjwATksli0M/2uajV3yIr2jQ0uZnY5+ xCbf08ov1icud2iDEvQfkxosaDUTarWSIzmgCw6MZRnhlcRitot+YpKMaeQqgaKoUXcG ouvAwculmocnOk6CteAWqWV74mkU3wQTr6gH5AJUqWBoIbEThpRaX4K+q4D4/ddzQa2Q vxDw== X-Gm-Message-State: AOAM533UmJfAP+nui2kDrVzegnvVG69zwBVIrx/aXhI/imfwYEcwEySG XMN0gYuAI5Xa/7U9FdQaMf+uxA== X-Google-Smtp-Source: ABdhPJykDIc3xJZ/X3i0Isch2L+uNgTDcl+NOBXGCXBmKy3LI7sqcaOsM8FHB/m0wkBOkdZFEJdyPw== X-Received: by 2002:a7b:c188:: with SMTP id y8mr4507569wmi.76.1617721268174; Tue, 06 Apr 2021 08:01:08 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 07/11] tests/tcg: relax the next step precision of the gdb sha1 test Date: Tue, 6 Apr 2021 16:00:37 +0100 Message-Id: <20210406150041.28753-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210406150041.28753-1-alex.bennee@linaro.org> References: <20210406150041.28753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::333; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x333.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Depending on the version of gdb we may not execute the first line of SHA1Init when executing the first "next" command - instead just stepping over the preamble. As we don't actually care about the position of the PC after the steps and want to be sure the context->state[] has been loaded before we inspect it do a double next at the start. Signed-off-by: Alex Benn=C3=A9e Tested-by: Richard Henderson Message-Id: <20210401102530.12030-8-alex.bennee@linaro.org> diff --git a/tests/tcg/multiarch/gdbstub/sha1.py b/tests/tcg/multiarch/gdbs= tub/sha1.py index 2bfde49633..423b720e6d 100644 --- a/tests/tcg/multiarch/gdbstub/sha1.py +++ b/tests/tcg/multiarch/gdbstub/sha1.py @@ -40,7 +40,10 @@ def run_test(): =20 check_break("SHA1Init") =20 - # check step and inspect values + # Check step and inspect values. We do a double next after the + # breakpoint as depending on the version of gdb we may step the + # preamble and not the first actual line of source. + gdb.execute("next") gdb.execute("next") val_ctx =3D gdb.parse_and_eval("context->state[0]") exp_ctx =3D 0x67452301 --=20 2.20.1 From nobody Thu Apr 25 17:11:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617721353; cv=none; d=zohomail.com; s=zohoarc; b=HWfLg66aHhTUqHh67gqI+DjWpbOIvJ4/TGeK/u7n+YpslZPbiH1rxniox8UIm0m0AMpNrNAH0lXJT8lnXe16L5QZWKusMOAKc/oDsi3RqLNqABdMMB0WEoFyxqpdTepdcbrYoiu2uLJvLm76EVBg9jbn3qUTD8LwW8aEZBfqEWk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617721353; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=+t3YZRN8RJbaF5Xe0/VHgfu1mXeGtvL3md2FwL8JLSU=; b=MxAbwS8njErtG9jaHxrbsLZNUJkbBlmkUSL/d0IBSCKvsdkHafNa/5YN4Wh0uluRsmHatKhxRVeAVs1LWom7Yl7PBJ7JRc5csvQAA54ImkSLcNDSTjt38T909Dl/tyXJw30QVFnDrd0hHXjzN8ao+WhEaVyYC8TL8NNaVibJGzg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617721353044480.27738945457645; Tue, 6 Apr 2021 08:02:33 -0700 (PDT) Received: from localhost ([::1]:59428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTnDq-0007lS-S8 for importer@patchew.org; Tue, 06 Apr 2021 11:02:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTnCM-0006Q0-Ou for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:00:58 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:43904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTnCK-00053l-81 for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:00:58 -0400 Received: by mail-wr1-x42e.google.com with SMTP id x7so14571790wrw.10 for ; Tue, 06 Apr 2021 08:00:55 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a15sm32632574wrr.53.2021.04.06.08.00.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 08:00:50 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BDA451FF96; Tue, 6 Apr 2021 16:00:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+t3YZRN8RJbaF5Xe0/VHgfu1mXeGtvL3md2FwL8JLSU=; b=C7WvzXiWJ4ZnYjqrXinI7kHZNEYUBNuAV1CHezkBHB+XiecrI9qQO+Uf6pI4gir6/J MDX6d5Dvg+YjpeAYvC/aMNbLDBH9wIml2Ih71d29Km1b8Ow40nOH+0lTTvXh3vznIP17 TPq+Nil86waRzIAqvqNOzJO0msDAsAapqFbU+FfUav/crU1GdeDRacyTgWtYyx3UJess yWiW6SRVvB4TgEvVZ1ZMx9Y23tzxm6UBYB5xeLvPWdn06plyqfWFEb4/SgkDUEhymbOA ykUm57g0nTr/s6fL0cA/frJJGt76n23hWXVk0movSO6z19sv5eC0VesDaO5l2+URAZ12 cdFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+t3YZRN8RJbaF5Xe0/VHgfu1mXeGtvL3md2FwL8JLSU=; b=GzVGHND0SlufWmUBdFIBdoxIZ5fyaB9ND+otOFhjU08bP1ZbQCs6kFEnhYBD52iGcS 1Nq275LLOsZERR/T+fUrvctLJLMcCtF8D2dmBdqGyGWlQbn80sfh9bq+dcdbm68wQo3r 77IggxJ54iOVSV4leAMDt4dawTnRXygsMkU8py8wKCFqpkUR8xsh5KfsnPbezXv/swY1 HrNEDzrjEmga+q7YWblDRwZ4fPPksQqKG0Zi0xsR2FrEbanJFAP7KhumuX0MoxwL/aS/ 6vn/WBiHvPBfcb1uymZFJa/9qZz8NNnoDLWtL5Qdjz5ve6/OIc0uiUJZR36rLGy5afmQ lgAw== X-Gm-Message-State: AOAM530UR1QIHnqZYUir1lLUxUD793Hy3VbnKuqkd1U0Ejd4bb1Q27lC xlzpryhPbBYj8B3s+rZAeATydA== X-Google-Smtp-Source: ABdhPJww9U9Jff+Nbo1qQn/8XSrb+X7WBOs3XTPsSK77VT65mXVwaMDIS7VGXxX5V9Of24tvjv9xFQ== X-Received: by 2002:a5d:46c6:: with SMTP id g6mr22804398wrs.410.1617721254818; Tue, 06 Apr 2021 08:00:54 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 08/11] docs/system/gdb.rst: Add some more heading structure Date: Tue, 6 Apr 2021 16:00:38 +0100 Message-Id: <20210406150041.28753-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210406150041.28753-1-alex.bennee@linaro.org> References: <20210406150041.28753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Peter Maydell We're about to add a new section to gdb.rst. In preparation, add some more headings so it isn't just one huge run-on section. Signed-off-by: Peter Maydell Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210325175023.13838-2-peter.maydell@linaro.org> Message-Id: <20210401102530.12030-9-alex.bennee@linaro.org> diff --git a/docs/system/gdb.rst b/docs/system/gdb.rst index 72b1e68f4e..0bb1bedf1b 100644 --- a/docs/system/gdb.rst +++ b/docs/system/gdb.rst @@ -45,7 +45,11 @@ Here are some useful tips in order to use gdb on system = code: 3. Use ``set architecture i8086`` to dump 16 bit code. Then use ``x/10i $cs*16+$eip`` to dump the code at the PC position. =20 -Advanced debugging options: +Advanced debugging options +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D + +Changing single-stepping behaviour +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ =20 The default single stepping behavior is step with the IRQs and timer service routines off. It is set this way because when gdb executes a @@ -88,6 +92,8 @@ three commands you can query and set the single step beha= vior: sending: "qemu.sstep=3D0x5" received: "OK" =20 +Examining physical memory +^^^^^^^^^^^^^^^^^^^^^^^^^ =20 Another feature that QEMU gdbstub provides is to toggle the memory GDB works with, by default GDB will show the current process memory respecting --=20 2.20.1 From nobody Thu Apr 25 17:11:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617721971; cv=none; d=zohomail.com; s=zohoarc; b=jbm6t0DTb/xfuZgdNj6awy8CHREmvIpkIQJgEYtVpbl0CRGBd/ELna1/g9tGscOSC3DAnkpaSZEVDUHZVn+SIurBqL5+HWZ5/JAXPAUJKbYsYtpBV1tR7yKI/sDoMsTCzGt1gsTpOvkPEDfy2oD6jfOOTWskoCvNvlSOtNH5zn0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617721971; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=gefn2DRF/c8mvnspkmx+UtmiGg0K8qHxUAw9GiT4wuk=; b=kO3o/7dm4/zEYUTo90FEG1TBU/OFPXdxj9Y+/ueNL9v6oUY61BPFHWvWkwdG72Rth3tRceDY/5gERry3nujxGylHY3jQCMRPTAZ7wCS8nbaPhOrt8aZs73yCowBvL8qWSf4ZQJsXWJlQJ6OArEJG+GgM/wFA5qoE/JNm7QRWTOQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617721971756720.7752616163989; Tue, 6 Apr 2021 08:12:51 -0700 (PDT) Received: from localhost ([::1]:55304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTnNq-0001vj-CE for importer@patchew.org; Tue, 06 Apr 2021 11:12:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTnCY-0006go-Vl for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:11 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:36379) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTnCV-0005GD-HS for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:10 -0400 Received: by mail-wm1-x335.google.com with SMTP id j20-20020a05600c1914b029010f31e15a7fso9487442wmq.1 for ; Tue, 06 Apr 2021 08:01:06 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q79sm3398247wme.11.2021.04.06.08.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 08:00:51 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D33171FF98; Tue, 6 Apr 2021 16:00:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gefn2DRF/c8mvnspkmx+UtmiGg0K8qHxUAw9GiT4wuk=; b=eAw1pLo9G2o94juxdVy/cRhrcd4vMu9gtITKWYYYgtMI9xfAmcMCBAxm3QO5QDkJ4R H0RPeQW3yM7BLJwD4/vJmzerDGdCCeoJUt3ZWtkCtX64htDPOojpdnxdq2ZdVxpXSnz/ 5P9gftGdA37Mcgfjqf6GEKNO9W0DztI7bB/eiH7MmWG6wUdrb3gKCMWgtO+VMW4Ex/f1 uNykkN4VUwPhftkccJwXRMXu+3x5aA68if0mzKVNFXWfSItbxg2m1nL8wc1ip5PyOEsv 07Zdy4w+XVMHSykaqqbRXzhwv23/7OKdUMl4AzaqDzO5AXw0EMB+iiQ0a89Qo9FyboJU i/3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gefn2DRF/c8mvnspkmx+UtmiGg0K8qHxUAw9GiT4wuk=; b=MvRBe9TYe/hBGoL1/nvi4RZw1jKAYFqw2xDl8DTftJGXw2vh5kUSdwIxTdytjBjxhD IJ/+WffH8qDy277O4sXwDbx7Uo9tdDnbt80p7caFTs9mjB8QPlc5YslQJWCX7n3S+NeE 8o9kEORPzQzQabB8rgXPMu9a9/pPbBSToNRKRT6YrUFWt4p3+LRGbVlJ1BTrVIRyK44/ ge/fBOANkHzwTzYbPmLQobOHW6Kmj1pZLPbhDRUjECxrarl1SuO7NP5j+l5UFvFCEq45 BL78bfaMIevE58o9wVVziYYIEl8VzjzOY2qe/NM1UTbypIHV1Ur1H2Zqm3u2F1dR3f9B 2b5A== X-Gm-Message-State: AOAM531Z9n8Kz7PnTP913YL18jHggktHrQ3I7RQ/Pu8ht9s8im8D5OZc bAI/ssHrB619AyvrEnU8SaXiUg== X-Google-Smtp-Source: ABdhPJxnuZAuodnBFwvlJ6cFYQ61AArBBJ6Ayi83usnQNdjhSUojp5aloPHwxNSRnLPN+/sRKfQFzQ== X-Received: by 2002:a05:600c:4c95:: with SMTP id g21mr4423551wmp.182.1617721265471; Tue, 06 Apr 2021 08:01:05 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 09/11] docs/system/gdb.rst: Document how to debug multicore machines Date: Tue, 6 Apr 2021 16:00:39 +0100 Message-Id: <20210406150041.28753-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210406150041.28753-1-alex.bennee@linaro.org> References: <20210406150041.28753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Peter Maydell Document how multicore machines appear to GDB when debugged via the debug stub. This is particularly non-intuitive for the "multiple heterogenous clusters" case, but unfortunately as far as I know there is no way with the remote protocol for the stub to tell gdb "I have 2 inferiors, please connect to both", so the user must set it all up manually. Signed-off-by: Peter Maydell Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210325175023.13838-3-peter.maydell@linaro.org> Message-Id: <20210401102530.12030-10-alex.bennee@linaro.org> diff --git a/docs/system/gdb.rst b/docs/system/gdb.rst index 0bb1bedf1b..144d083df3 100644 --- a/docs/system/gdb.rst +++ b/docs/system/gdb.rst @@ -45,6 +45,61 @@ Here are some useful tips in order to use gdb on system = code: 3. Use ``set architecture i8086`` to dump 16 bit code. Then use ``x/10i $cs*16+$eip`` to dump the code at the PC position. =20 +Debugging multicore machines +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D + +GDB's abstraction for debugging targets with multiple possible +parallel flows of execution is a two layer one: it supports multiple +"inferiors", each of which can have multiple "threads". When the QEMU +machine has more than one CPU, QEMU exposes each CPU cluster as a +separate "inferior", where each CPU within the cluster is a separate +"thread". Most QEMU machine types have identical CPUs, so there is a +single cluster which has all the CPUs in it. A few machine types are +heterogenous and have multiple clusters: for example the ``sifive_u`` +machine has a cluster with one E51 core and a second cluster with four +U54 cores. Here the E51 is the only thread in the first inferior, and +the U54 cores are all threads in the second inferior. + +When you connect gdb to the gdbstub, it will automatically +connect to the first inferior; you can display the CPUs in this +cluster using the gdb ``info thread`` command, and switch between +them using gdb's usual thread-management commands. + +For multi-cluster machines, unfortunately gdb does not by default +handle multiple inferiors, and so you have to explicitly connect +to them. First, you must connect with the ``extended-remote`` +protocol, not ``remote``:: + + (gdb) target extended-remote localhost:1234 + +Once connected, gdb will have a single inferior, for the +first cluster. You need to create inferiors for the other +clusters and attach to them, like this:: + + (gdb) add-inferior + Added inferior 2 + (gdb) inferior 2 + [Switching to inferior 2 [] ()] + (gdb) attach 2 + Attaching to process 2 + warning: No executable has been specified and target does not support + determining executable automatically. Try using the "file" command. + 0x00000000 in ?? () + +Once you've done this, ``info threads`` will show CPUs in +all the clusters you have attached to:: + + (gdb) info threads + Id Target Id Frame + 1.1 Thread 1.1 (cortex-m33-arm-cpu cpu [running]) 0x00000000 in ?? () + * 2.1 Thread 2.2 (cortex-m33-arm-cpu cpu [halted ]) 0x00000000 in ?? () + +You probably also want to set gdb to ``schedule-multiple`` mode, +so that when you tell gdb to ``continue`` it resumes all CPUs, +not just those in the cluster you are currently working on:: + + (gdb) set schedule-multiple on + Advanced debugging options =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =20 --=20 2.20.1 From nobody Thu Apr 25 17:11:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617721800; cv=none; d=zohomail.com; s=zohoarc; b=Y2yjTnRvg/hylTwRkqovKxA4VlWP9GX+3pThJidqW3Jtk5XSEDwJu26iS6CJitxiZf6bjy3q3KDHFO07nEorpLHq6VuiaLCfrz6OBkma8Z129wZOVU89lsPPcgMScZlCOlmW+8NLlBTkc/wVHsphzjJXCzoLtpotzW7yBVNuwr4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617721800; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=PJghT1u+mp84Ea7Ui7/AalITSsrw07UnoILstoAi4rE=; b=FCpS8gRcb5DGG5VeR4a1VZmUIpx4KSA7kr8gdLj3IXnOKIcerEcGZj6DOlGyHzHeN+fcdBEAjiyhX4Uj2zKLkYijW7v8EjerU11QTQH9PdVxzQdunf9AJvdjT/DbCictv50Qe/MFbeDownNGixGlUCvvnfRg/G1DMeyZvQL28oY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617721800583216.9667146442797; Tue, 6 Apr 2021 08:10:00 -0700 (PDT) Received: from localhost ([::1]:47564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTnL5-0006fM-9l for importer@patchew.org; Tue, 06 Apr 2021 11:09:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTnCR-0006Vl-4v for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:03 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:33410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTnCP-00058y-8x for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:02 -0400 Received: by mail-wr1-x429.google.com with SMTP id f12so8600752wro.0 for ; Tue, 06 Apr 2021 08:01:00 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g5sm33210970wrq.30.2021.04.06.08.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 08:00:51 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E9A8B1FF99; Tue, 6 Apr 2021 16:00:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PJghT1u+mp84Ea7Ui7/AalITSsrw07UnoILstoAi4rE=; b=n0/p/XQ4vjcT7+oDY4e63rldkC8hu3gwPeD0KqKDy2ZNJ86FjeVXvtoslvh29oztc8 K4EOkBISVPNcqXoRwlirW37vgZYgdDkQLbXYMyhBoGtZdh2dw3IPQkXyCVxiA2RZN4Vy QtmODggwefvw80bBpkmif8N7I/zJlUFibor9w6DBrpmI3dfaSV257k8geP9JwPKQyBb7 orHpm8C2avASVhN7iCPOF5y5jUtox5P0jeYeVvHPm55WLWzR56jRu0ASpusWwir3bKOA TI5wL0luLMOGnRboG4rWJOksIcV81W4Wgto3xu+XiNRz8lMqIOqsssZSO3Wu2Vb/AV5B J7Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PJghT1u+mp84Ea7Ui7/AalITSsrw07UnoILstoAi4rE=; b=kz0Le4dpQ1Hy6f69vvvmfHo9sUzRdGJplTNaru7LQtjk4WXRrJltzf1JIQwawZCsGM DgqwW/cLrFWBs9ndxOPDCz1JvSgQiD+eLvFu/NHFoYvBSBsaCn1bzlwHp50rLLjXxhGC 3eOE2lmFP4fhIbK3RnSIczgL1n06jljg80qjFAZpX77UC0feqZwuTWwGHtvspanQ614c N494oU0Kp/LLGrEkNG2idM9CALblFQRMoHSAFDPDxeEOEDZ4rN4Y4d/5KmBAYOpIWDGz 3ruKClakDeJl9Ng5kG8z6KhdBMqEEOgBrTt+HAgduMLS8rAKId9ZSlNVoAffZD9M3x2n aDZw== X-Gm-Message-State: AOAM5326C6tgKMOrpDzigz8Ac5FcoOCmjEWYWcmBwyUcgUwanA2RkVQU QKKp7E97IVCnK77BIhl1kSMOoA== X-Google-Smtp-Source: ABdhPJybz5jk1RVobOmiFupQu912qPlt156tV9tbMeXfJuLQ5kA7u8wkKDEJ2lw2eh2Kon11T2PNQA== X-Received: by 2002:adf:a15e:: with SMTP id r30mr17287378wrr.101.1617721259931; Tue, 06 Apr 2021 08:00:59 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 10/11] gitlab-ci.yml: Fix the filtering for the git submodules Date: Tue, 6 Apr 2021 16:00:40 +0100 Message-Id: <20210406150041.28753-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210406150041.28753-1-alex.bennee@linaro.org> References: <20210406150041.28753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::429; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Thomas Huth Commit 7d7dbf9dc15be6e introduced a new line starting with "GIT_SUBMODULES_ACTION=3D" in the config-host.mak file. The grep that tries to determine the submodules in the gitlab-ci.yml file matches this new line, too, causing a warning message when updating the modules: warn: ignoring non-existent submodule GIT_SUBMODULES_ACTION=3Dupdate Fix it by matching the "GIT_SUBMODULES=3D..." line only. Signed-off-by: Thomas Huth Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Willian Rampazzo Message-Id: <20210331073316.2965928-1-thuth@redhat.com> Message-Id: <20210401102530.12030-11-alex.bennee@linaro.org> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3480d79db3..85b8e10b84 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,7 +42,7 @@ include: image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest script: - scripts/git-submodule.sh update - $(grep GIT_SUBMODULES build/config-host.mak | sed 's/GIT_SUBMODULE= S=3D//') + $(sed -n '/GIT_SUBMODULES=3D/ s/.*=3D// p' build/config-host.mak) - cd build - find . -type f -exec touch {} + # Avoid recompiling by hiding ninja with NINJA=3D":" --=20 2.20.1 From nobody Thu Apr 25 17:11:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617721940; cv=none; d=zohomail.com; s=zohoarc; b=PTJ5LVgqAZPk+4gxvdlVreJp1l2gzyjNux8/WXTGYzR493TWnyUrtu91R677ofkBMswqhaI1Jn49RltiwZHeRBVCG/crWrK2woF3jUBeYrI2R1J8VMqxvE+YkxLVAj9XEnqIXgBi+HgJqEdU/n91AvUQDQf05mG49iofvddO8ZU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617721940; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=jnnC1v+YTFoDpFZg5HWtfvD0JLh97HNGIKTj56XCIFM=; b=O+h0Ko2uXeDjJNq/wKYUIlkhBHyOHJeerpZ35IkNDkjbi7zeELHjLnpH+r+uGo18MsrYUc3518pFIn1pnqAFxUFDOfOfmygJ6/CdEjfva4dV+iZkhqCHrK2fsSVMP1CaUN0fBNb5qTT1DhvZZU10u8lp12jb5ZgXGs9Sr7xEkm8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 16177219403791022.7659614016518; Tue, 6 Apr 2021 08:12:20 -0700 (PDT) Received: from localhost ([::1]:53946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTnNH-0001MN-2n for importer@patchew.org; Tue, 06 Apr 2021 11:12:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTnCW-0006bl-DT for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:08 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:45778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTnCT-0005Ei-T0 for qemu-devel@nongnu.org; Tue, 06 Apr 2021 11:01:08 -0400 Received: by mail-wr1-x42c.google.com with SMTP id f6so8494513wrv.12 for ; Tue, 06 Apr 2021 08:01:05 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u63sm3238131wmg.24.2021.04.06.08.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 08:00:51 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0CAEE1FF9A; Tue, 6 Apr 2021 16:00:43 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jnnC1v+YTFoDpFZg5HWtfvD0JLh97HNGIKTj56XCIFM=; b=dvhFkV8CvZP/GI6rea5ysh3E8PMOS5POxmyU5OFV2IGxG/FGjdmjBAqWlhoEStquuC jfTfQBiRPRncQspgn0MV7VzmEDP2AbmasKiO9r9rqpczl4b3OzAkwOsAdRdtkAszO7NJ LZVSDIVH4NZRKY6Y/VxTlDF2+FlYqD+tL2JJW5ESjT8uoi3iiKumg6psc0Pw2JKsPNnz GZCNadKMW3skpwx31HN8BvWu6+Vf5YBesGRfhxGv5/kIS4eJAETJ/2PqufJnB7FUb+nd sc/jkV0cy1HkKwgm72YQc4kTJov1UnzNx6KeRqTDo0I/Ws7WP9LADHMXuW3K5IBBKkjA kxKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jnnC1v+YTFoDpFZg5HWtfvD0JLh97HNGIKTj56XCIFM=; b=uHH5oXP699iEUms7griJcY8pAbiD809TlalcIBY2fDwtW8aT15dsexGW8icPjSrOWT e53mG/G3PnYcXcMcTpMii41UnYso0Bn2GLg2EVkFn8d9P+Ou0Re7+aUs8DZjO5WksYMX WUhdA6QGNP99dxhQ/Kf4S23wyeckRoACZXRtDvaxbdQfVpjtZ9tzAdeaIX+ANUjti1hE 5V6GZLKTL8y2KZUPNVAweO2IZywz+tTz/cHCDCpYGx8cj23/aBoTZRQIj2cejG8lf3bF YpNOXgXrduI0rp66A/ciWSfqbVw4Hu/SE+Ud44HN2s+kWHkWw6l37uxOWcu/cHJ07kBe 4mDw== X-Gm-Message-State: AOAM530eaybMLm80WsSBBw6h45+4UsmNdyRtBOrgcmEly65fW9/RZZy7 i+aEBJJoK9lMY6u+wMROb+Iwgw== X-Google-Smtp-Source: ABdhPJxmap4LLfP89NWHbZEz1WM8GULDOJnZJHvWPkXiuMlZrZrzW8K82Rccy8NY5HYvgecQLCBFvQ== X-Received: by 2002:a05:6000:1789:: with SMTP id e9mr35979591wrg.237.1617721264488; Tue, 06 Apr 2021 08:01:04 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 11/11] gitlab-ci.yml: Test the dtrace backend in one of the jobs Date: Tue, 6 Apr 2021 16:00:41 +0100 Message-Id: <20210406150041.28753-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210406150041.28753-1-alex.bennee@linaro.org> References: <20210406150041.28753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Thomas Huth We are using the dtrace backend in downstream RHEL, so testing this in the CentOS 8 task seems to be a good fit. Signed-off-by: Thomas Huth Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Willian Rampazzo Message-Id: <20210331160351.3071279-1-thuth@redhat.com> Message-Id: <20210401102530.12030-12-alex.bennee@linaro.org> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 85b8e10b84..52d65d6c04 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -223,7 +223,7 @@ build-system-centos: variables: IMAGE: centos8 CONFIGURE_ARGS: --disable-nettle --enable-gcrypt --enable-fdt=3Dsystem - --enable-modules + --enable-modules --enable-trace-backends=3Ddtrace TARGETS: ppc64-softmmu or1k-softmmu s390x-softmmu x86_64-softmmu rx-softmmu sh4-softmmu nios2-softmmu MAKE_CHECK_ARGS: check-build diff --git a/tests/docker/dockerfiles/centos8.docker b/tests/docker/dockerf= iles/centos8.docker index a763d55730..a8c6c528b0 100644 --- a/tests/docker/dockerfiles/centos8.docker +++ b/tests/docker/dockerfiles/centos8.docker @@ -29,6 +29,7 @@ ENV PACKAGES \ rdma-core-devel \ spice-glib-devel \ spice-server \ + systemtap-sdt-devel \ tar \ zlib-devel =20 --=20 2.20.1