From nobody Sun Apr 28 11:49:40 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617016083; cv=none; d=zohomail.com; s=zohoarc; b=ncu57UdzzDpsmCXn6cd45HVikuQEN0rpKf//ePIYweV7z96GSZskVHpn1EkPPPuJdEs7v1pLHXTT8yLZ8DMBu5UTRuKkJAMTAGuVA1+OMbICbkIGZ5b/0+zdN1d2SQvtcjym2Hzz7c8ZcGxSL88n8X3eAG3A4sV/v/p3gOTNDqM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617016083; 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=nH6nUSONdi6BpKhrQ0XSQEH1Lc2hXxt4waJ2mPlCCBI=; b=IJ16zdmo5GMX/k0593yrLFdjuBpj1Mv8knCyNAuWA3WTqaBMBc6o9XaGpq2yBUpLOjJZmUfhc1lTsyULi1Kl+vshXkbGz6lWZzib7fYAI3qeBlNUyYx7PM5B5umJ/OlkxCIFzix5E/VLIp4vWsNhLjAmi6OQlYxo4lPcxtUG3ao= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617016083153784.003847571249; Mon, 29 Mar 2021 04:08:03 -0700 (PDT) Received: from localhost ([::1]:59806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQpkX-0004GR-RK for importer@patchew.org; Mon, 29 Mar 2021 07:08:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQpfs-0000An-N9 for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:12 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:37835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQpfq-0004hH-Jb for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:12 -0400 Received: by mail-wr1-x42e.google.com with SMTP id x16so12388406wrn.4 for ; Mon, 29 Mar 2021 04:03:10 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id f7sm23017470wmq.11.2021.03.29.04.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 04:03:04 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 871611FF87; Mon, 29 Mar 2021 12:03:03 +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=nH6nUSONdi6BpKhrQ0XSQEH1Lc2hXxt4waJ2mPlCCBI=; b=bEGsfg7JsUo0jcN5fJybdL8bpp7ZsWFGAZKtxWJZHVbZ4tKG7VSWsB2/7mccyPTibh TOCF/L6RPuVL2+flt09rPU0sPj7gSLYlwDKYufr+AiG5k4PpGi6kE48Oe0pnfkMObL59 fOJb5ZbgocjOPkOy8p9qm57V5fjR0hA8vKffbMJ8aZwVrDF3rZXNbLrK/gI02esrCd+D UUmtVh4ysvE+Cq+oPXpZCLbtinGL8dJhG2R4v3CjGP1hF8zgVlxtxYh/N67GPKF8qQCx tdxb59eNSRXgCaNO+vKzFlLAMz7UqpCuGpPSz0WlAeLmuAVr1r65Tpo0tLv2gEhpwOVc zdRA== 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=nH6nUSONdi6BpKhrQ0XSQEH1Lc2hXxt4waJ2mPlCCBI=; b=QBRe4T6tZXHt2FHjywpSL4VI5k4FlEXHhNCh3bcS2eL0g/5mnMZYn3vrN4JlVp4tKK cuor8CuKBuVggHnh4QCBvUG4GAujHjDX/TA8hi4C6Jx0o+CRPcyA4R3Di5mwSXqS/Xdu lyCIAIy/k4M2FaH0XNLyuslFus2aBfecl2KnekUGszQHjs97YMl+6HIoSlG1jzoWsTfb 3OsFexB9nwAWqklWSZwpS6beGUA98LW3jihYm7mpT+g1HXCz03NUXDUGmk93Mysm5Taw mGXQptouOeQCJPjRUoUfQXke05gl51mNBk98UFbGdRInon4x+7dDLuHq1CAZEEazy61E jneg== X-Gm-Message-State: AOAM532syfhb1rshEdq/hBQxSxuR4prll1EMuwSzWxR1TNZrw3SoiahE cTgnzIuxOKNKTIlFCwJlN5vLGz4Ysiwo1qDk X-Google-Smtp-Source: ABdhPJyBWQJwEFg2WW6bDwaoJWJ00783DDRx/ZPcv/DBi61HShYrZ0sQZwUTyMK6duA1Hz/3bv4S8w== X-Received: by 2002:adf:edc3:: with SMTP id v3mr27047542wro.79.1617015788969; Mon, 29 Mar 2021 04:03:08 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 1/6] tests/tcg: update the defaults for x86 compilers Date: Mon, 29 Mar 2021 12:02:58 +0100 Message-Id: <20210329110303.15235-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210329110303.15235-1-alex.bennee@linaro.org> References: <20210329110303.15235-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?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) 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 --- tests/tcg/configure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 Sun Apr 28 11:49:40 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=1617015941; cv=none; d=zohomail.com; s=zohoarc; b=CnMhySgMufEHPo3kPq0xKaINWSeOnagbCDGapMLevjjmbw/B4aGPJmquhF1SdzB1JYsg1zqa8bEe0THIPT+DQZ1GGecAqqOQ8/guX6BmP2As6Qck2aHKD2GUf4tfHB8BM66qmj8Y9b6OAwUgF213xeXMf/tT/17pJQGyqW3fb1c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617015941; 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=akBhyYj0JdKi/XVZUZPWSNnrTT/4CNaLSZQB5KZh/yg=; b=cJ0gyKGjVeYS0Wm8Ier6ivGhPXs2EhLN4hOTHjdoM2rIwLRMpy6cOWXFLT/uLFh0mMPNEbXn7VSBC8upexO6GiVnTvrHDvqXvVYgvvKeVebYLMAFBlPrC3Z9PPjAUzY2IUqRfJH+ZcGF6UW1RIubmA06QxxomBzNBi/JxSyFqDg= 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 1617015941966963.5872609960978; Mon, 29 Mar 2021 04:05:41 -0700 (PDT) Received: from localhost ([::1]:53278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQpiG-0001W7-Ma for importer@patchew.org; Mon, 29 Mar 2021 07:05:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQpfr-00007K-8p for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:11 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:41730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQpfp-0004gT-Kt for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:10 -0400 Received: by mail-wm1-x329.google.com with SMTP id t5-20020a1c77050000b029010e62cea9deso6462018wmi.0 for ; Mon, 29 Mar 2021 04:03:09 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id u4sm30661762wrm.24.2021.03.29.04.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 04:03:04 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9C9FB1FF8C; Mon, 29 Mar 2021 12:03:03 +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=akBhyYj0JdKi/XVZUZPWSNnrTT/4CNaLSZQB5KZh/yg=; b=job2IUGM6CkpG4S/GDtE0PpZ/ka/EG+VN6llVK+YgJnw6KX3lfDPGzGLmSKwDGK6xd zbqoZcV4x8D4v177bn4u1DlbajuGFgcynDJhdkWLQY0B8zEY8SzzFI4kG+E3EMn9n4b7 rgntKiJ66oJB5Evg/pZZeHRzC4fT0j6AuRIlZ6t8dP1dKXwQns9SMiebp6cToH0SrLto RTA7ver5+ILkqIdo/rMepUgFWAzvCmz4Hu+RV0GTfUNuruQkMIndLkjUh5y+WxhEWRDn buve31D9zCmytTjmQ76wVAIG5vh1pXlvKvC71YmCWsu9oWQ2j3X6F7cGSzLGuBkHZUPL GHGg== 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=akBhyYj0JdKi/XVZUZPWSNnrTT/4CNaLSZQB5KZh/yg=; b=Ss9tW2JClbS8b/1Z650Qnm/VgcFbwnrfL3KQCcPqnE5uriK3J/PTtCIpMrwXU182ou aEch5elEfcghC3IPaJib3/ClkoPLcLGM7q+xjeq1kjRQBXaZQG2fVQhJxQ0ROjaj0FPv xnlPIEMl0aMBnKMLtzieEQOvCOgEcRLon6NqJ2NYEMwjAuQL80BY3lAbor1/52kqxd8n gEOcYL+qqmrqPSRTGjNLJOGC3fLuOKURKdZq0EdQos+aAgQHCWCChtF/H7WjE6BvfQ5D bqQM3C2X/mMEKGODNPDY0DJuv4aT87DcZ6iifLvBVJuzfuASFAgHrIpVob9zPyAWCHGT TAHw== X-Gm-Message-State: AOAM531+uF5mWY6D6ru0kRJARGv1N3zN/j7sNrWRmTTTm2V2fqMeQhVX 7arywnc9bkFd6wlU5ocLDUdSEQ== X-Google-Smtp-Source: ABdhPJy41wjWmbXUNIoGc+xyfhLHn2TNfZaiNVsfmGdM3Xp19zpgQb400N8R/h5zMKYnhSHq/WlZSg== X-Received: by 2002:a05:600c:2254:: with SMTP id a20mr25291003wmm.115.1617015788247; Mon, 29 Mar 2021 04:03:08 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 2/6] tests/docker: don't set DOCKER_REGISTRY on non-x86_64 Date: Mon, 29 Mar 2021 12:02:59 +0100 Message-Id: <20210329110303.15235-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210329110303.15235-1-alex.bennee@linaro.org> References: <20210329110303.15235-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: Willian Rampazzo , Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta 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: Richard Henderson Reviewed-by: Thomas Huth Reviewed-by: Willian Rampazzo --- tests/docker/Makefile.include | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 Sun Apr 28 11:49:40 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617015939; cv=none; d=zohomail.com; s=zohoarc; b=iiOhpkKSqv3h6sckh6cSET+YXF/l26kAu1YvRNfTfWqYWR9zw0z4a59ERNDldMUD2S4B00DjbIkqrbuRAdEGLmRXHl82dKYL5rFLd/+DQi2dqyLo12nSU62WLZ8/FjFtGf6e4BX8htQWiefnA3l0/hRweA59X9wzRg+YtzxpB6o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617015939; 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=AYugguvZY758PcKs/PdSeUMvYaWOhfGF5y8PoXI3cIc=; b=d96kBIlBHpKYmYxG/KdA0GGDf+0tYswLU5dzFkZj87YoTWsfW0pfj9P/YrXueMsFK6o5su8kzrvoXGtr5+wW8ZJBE9o9Vc0P+R8r5eM9CfLNNA/6638b7ElRNKsAARMz1Ig52PVEX3fH7gNFOuVSVk5ht2wzRqDKWWKLScYF3E4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617015939208537.5798216587644; Mon, 29 Mar 2021 04:05:39 -0700 (PDT) Received: from localhost ([::1]:53186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQpiE-0001Tr-5Q for importer@patchew.org; Mon, 29 Mar 2021 07:05:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQpfp-00005T-NZ for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:09 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:36622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQpfn-0004fQ-V8 for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:09 -0400 Received: by mail-wr1-x42c.google.com with SMTP id k8so12408018wrc.3 for ; Mon, 29 Mar 2021 04:03:06 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b15sm28672679wrx.73.2021.03.29.04.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 04:03:04 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B42A21FF8F; Mon, 29 Mar 2021 12:03:03 +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=AYugguvZY758PcKs/PdSeUMvYaWOhfGF5y8PoXI3cIc=; b=LBb1HsCuaO5dYU6L2NSursxxGaKkAfOS1DuvjQxqlUd17JMFdZIzh10PCIIP7/cRpZ F7WLxSjDyDU40rfE7QnyzO5VM1jqKcsSkQKQRjSL/pHUItMi9GOFKS8Cd1I9HgTyZ+66 hAo7LkeslsSa7lz3RrmhT+VcfJL3003CkVzqi4VZd5MHIlVgHTpqLXBENlrhxP7qunkh pV2wrrR88G7H/729COfD7rkrfnnJQVkUImPw52d55LuJ6gYUsV/4XT7Ddm6titHoAc3c isRvSotxB09yzz5KRxrlvex1OtJGgOkm0ptKk0UJ6x6RKRlsG6Akd+uWZDSsznMUPSQe kOgA== 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=AYugguvZY758PcKs/PdSeUMvYaWOhfGF5y8PoXI3cIc=; b=BBBh7dLdoesiyfoV9Xi2KaqnHtjElY4S8KSCHhWYw5e0k6ZWOw8cXh+esljvuKN5VL AJhJqetPg/4z3b0VRtQpyWSKSDtKjeZ6HkqpX+Q50TlRbMWTiYVwRLgxkLdxvoQA3u+H n11av+BKaVZuQ+LTfSKEDRF7qhHwepW1E3YnZv2q11XMyx0Qzf6M3hERkcKvkZi8SsUE 4/OQBZsuEO+lsur2Y1BC4tDoUrRbZ87PXNm9WvpftytQUxxEFERR3Ge7rXP/7Ap2pBz9 1DBwBbqHRi8gxq66zjV9cdfTqgzb76iN7brOyErJC8dXUPFUuQuYNwddeTPPrw8nu2tK nWCg== X-Gm-Message-State: AOAM533G/XxYUOambcNL6Bui8ri+Qh/D7IWlLxF2BU2LQDmqQFZFZipT cuwmnIljYz8d960o/QJFXicb434fovnhnP4A X-Google-Smtp-Source: ABdhPJyLGOl++n7Pllt4Vm8AU6I+y/G/Frd1bNphvUQlIJsyXIJMg0gMiy842TxfQUMpYXnlr7yRbg== X-Received: by 2002:a5d:58fc:: with SMTP id f28mr18632423wrd.180.1617015786084; Mon, 29 Mar 2021 04:03:06 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 3/6] tests/tcg: add concept of container_hosts Date: Mon, 29 Mar 2021 12:03:00 +0100 Message-Id: <20210329110303.15235-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210329110303.15235-1-alex.bennee@linaro.org> References: <20210329110303.15235-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: =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) While docker is nominally multarch 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 --- configure | 2 +- tests/tcg/configure.sh | 27 +++++++++++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 535e6a9269..7df7750a14 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 Sun Apr 28 11:49:40 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1617016073; cv=none; d=zohomail.com; s=zohoarc; b=ZbYhfDF2BR2cmctjHtnnmh9LJo/R0GdFHt5G0lAQnmEqNPePgyCwgXxhaQtS38wes/HNvfUTF1ggr1abz1J+VzOWN18ja/5Kn20fqFEG9ab2234Cx6xDCmI78tSKHq2jfQLS+AzmMOpQqE02lVV2OsVTEJjSeLTVKKk8V5ZCO80= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617016073; 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=HDXuUnUxtCz/PU0/mLdc7zRzMRtv8NDpCUEdED4RHtw=; b=jGA6l7Bo8x3KGKACaN4MqIGLQebvV7wa0IsjIDldU5iJKQCy2CN3KJKNlZq9SQJ1p0XN8Cx0rUJRG4KbupqeHbdveitQlMmEfXkS62R4emKSbjwdxipj6c9dO3mWxDj/iJMuA6uYMcWfqumAjqxWSQWkbd0zz3TQlGReONwCmzA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1617016073270255.29665853180722; Mon, 29 Mar 2021 04:07:53 -0700 (PDT) Received: from localhost ([::1]:59618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQpkO-0004C4-5p for importer@patchew.org; Mon, 29 Mar 2021 07:07:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQpfv-0000G6-Hs for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:15 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:35553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQpfs-0004iE-47 for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:15 -0400 Received: by mail-wr1-x433.google.com with SMTP id j18so12405629wra.2 for ; Mon, 29 Mar 2021 04:03:11 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j123sm22080556wmb.1.2021.03.29.04.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 04:03:04 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id CACB41FF90; Mon, 29 Mar 2021 12:03:03 +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=HDXuUnUxtCz/PU0/mLdc7zRzMRtv8NDpCUEdED4RHtw=; b=SRGjF1v3H6CgyfPz4bSa1CmPTwznsVH+twPwV007Y5tpoNWFhiyS6sh8N65l71/1sf uIaSGdWWvidQG8OKmabmgJdHmN0qmsXcNQ+D98M5FpnSN9nRYiT0qEO9pNTynwj8fvro sFaJcxh4rqj7VUvpnc6uoEc1cmMC4P/eDgOSI+BplZ66Xy6WEHQzZlpU1NzIy5J6PMT2 1Sc+YnrMmFoR7PRINsoQDp7iXztKBONANR36f91HQYEMyjMgDjqmGuMJAB3preH6Rchk +Cd6RloCIdxuSZB91cfrp09RuEUsRTuBp2MofsCG5L+kWB3swOiDOD0UbC8LNN5z5Vee Qwsg== 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=HDXuUnUxtCz/PU0/mLdc7zRzMRtv8NDpCUEdED4RHtw=; b=m7Odqhh7aIt9kNLa/C/CKibttz53wc4mVXQnmjABcrfYJxpsLY6LQuOh8w4lXOCHSj sKk6dxqyJTWK7LAMQEayHN3nWFhKxYnIdwGaPnHY/hOMK2H6igs5EfI4O6vE4+7qLPUW 1f5bzSRpUjb51e0x1+VXy+ahdsVGVCYpYC5/8mFJMzeE9Dx4e6kviRRp8U2+IcNa2Dch jCLGaPVqwYCxe8th+Kz0xCT67b5333Jis4pKnqpqrIuxjppkz0RoNJN2qZ9VeTR4T3kD WIC/hz0q9Hr/n1TM1/5SpcFExPJKQeUdvV8+8tuqk/jiMXobGjt+WsXvgIIs5L0hLeka Fqqw== X-Gm-Message-State: AOAM533Nwn/fKe0TWtB1+FymNWwIm58fPl50K14ktkNWN+YNSKrnq+Wz aqBSz+SzK5iKzDLIs3hOM1A+LQ== X-Google-Smtp-Source: ABdhPJwM8Bc6bf/y87PmI/RKPBUTb9GnubYdtoqrjEKoDuPG9t3JK7CPBHVF232pqr50wnCfCpEmSQ== X-Received: by 2002:adf:f307:: with SMTP id i7mr28011769wro.142.1617015790727; Mon, 29 Mar 2021 04:03:10 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 4/6] tests/tcg/configure.sh: make sure we pick up x86_64 cross compilers Date: Mon, 29 Mar 2021 12:03:01 +0100 Message-Id: <20210329110303.15235-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210329110303.15235-1-alex.bennee@linaro.org> References: <20210329110303.15235-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::433; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x433.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?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) 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 --- tests/tcg/configure.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 Sun Apr 28 11:49:41 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=1617016065; cv=none; d=zohomail.com; s=zohoarc; b=Y0ldIeY2xnPM4WdZ4iNLmDsZAyjVIhYk1Szq+OLAQOtNXOEaQZ81h8eWM+lXHM0+SqQU86vF1YeaoCD+mG3O3528M02vgSaN3pl/Jxvb0gVn4PnlY0cpfqzaaupzhZ6OyrxyvOkFaadQwUE0WsKv+Rbg5f4yKygi76wxNmwYYiA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617016065; 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=0fyfWdwzjylGxvKnzivZ43UVg+YqR6Th9DTQ7YDVM4A=; b=MNoPcMFTOYHO11+NO4mJp18g+FX/BCmpjYW4Du9w1ej42xCkXLhHxYG5wWnKwUSDFBTPa7sTHjlhIiBKW6HuC0/y2b/wsGom/16A0yHJ/y9MQYIvidVTEtOQUhycPxLtF+21eqQRP+u56yc5gbAAibT+Z6y6CR4DQw7u2hjARPE= 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 1617016065067180.98060263903528; Mon, 29 Mar 2021 04:07:45 -0700 (PDT) Received: from localhost ([::1]:59472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQpkF-00048X-2L for importer@patchew.org; Mon, 29 Mar 2021 07:07:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQpfv-0000FJ-75 for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:15 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:43695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQpft-0004j4-HA for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:14 -0400 Received: by mail-wr1-x429.google.com with SMTP id x7so12385909wrw.10 for ; Mon, 29 Mar 2021 04:03:13 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q4sm23995496wma.20.2021.03.29.04.03.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 04:03:10 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id DF6EC1FF91; Mon, 29 Mar 2021 12:03:03 +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=0fyfWdwzjylGxvKnzivZ43UVg+YqR6Th9DTQ7YDVM4A=; b=HR00xf2U+c2OunXJGgOQYED5dsT12DFQWHFxfScwwCIfio9VVhrubb4YXdlPxFmgXG qb35PQqz+lN8v6GdlJOf4pBnWOM9aOTFfFgFS/yKr11YiEZg+vnZckBUKHW1ZAdw3Y1N YjgspKoq/mihuVChnSoy5UHADUtif4CBRzx32gkcD+DmWpBQFANm7aRZOQQs3DJ+XOxF EImm0/kmpWoi5FAWHYqfNgpNzKNoYAMePvBIj2RDJHrpnFq6mfzdehzZOnTpzOKge/p5 j2qyq3ksThbqx2ffcfUubrAzg31Jxp+DLv5OqkDsgBNWfvDve4kqSf57mfene2W9soc1 22Dw== 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=0fyfWdwzjylGxvKnzivZ43UVg+YqR6Th9DTQ7YDVM4A=; b=pHX9okPyYm7M7OEw8glLTitxDbjBVGuty3ID4mtighxL1j/DiT8pAkuwfxDLNq1okG OMx9v0RnlLuJajUYBQInXOWM/4JIgCDAdQTufupNLkaCxzxXQFZeWWTtBtnyYKHwyXXB LCgjZ5ZUvTCYPkaCqASTgpNhuAabRdj/o4acOBUgrH9WABhTCvAtKoTEHSFpil/ym942 sXsYMMVfGZpXgLhkjeRJWfjhrkI6v+lGhGnzuytkiqjNxyrhnW17Ldrgk9kfrBGqbtLH 4SUa33R8SpVedbdcyxWXtacAG7F0rerhZG872ESgWO43JkjxnY7mhxlNKOplugFx7+wj 06iA== X-Gm-Message-State: AOAM530Bfh8eGv3UKSkUIlIJM3KapyWxn8EGZvmRI22xaDz+UQNKLdUM 50TXRA0z0qpKzQeI5R26faIcWw== X-Google-Smtp-Source: ABdhPJxYQa7/bE8F1Tv94F8EETJHlF2h0Ptkt0JICjc8sZwMvhveaQQcuyWAj5uFAUKKgoJJkNFuaA== X-Received: by 2002:a5d:6144:: with SMTP id y4mr28020622wrt.203.1617015792188; Mon, 29 Mar 2021 04:03:12 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 5/6] tests/tcg/i386: expand .data sections for system tests Date: Mon, 29 Mar 2021 12:03:02 +0100 Message-Id: <20210329110303.15235-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210329110303.15235-1-alex.bennee@linaro.org> References: <20210329110303.15235-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: Paolo Bonzini , Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Eduardo Habkost 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 --- tests/tcg/i386/system/kernel.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 Sun Apr 28 11:49:41 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=1617016206; cv=none; d=zohomail.com; s=zohoarc; b=VWv/mmuMbQnMZSwz0qNs60B02RYYcjDeKcyoGsXoVtxjVZ6TRTl/fp9XtSg0bH+6zvxlJJbxqwz7Y3H0iJ3sYVYNvdx7Ll+XcpSBPnR6ZlRQ9hCnMaaLb+CKt+NLDfxV7sofQCBhIkAjfRRzzQhapv//HnSziL9CW58DPnfORMA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1617016206; 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=BTPxFERU7JNP+dRRV3lyj7Z5hAmDZqNFOETfABGGYiA=; b=GwudQzEWldcyN82Le7BR+YjnT8K+5f2bnQ9fF434+O6tkIvSq/Kd1MfmFjStk6kVJzXMvBmKBZcXrARfr/B4hG25IUajtkhvFE7ZixP9u/cSKJzZnErxBst5WRbCkngE98+C4+gdlZWJFu5F3pVvwycKi+dRXOqXIlhkbuJJxL4= 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 161701620682620.368074333717573; Mon, 29 Mar 2021 04:10:06 -0700 (PDT) Received: from localhost ([::1]:35854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQpmX-00061t-Pe for importer@patchew.org; Mon, 29 Mar 2021 07:10:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQpfv-0000Ga-VO for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:15 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:39844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQpfu-0004jl-9y for qemu-devel@nongnu.org; Mon, 29 Mar 2021 07:03:15 -0400 Received: by mail-wr1-x436.google.com with SMTP id e18so12400449wrt.6 for ; Mon, 29 Mar 2021 04:03:13 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a15sm19297187wrr.53.2021.03.29.04.03.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 04:03:10 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0136C1FF92; Mon, 29 Mar 2021 12:03:04 +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=BTPxFERU7JNP+dRRV3lyj7Z5hAmDZqNFOETfABGGYiA=; b=T+4Cnz8cTi8a/W5kriEn/jvoMXL3wa9aVK55x5JiDxm7bxLSaKDHDpGLMB2H86jIaZ 4puNlKbZl6wkxJ2P09sk2o6O1xQk4MZ0EOWludd92zyPc3hTQIZjvHJefOLBB0NtX4sj gAHkf9cFoRjShO0BvWubE8KzWw5NkomUe/tcsUZgy8MWjyZk83jed+2aRm/9wGjR+x4L 7OZeLzIiyxcZKeW8OeLPJ7oIXqLufMx+zyC8VyC5Dz0zJG79ZixTMBaDQz7oOIDegFbH tbUPOltl9ocdo8YNQRy8W0Vy+/Fi77hLr8bp/T8oxS0JSuxAoZlk0ECZXnVcNlXaL7NI +gow== 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=BTPxFERU7JNP+dRRV3lyj7Z5hAmDZqNFOETfABGGYiA=; b=l70fUwiy3aNSC96xyg80Bnd0WY08GbzmCgl9TBXWATTGl4A1Iu5DJluTV8vMrlL7dY Qj2/UCX8ZS0SX6jUyH9K8Bz6L7KkbMW4gdvHyz8/cN33ka5oIvm/OEhCVrXsyJosPuit t6Ih5jEbmL7sZbXVAUW+VDPZyVETOzgzsTEPOoa91VVJ2GOG4x29kqG9Lju+vU/gjZNR s/VLrdqpZyqeGsOXdR+uxIA/QW8O5bh+d9XIg7C6SJzFCHR3NnURAivTQjXpS8oo77k9 /Gjs3Fjw8rzsJ2F7KQaI4k5IJYZ+H7AClA6JDwyniMWtInFtzOYCUfKtMogaK9NvD9pX mlGA== X-Gm-Message-State: AOAM53281/4odag6LNyD4boKhcHluvf9zsUp1eByddny+gaz7LLIME2r nlXSPG9aflPCyHyEaHCB8xfjIJlLG1Fmvzex X-Google-Smtp-Source: ABdhPJyVhzZ+Sekz0qC6oPkNsLYdDorDdixs11TFkODdyDRBWoHNkzjyCaIo3fSUYDMB7R7s15lsbA== X-Received: by 2002:adf:e68e:: with SMTP id r14mr27608041wrm.273.1617015792968; Mon, 29 Mar 2021 04:03:12 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 6/6] tests/i386/test-i386: try and correct constrain 16 bit call (WIP) Date: Mon, 29 Mar 2021 12:03:03 +0100 Message-Id: <20210329110303.15235-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210329110303.15235-1-alex.bennee@linaro.org> References: <20210329110303.15235-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: Paolo Bonzini , Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Eduardo Habkost Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Newer compilers complain about non-matching constraints: test-i386.c:1393:5: error: asm operand 2 probably doesn=E2=80=99t match c= onstraints [-Werror] 1393 | asm volatile ("lcall %1, %2" | ^~~ It seems the plain "i" immediate constraint is a little too lax here. What we are actually dealing with is a 32 bit offset into a particular segment. I think that is "Ts" (Address operand without segment register). [AJB: however this just seems to push it a bit further down the road: test-i386.c:1393: Error: operand type mismatch for `lcall' Inline ASM constraints are hard :-/] Signed-off-by: Alex Benn=C3=A9e --- tests/tcg/i386/test-i386.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tcg/i386/test-i386.c b/tests/tcg/i386/test-i386.c index 18d5609665..6d8aeccfb5 100644 --- a/tests/tcg/i386/test-i386.c +++ b/tests/tcg/i386/test-i386.c @@ -1392,15 +1392,15 @@ void test_code16(void) /* call the first function */ asm volatile ("lcall %1, %2" : "=3Da" (res) - : "i" (MK_SEL(1)), "i" (&code16_func1): "memory", "cc"); + : "i" (MK_SEL(1)), "Ts" (&code16_func1): "memory", "cc"); printf("func1() =3D 0x%08x\n", res); asm volatile ("lcall %2, %3" : "=3Da" (res), "=3Dc" (res2) - : "i" (MK_SEL(1)), "i" (&code16_func2): "memory", "cc"); + : "i" (MK_SEL(1)), "Ts" (&code16_func2): "memory", "cc"); printf("func2() =3D 0x%08x spdec=3D%d\n", res, res2); asm volatile ("lcall %1, %2" : "=3Da" (res) - : "i" (MK_SEL(1)), "i" (&code16_func3): "memory", "cc"); + : "i" (MK_SEL(1)), "Ts" (&code16_func3): "memory", "cc"); printf("func3() =3D 0x%08x\n", res); } #endif --=20 2.20.1