From patchwork Thu Jun 21 06:25:48 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: 139481 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1692948lji; Wed, 20 Jun 2018 23:54:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIGiwcGVL7c/ScJlivhjPjzMMuB8PYIB+z+0/sTEYtrSc3HpYEtEQalZO/6rFHhSksMGcxB X-Received: by 2002:aed:3aa4:: with SMTP id o33-v6mr22000796qte.19.1529564085770; Wed, 20 Jun 2018 23:54:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529564085; cv=none; d=google.com; s=arc-20160816; b=utVpPRmRA7gx9AWU3VBtlGdzMy1j9BgU9BpIooFUNO0LmXkOxzGlEHnBlTkRDmvPMW TVkwSLG/1EQP21Qt5PHZGhqS/AFWPYEm/g1pG5cvkMcHoR5wL/a148VfGfB5SiTtdEt9 zZ0QnhTiN/NeUQNmc57oWY8v7I+s+ZHbEDr5OIPC/0Z4GcdoZSjq1nZKlyJzrH6T41Mg q11tmu1EZuNnpkzNyTl3SdFCAWKJQhKye5BimvicZlhvFizsFgrW+KANpF0gOueEyG7P HaZn9lZ4HcKtvL/baL+CKRcZFvRFbIiTMAG5UkItn12r3TVluL3kedUe3tVOTSdzK72F f8Hw== 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=o6myaL+jtkn77KW/Wke8faBapFfgHiO/6toQdXS+bNNCVdVweNtVHLLADIO6GeY9Iv LafL4HpLjlfWcYR3UmVz+F61HFvJvzXVkF6GuBgnEB+vA4OHq+NzLsovwY8+c8aHk4ik GdYTXTCQrQmO4JhI8cJb7wDizpIVDwBLqmLSW7cVAVQlM5gDRats4Gs0Lk6prg52pWIu DIVRaTrZp5U2CnoX0EvL+7OC3HkfR8g8ecxZvF2GMYgeiLjy9czUU0LnF3PyrvTq0aOG n+PWqcu15nzJEBqBTfir7eA0MB0rYHUNmNt29H6D0VEmH7VI83HWPsqI43smxkeZGBtm N3nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=aBJdymiK; 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 o19-v6si4242643qvf.160.2018.06.20.23.54.45 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 20 Jun 2018 23:54:45 -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=aBJdymiK; 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]:53389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtUT-0006Ph-87 for patch@linaro.org; Thu, 21 Jun 2018 02:54:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtI3-0004rj-T5 for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:41:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVtI3-0003Ig-2R for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:41:55 -0400 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:43592) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVtI2-0003Hx-SV for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:41:55 -0400 Received: by mail-wr0-x22d.google.com with SMTP id d2-v6so1841524wrm.10 for ; Wed, 20 Jun 2018 23:41:54 -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=aBJdymiKHaoyKoUvgc1JpG0CaeP5w25aMaqQsJrjsF1sDHqweNQiuF4dHerlPPIC8+ Uqd19UCk6WAyPA3g6F4b5ucaLB3F0zc88wHjAhSA9jYxZDnzWwHd55lJCbHzj1l7pDLh d6FFGnKmrH+EOJnNxLKlr8veB8idqi8XLD9UQ= 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=Q32qgt0zTpNOjg2/ipFHSI0CLNmHxd1dGVvWnD8p8T2hRr/7B8m7cVI+ZUCDN2H5Ey iBJVEG9y4l7yw5lLQWPMsbmLY7F1qNHTaMHnC/FXQ1dJKno1zlkI1+vY8cQKzEQ5KC7t e7Jj1vD12T7CkkBNA/lWT7PpDB4HTE8/bzS5w687JUqbSeUlD4RPj/u8pFY2AoRDR99R L9OH6EUBhMqucflt71NTwbkaHp1fdYJaLJ8a1i2I/FPx5BdfgDfhMjfvWhgtk0rIoIms RFivWKpZmAIW0/yg9ZAz8CDdQmzgiUuxvHmAmqnj5UaVnkI6UDoY0TbJ0yb87Z7CXicf xYXg== X-Gm-Message-State: APt69E30AfsYQ7IQBdKLZXl7+6D6rocGYNP6dlWk1gmbsrcb8GTl+NIc RhB37J/e3IcrLy3kBi4cgWEJgA== X-Received: by 2002:adf:980e:: with SMTP id v14-v6mr487676wrb.180.1529563313790; Wed, 20 Jun 2018 23:41:53 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id z13-v6sm4206856wrr.71.2018.06.20.23.41.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:41:52 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id BCF193E14E3; Thu, 21 Jun 2018 07:26:08 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 21 Jun 2018 07:25:48 +0100 Message-Id: <20180621062605.941-41-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180621062605.941-1-alex.bennee@linaro.org> References: <20180621062605.941-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::22d Subject: [Qemu-devel] [PULL v2 40/57] 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