From patchwork Wed May 27 14:54:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 187276 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp1193064ilb; Wed, 27 May 2020 07:57:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkXFrKRv2yYjYjzlReGbCe7+f6KsudqfxkRgsafy9f8/B7LSi0GIbndHpxO5zm5O7+j1OE X-Received: by 2002:a25:8202:: with SMTP id q2mr10402347ybk.243.1590591448325; Wed, 27 May 2020 07:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590591448; cv=none; d=google.com; s=arc-20160816; b=mHs05kut33V8W2OC1hTcLIimeFQzhDopaNIRTXHh2Vb7eG0Xe2+ngDo6Ah6GuzRH2q eX6m9dp4n0o8RCoLUSRxkjwxQxtEgN5WTe7D8gXJPgp55Xk0atCtZuyUzjcSmPJtcTqQ 6ncHuc7r/YSC8Yo0R1h5Bt/K9KOiyjpx25HEaQ0k3qZpV5w2PnFxHl2zoM9SN1dsUJ8z sRxZrR4iEf7yUi0zqWlicML3R8I1gExUvl/R/jLV8yuRxeLOZ9Z2dnsAXcDvV72fJ6Mw w0ww+/RdjwLubXn7xcsNBQud3hiKDb0PnCwFC1Xeg3DT+GNiQh8/XcGXkvyQ7a+PoQzb QRBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Dm74SlTEnZyxd4hI8XjcLMpSfE87lkjOy5GE4QJMVNA=; b=ne3J703/Gjz2FtXzqj3p1uwR1BHSgoM/B1+vw+ph2niYgCsjhXhD8p6FTTZfr1kmac Ythxw3+o+Bx3sjkw87Zikf8kJ0KRNjLUGeXJ4fJDR83T1oaI+PJwKPUDuvgwRTWscfm7 L8X1vsa11hEylo7cnOXnNrSxX02DTZszPQqoEZNendOfAzjob/THyHZ2UeQQhMGEV41t IXPZlRogPE3XRQIRxCbyLOPgPU0DnPOYP62TVeemRw2Gk1gNIzY89+R2euWQymxmh8H0 +WiSXPRGFi6HFYO923smjHIrSkuUgYl1RcR22Kxo2d47JkEKD5RqoDAu9Ynk2YrXtOHu DGDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=frz0aBzy; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id i204si3098042ybb.158.2020.05.27.07.57.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 May 2020 07:57:28 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=frz0aBzy; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:51446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdxUl-0004jO-PM for patch@linaro.org; Wed, 27 May 2020 10:57:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdxSa-0001vt-Dd for qemu-devel@nongnu.org; Wed, 27 May 2020 10:55:12 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:56277) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdxSZ-0008Dw-1Z for qemu-devel@nongnu.org; Wed, 27 May 2020 10:55:11 -0400 Received: by mail-wm1-x331.google.com with SMTP id c71so3314627wmd.5 for ; Wed, 27 May 2020 07:55:10 -0700 (PDT) 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=Dm74SlTEnZyxd4hI8XjcLMpSfE87lkjOy5GE4QJMVNA=; b=frz0aBzywnSTSWGwvUWtphMoIDMAotS0DsPg7ncp+DhFTrjTtKSAzlUoLWbLLRs8Yk 2W1GH9QYRcxW8p2lzPbqoMtdtAmaeNlBMOiEgLDj7lSXtMbl54MyZ0of6Jy/fPwdh4Ft uuBD5RqVQcTu222W8BIoi0sl/vhy9NGFl2iC/hn79k7rYQ8cSEEvh9SNVBHz3vA4IgkB tmDitPqnHS15O9ORlmnoMGdjPLX2dK+NeQ8NRDKZgoy6bFeoAHg6iTH8DHui8rmY++bB K4cgjvGDHCDv3BcrvvlPZ8RrXZcbWxF1JQGRv4Wf6YKAaicsJBDLo6rGQHx13wGUxrYs d/4Q== 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=Dm74SlTEnZyxd4hI8XjcLMpSfE87lkjOy5GE4QJMVNA=; b=WwItR8Ds60/6tGi7QTM1CYWpv4J+6Fm1FnkN7jBrX9lbhU4+RBh37GHeDiN66fgV3s QtoNk6zf/wSzTwtL3umhHv3inRWmFysYnDNjS3DVUwtyH/SkrNQXia/b3WJMkwDhOITE SjwvsKHaHZXDFfgk/ckj8sjdtTRQMcN1e2ut+J5QfQeRhlC4Out1GVxhPquESiNd3NXX 8040vQCyu1S5ONYeUyhQvYoxewhwbB6etNPGdE1LYz0bHZJArKAqAJajqQFOVMLKqMe2 DIOicRAhXqBHM7eNBe+452y+Otognyk3Y43FueQsKKKmUQxD2+4HTA8k0yj+ly/j3C7Y Tyjg== X-Gm-Message-State: AOAM532w8Yp4HHIMRTxb+7r99mI1AGTLD/XBI7JMPYz7EKdq42CLPcdE KjO+xV8gi05nfWyOrSgQYxMzDA== X-Received: by 2002:a1c:a905:: with SMTP id s5mr4540623wme.120.1590591309385; Wed, 27 May 2020 07:55:09 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s19sm2869069wmj.21.2020.05.27.07.55.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2020 07:55:04 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id DC4D61FF98; Wed, 27 May 2020 15:54:56 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 09/12] tests/docker: use a gcc-10 based image for arm64 tests Date: Wed, 27 May 2020 15:54:52 +0100 Message-Id: <20200527145455.2550-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200527145455.2550-1-alex.bennee@linaro.org> References: <20200527145455.2550-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: Fam Zheng , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As we enable newer features that we want to test on arm64 targets we need newer compilers. Split off a new debian-arm64-test-cross image which we can use to build these new tests. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Message-Id: <20200520140541.30256-11-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 3596b589307..ed46bd98eb5 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -131,9 +131,11 @@ docker-image-travis: NOUSER=1 # Specialist build images, sometimes very limited tools docker-image-tricore-cross: docker-image-debian9 +docker-image-debian-arm64-test-cross: docker-image-debian11 # These images may be good enough for building tests but not for test builds DOCKER_PARTIAL_IMAGES += debian-alpha-cross +DOCKER_PARTIAL_IMAGES += debian-arm64-test-cross DOCKER_PARTIAL_IMAGES += debian-hppa-cross DOCKER_PARTIAL_IMAGES += debian-m68k-cross debian-mips64-cross DOCKER_PARTIAL_IMAGES += debian-powerpc-cross debian-ppc64-cross diff --git a/tests/docker/dockerfiles/debian-arm64-test-cross.docker b/tests/docker/dockerfiles/debian-arm64-test-cross.docker new file mode 100644 index 00000000000..a44e76d9421 --- /dev/null +++ b/tests/docker/dockerfiles/debian-arm64-test-cross.docker @@ -0,0 +1,13 @@ +# +# Docker arm64 cross-compiler target (tests only) +# +# This docker target builds on the debian Bullseye base image. +# +FROM qemu:debian11 + +# Add the foreign architecture we want and install dependencies +RUN dpkg --add-architecture arm64 +RUN apt update && \ + DEBIAN_FRONTEND=noninteractive eatmydata \ + apt install -y --no-install-recommends \ + crossbuild-essential-arm64 gcc-10-aarch64-linux-gnu diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index eaaaff6233a..2326f978562 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -97,8 +97,8 @@ for target in $target_list; do case $target in aarch64-*) # We don't have any bigendian build tools so we only use this for AArch64 - container_image=debian-arm64-cross - container_cross_cc=aarch64-linux-gnu-gcc + container_image=debian-arm64-test-cross + container_cross_cc=aarch64-linux-gnu-gcc-10 ;; alpha-*) container_image=debian-alpha-cross