From patchwork Wed May 20 14:05:36 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: 186982 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp651449ilb; Wed, 20 May 2020 07:08:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9Nl00gNxmjGmSmXcGrEeQ46iZtAYUTQs41a/KaTBHfNuasNEi/iuh60pgk2iZ3mMMS64w X-Received: by 2002:a37:d89:: with SMTP id 131mr2593301qkn.454.1589983698466; Wed, 20 May 2020 07:08:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589983698; cv=none; d=google.com; s=arc-20160816; b=hO4cICO4l1ESJyWr20ShZV9C/GGsoRyjdqZS1ahqFZUQod0pa/kGGm0wA42KgEnyvE IH/mZIXxPQ/8rx7drC8vl+rQZkHDLqQB4aKxaEyvf/80/U0gRUnaukO4OXmvztcT4Snv +9JbMPfSM2DBRKweF8FT1FGv/OTUx6oku9QbMlD9bWFK94x8a3dHQo45n43BmVGdlZFO 6WmuVKcrGtWc9CFuBkcW44gKdqERJXAC5iX9UlLt8SwT0Kc4ebXjeZsVI/7vD4CQ2PpZ vKXrdYAeBoetFxQpc6GTwV8JDzo/fcATrk51NNFAQQxnsEBRal3JRMsz+wuh3WkyHlEZ jVxQ== 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=dnix+tfq2fdfws6TsVzkTHLlR4M0EwyavqIhHiXG7vU=; b=qp0g76KzXdJsUasnkNRMBvJYgoSpL4QXAJWRm5hf7uf4EdjenCveyZxisCdRqKNeZ4 7yqY6oTkacjuYgAXoVAWQpsKxfLh3lK+B/9xMJuH49qrO0xUnhy1j7HW15jo1DB645hY 1WGrARpkymP8mQBfjCls09XEoN12t5804fHtLxustZHE++R/i6zahahfu0Q2LH//7Hyl uBruLyeR07xSOtAoFEqKi1DCuauc8Cq/moRCTPuPZtWz41KMMQT6HP/5oGs48lHHs/lF BYb3a/Kg7RSUJXcJtfUIc5xz9dlAbvNCJsB2BjjXcIT73Zl7yZGMSgRrbXRccAqtyjiz MPJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=X5HHixyO; 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 e23si1711847qkm.207.2020.05.20.07.08.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 May 2020 07:08:18 -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=X5HHixyO; 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]:35152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbPOL-0003SR-WB for patch@linaro.org; Wed, 20 May 2020 10:08:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbPM6-0000C0-71 for qemu-devel@nongnu.org; Wed, 20 May 2020 10:05:58 -0400 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]:32869) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jbPM5-0001za-7E for qemu-devel@nongnu.org; Wed, 20 May 2020 10:05:57 -0400 Received: by mail-ej1-x644.google.com with SMTP id n24so3987990ejd.0 for ; Wed, 20 May 2020 07:05:56 -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=dnix+tfq2fdfws6TsVzkTHLlR4M0EwyavqIhHiXG7vU=; b=X5HHixyOI99g+WiUaQD8pYhavhfEXVgxEeZlenYNgBDtrxHOoAkneZTL2JLiStsqV8 /MiErkGxdpVR9/uOl7lZzeugFLuhkdppf8Jwgd5J7Xn0ts+m9ufm2Nzq2XP18PpejV7D uPLeZOWCX5b0ISiaiI1pmKtwYdbPwypNC2e9HkhYO/3v14WjyEcMfig2X/46Ad5JD7Tk i5ljhwGtM+UenXpnox5vExj+gaeHlYCeB3xR9oWodpvsXtpPXZ3dWCmECO8fZDZVdDoJ iWQHHOI9NbtIVxhVXkAvtJuDu5zdkCNQf6X0Alk+ytco7n4R/628WTyUyhp2z4/1UxcH yQeQ== 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=dnix+tfq2fdfws6TsVzkTHLlR4M0EwyavqIhHiXG7vU=; b=MPtBW+nwapC2aRNG/K2XujXV9XdBL733LVwpM0SiCV+bMFxVdYpmZL9srOUyEpr1Q1 09JWhafmwZ4RU4DK2AA/TZmE4DCMWeSO8X7nKVlf40VI7J3QMv4TpIZpGX3NgilpuiEc E2RtdH+ALa2G8XiVz3TgzFfhdbuDUkjifOpH67u8E+NAZ3Cb/JUeDXRNQj4N9twQp0IN /vqL3rBhislpCc3P977KGaM6/7PSgw9YN64wkGrzQ8dhOp9WUsidVqmnovSI9fUiR+7y nmpHaKm2DjwSpH0m22t94jGqCpY5SDlkPuONc7P95eI54P054s//VGRA92l++OGsNnog gbKg== X-Gm-Message-State: AOAM532bl723x3/w13qc8C6WMflNps9HwOr4tHzzvmLkCosQXinO+O4/ jLIUwZErRk8hoSYz/Q4a3bozcg== X-Received: by 2002:a17:906:a417:: with SMTP id l23mr3753999ejz.213.1589983555832; Wed, 20 May 2020 07:05:55 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b23sm1985096ejz.121.2020.05.20.07.05.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 May 2020 07:05:49 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 19D701FF99; Wed, 20 May 2020 15:05:42 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 10/15] tests/docker: use a gcc-10 based image for arm64 tests Date: Wed, 20 May 2020 15:05:36 +0100 Message-Id: <20200520140541.30256-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200520140541.30256-1-alex.bennee@linaro.org> References: <20200520140541.30256-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::644; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x644.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 , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= 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 --- tests/docker/Makefile.include | 2 ++ .../dockerfiles/debian-arm64-test-cross.docker | 13 +++++++++++++ tests/tcg/configure.sh | 4 ++-- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 tests/docker/dockerfiles/debian-arm64-test-cross.docker -- 2.20.1 Reviewed-by: Richard Henderson 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