From patchwork Tue Jun 19 15:44:17 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: 139202 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5400279lji; Tue, 19 Jun 2018 09:16:04 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLEPi0bqCLLREUMqSja+DpbXeCwlMUbvJ6uTs6I3sL05eba7iHuFBnyVnAF/dIdw6HUwofx X-Received: by 2002:a37:1707:: with SMTP id i7-v6mr14461248qkh.433.1529424964542; Tue, 19 Jun 2018 09:16:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529424964; cv=none; d=google.com; s=arc-20160816; b=FYxqho5R6raz2rjYW3pXDCFjrweW+lvFgtno/lAeWFugPqVP+NOAly8rdRMMziM9WP YX5RbKO4Vitn7wRWPtxz2AcPu6IGd+2vGljrb2Yv9BiRSn/Ku6TuacS5I4cyGxdtih27 L+eUGosmgVCHjIf2RPXlM66B20L8Rvv7pPT56ZYGKrPmoS1Yz8/5r0cw51MikH0gjZ3E Yfv5RafW2V71da2lDZjIaskBlimu3bqWElhX7VsNY8F3CqSxD99lCx69nfcFXNTyKPCL 7I1AFiXVVFHnZFz+qm7vXqgBYT7X3aoAaTxq9OrT6Qc9Y7us+dAZxO6K9wtzHH9LDOol jV2A== 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=mgYiywWc+6/205HnB5Vr6MlHuhtWTQQxEj4zHDgE+MI=; b=wPMAWdJxRNBvRvuOHDuvTGOBNG5uLsg5p86LdJbnrvL7tx6QZKx5IGDdwjgCa7UzrE jP11KfaKoaxYU/QVS/Z0NbAjymRduLeZTkJz222YWlppIAtjsmewbXntIDN+jMuyMGan ngBRUWj/TyxVugy4vg9TNtJziNReWb+VKs8dsWCBTnBxjD6j5WhZHzjJoeqLO5m7FEVW 90XR/Mu6erf3elTZOEu1jQq7gECmLKzJAeywWcExuNWuUYTKw6HI7yYYOcD23DYSN2w4 r2fyvZRV5dSnjJA9wfCzig53kRyRW4NzEREBVtj8KtTbIY/6OmB918mbyVKPbhUtPI6f cNog== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=QZ0kENYG; 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 f46-v6si77008qtc.204.2018.06.19.09.16.04 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 19 Jun 2018 09:16:04 -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=QZ0kENYG; 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]:43537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVJIZ-0007xe-Tt for patch@linaro.org; Tue, 19 Jun 2018 12:16:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVIvV-0004Hk-7o for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVIvH-0001qt-C2 for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:12 -0400 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:33277) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVIvH-0001po-0n for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:51:59 -0400 Received: by mail-wm0-x229.google.com with SMTP id z6-v6so19402750wma.0 for ; Tue, 19 Jun 2018 08:51:58 -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=mgYiywWc+6/205HnB5Vr6MlHuhtWTQQxEj4zHDgE+MI=; b=QZ0kENYGs1L1Z53gOD3mvvJiRBgDOeeBDGX6oBF4XfsFF6IYZxviOZt1FXN7++wBMA 9x535e1c7IzP5H+ZZWGfZ26KYTBOKcCJGIn8kwWhR7+9GNZ68Tglqri5tiaA1L1JyBRy Y/Otp8y3JWzMhUZ9srsHa8u2lV2LzmNMRrhYw= 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=mgYiywWc+6/205HnB5Vr6MlHuhtWTQQxEj4zHDgE+MI=; b=IUH/fsv7X9Wp36uLyxFT7LSkf1VcrZ+YowDSFVnTJmDcwTXP0hA8btU8ghibZtmkaa TZl8DmWwImcBC5DL8gcopiNCHwVcUJecV00PsebWiN7qoZ49mwC9wqILLiPWfOKzOhwv C4+pwbnClhMNeTJkUCg05+5O/9FfY8q05xUllDK2n4em2tnpkB0QGyNviV0O4pAgVLr7 I2PRn2/u+ArCGkSnEM6nQIlEFJ+0ViU84dpdpRoG7qKtXH3MZLtt2j4gpPCYVC26rqMn OuTWjzozxNv18ESDaly3NcnqfOzoFcfQVORMpv0gE0l0GUv+JN0b5rXMMtOdvRRRNsNA vp+A== X-Gm-Message-State: APt69E3XxELCIXEKAS5sTb+BTqBV+N25kRSm6Tqn5aUpc1LV1U4IMtUx UYZxW888CnHQIOihrfuGpXk27w== X-Received: by 2002:a1c:4189:: with SMTP id o131-v6mr11595046wma.7.1529423517796; Tue, 19 Jun 2018 08:51:57 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id u108-v6sm29015wrc.40.2018.06.19.08.51.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 08:51:53 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id DA16E3E0E85; 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:17 +0100 Message-Id: <20180619154435.18898-39-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:c09::229 Subject: [Qemu-devel] [PULL 38/56] tests/tcg: enable building for sparc64 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, 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é --- v5 - add Makefile with EXTRA_RUNS for mmap tests -- 2.17.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index a2dd307a8e..fb465e729e 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -74,6 +74,7 @@ docker-image-debian-alpha-cross: docker-image-debian-sid 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-travis: NOUSER=1 # Specialist build images, sometimes very limited tools diff --git a/tests/docker/dockerfiles/debian-sparc64-cross.docker b/tests/docker/dockerfiles/debian-sparc64-cross.docker new file mode 100644 index 0000000000..1e2c809274 --- /dev/null +++ b/tests/docker/dockerfiles/debian-sparc64-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-sparc64-linux-gnu \ + libc6-dev-sparc64-cross diff --git a/tests/tcg/sparc64/Makefile.include b/tests/tcg/sparc64/Makefile.include new file mode 100644 index 0000000000..95fc8dee9f --- /dev/null +++ b/tests/tcg/sparc64/Makefile.include @@ -0,0 +1,2 @@ +DOCKER_IMAGE=debian-sparc64-cross +DOCKER_CROSS_COMPILER=sparc64-linux-gnu-gcc diff --git a/tests/tcg/sparc64/Makefile.target b/tests/tcg/sparc64/Makefile.target new file mode 100644 index 0000000000..408dace783 --- /dev/null +++ b/tests/tcg/sparc64/Makefile.target @@ -0,0 +1,6 @@ +# -*- Mode: makefile -*- +# +# sparc specific tweaks + +# On Sparc64 Linux support 8k pages +EXTRA_RUNS+=run-test-mmap-8192