From patchwork Tue Jun 19 15:44:18 2018 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: 139180 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5383291lji; Tue, 19 Jun 2018 09:01:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKINKzDiZ3N+/XWnxxqs/05f0G4thYLKj0hZbpF2ogS7+H914KiN4yFW5ql5CGmFRmU0I272 X-Received: by 2002:aed:22ae:: with SMTP id p43-v6mr15685334qtc.200.1529424100341; Tue, 19 Jun 2018 09:01:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529424100; cv=none; d=google.com; s=arc-20160816; b=NoO5N1fXuKWt18sOu8OCtpzO8jBuGEDijQ4sYsLgItIJCyuPkepXb8g8kueCg2z+k5 kuy4ZHPRbcQYwIfh8+IxP2trUfBTahVW2JBuFKTCGRj11s29PpG+koffgJOMVNEPKY+5 kgAvA8JMaeuhxO8sKgSt6SHfvdGNZUCBJi9GhgR1NOlz/U2Ys8KWHKsI32TJ9/R3F1Hu ACrNcCO/7Xu8V9grA6Y4zO8TpISSV6jmKkP++lco5gREttmC18D/56CsPiPQVB5xEnQg 5zLsHc+Pw6qIY4PJpgcbigcC42GhtMg95ICWiGb8aSUOm2gP+pBQvyjucbk/FPqsMVUG Sg0A== 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:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=DlKIoTliPcY2+7S46yeLnl8QqCaCHREGik0yTmcz1iA=; b=WBSkDQUsxZcrFM+ANoNen+p9C+ljccoASmSqYlmb1UaLpTI490dsooagYuI1fcZtQm Gns3OHeXNiHJD+XrFkhISTiQ1CJo7oshOk2DQY6BFdCSUafH21hiOLM0+HlISLtcdvUm v5HRX45sX4sEHjfNogo9/WnKOXoTITMAkyS+i65n+LIFsKC60m5ZF6dmDwgrZspBzj/o t5fGmZ3sNC5CBMiJudsjJxl6kbpjDpG6OylzGFmW+4sF0+XDKEB4vjhDjigR5Cq5DGcO gNAZZeSPbvWLJOJ1+tM6hNxCX9zyEfyM+6C382Yv/GBV+eH7ByJyKmzz8nqEIgiJrP0L 0VCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DOsij3zZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p17-v6si51331qvf.115.2018.06.19.09.01.40 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 19 Jun 2018 09:01:40 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=DOsij3zZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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]:43418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVJ4d-00034c-QA for patch@linaro.org; Tue, 19 Jun 2018 12:01:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVIvJ-00048f-K3 for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVIvC-0001kF-91 for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:01 -0400 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:37132) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVIvC-0001ik-0x for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:51:54 -0400 Received: by mail-wr0-x22c.google.com with SMTP id d8-v6so179063wro.4 for ; Tue, 19 Jun 2018 08:51:53 -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=DlKIoTliPcY2+7S46yeLnl8QqCaCHREGik0yTmcz1iA=; b=DOsij3zZFtMnt10Ro437x5NXqcE4t7MeJ+w3PW/xhCXoSqc/oT3MBAHp1BXflOjXgf 3fEtAS+fpeynz5Q6W9my2XcVqNn+nqzDd5yxklv2+Fvex9/J9dJ0NjKxOJCXud8KLm5s weYPRmG1hxFczBwJOk7+v1OoPtM8eiI5cQrXg= 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=DlKIoTliPcY2+7S46yeLnl8QqCaCHREGik0yTmcz1iA=; b=Dz8J/J3FBXRD0J3Ru/OqpAoVLcxoh3h/lm55z93jw5THfVWgzgoJI4tKbSPmh52Rzf gstyMhklHn8y4wZSEOJVNOuJfJpyEfAhjyWnuPvNRSRLJi3GeAFfFN9p+p3SPe0BGKNa i87T8QS85X0OhEE2e1Ri/IZ/FXSnW5EY/NJGBuBsYeVA+5G1uaOgZzeIcravRSwhWJTS 81fhECSDgrVBLo9kTR5anetD92CFk9l89OQtzaTGf6YbY+JACcQTQVzWgEtBKfIEhPs/ rQmhCduBJQzVKL05lAuS8VD8AI/SHYvl6cid/aqA32X5Ne/I9tnSFRFFMFs3Kq4hVCc7 C7Ag== X-Gm-Message-State: APt69E1Bu8eRWvPBPiIbVIakgOW/7XPLa6bfksnYdQ932xXQlxUFODpG Gi70CZVOYPR5p4d9ftTESX9mDw== X-Received: by 2002:adf:84c2:: with SMTP id 60-v6mr15225189wrg.167.1529423512846; Tue, 19 Jun 2018 08:51:52 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id h11-v6sm2520wrs.85.2018.06.19.08.51.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 08:51:49 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id F0E743E0EC4; Tue, 19 Jun 2018 16:44:38 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 19 Jun 2018 16:44:18 +0100 Message-Id: <20180619154435.18898-40-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619154435.18898-1-alex.bennee@linaro.org> References: <20180619154435.18898-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22c Subject: [Qemu-devel] [PULL 39/56] tests/tcg: enable building for mips64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: agraf@suse.de, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, famz@redhat.com, Yongbok Kim , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As before, using Debian SID compilers. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé -- 2.17.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index fb465e729e..8fd4041716 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -75,6 +75,7 @@ docker-image-debian-hppa-cross: docker-image-debian-sid docker-image-debian-m68k-cross: docker-image-debian-sid docker-image-debian-sh4-cross: docker-image-debian-sid docker-image-debian-sparc64-cross: docker-image-debian-sid +docker-image-debian-mips64-cross: docker-image-debian-sid docker-image-travis: NOUSER=1 # Specialist build images, sometimes very limited tools diff --git a/tests/docker/dockerfiles/debian-mips64-cross.docker b/tests/docker/dockerfiles/debian-mips64-cross.docker new file mode 100644 index 0000000000..ed1ce0e919 --- /dev/null +++ b/tests/docker/dockerfiles/debian-mips64-cross.docker @@ -0,0 +1,12 @@ +# +# Docker cross-compiler target +# +# This docker target builds on the debian sid base image which +# contains cross compilers for Debian "ports" targets. +# +FROM qemu:debian-sid + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + gcc-mips64-linux-gnuabi64 \ + libc6-dev-mips64-cross diff --git a/tests/tcg/mips/Makefile.include b/tests/tcg/mips/Makefile.include index a9beceb623..4a14fc078d 100644 --- a/tests/tcg/mips/Makefile.include +++ b/tests/tcg/mips/Makefile.include @@ -8,6 +8,9 @@ ifeq ($(TARGET_NAME),mips64el) DOCKER_IMAGE=debian-mips64el-cross DOCKER_CROSS_COMPILER=mips64el-linux-gnuabi64-gcc +else ifeq ($(TARGET_NAME),mips64) +DOCKER_IMAGE=debian-mips64-cross +DOCKER_CROSS_COMPILER=mips64-linux-gnuabi64-gcc else ifeq ($(TARGET_NAME),mipsel) DOCKER_IMAGE=debian-mipsel-cross DOCKER_CROSS_COMPILER=mipsel-linux-gnu-gcc