From patchwork Tue Jun 19 15:44:15 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: 139174 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5379895lji; Tue, 19 Jun 2018 08:58:42 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKRRCfPd2LWvM+j1dq53bdEiDiwTGHzE9x1NDJDyp5L7KMGitBdF2TqGTmG0XbpS9+CEnsr X-Received: by 2002:a37:8e87:: with SMTP id q129-v6mr14479101qkd.76.1529423922682; Tue, 19 Jun 2018 08:58:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529423922; cv=none; d=google.com; s=arc-20160816; b=alIaSXeVmTvoKlYyFbASkePiKKo8uk+b2fMyvOQvIACai1Cw2DTQKrs6xtudHEdmzv Fx4A4W/6macjxVit+GvfZJ2VXkmYpHad08jSNF7MUGLVCmuddH32HWhaOmfQnmX/HHZk pC4YX1zTHizLiRyiff9MbrSt3ZPnpwvFIxFXwxVl+mg3c466n2uFbtNBbSsSn7HWEP3c ac9iShR1O62MzOQVYc6bld5kMe7FWuguap1Iyy02KUSxTISsVvtuRywlyED8TEGrF5AE rU1LsvX1S6ccfxatKhg+NUolXAGA8ZEIK3hPVVZL8yauFVF+lFGoDpZs3O3+4tru1hZO Wgvw== 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=S/KoTgZgKwzp5ehxf+V6bfdC1iGHnTXylKGHzzwN0Gc=; b=guBalobJfhOSJ6eFgOMPEjYn2I30psMTbojB4NxBg0FCrcWnOFaJeIIzw3Wn+hmzBo qMyMRJ8qAWscKBOh6X/iq5MyzDEiNx3Vj1Lb7uEM1hoa32Fo21wI81/E5WpYZdYpM1s2 o0y3bGLkyVnIKUtOGa2PoA9oM5CL5BVNSKLyHy28FdKIKcNLK+FCd5x6x6g42Xl3dtAU 5F8P4W9jySHtWEyrCDoBLwzbzSXQr7++dS4vRRHAllNY1rG2MhbEZDmOKTsPUCHiEkNG cIh+2z5/sO+uxBoFEeyIBpdJK7HZlQBJxqeyvOYqjH7YCIPKJYNvadTRu5CiqnNeQH3H 9H5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Q+3e4x9J; 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 a9-v6si57070qvh.29.2018.06.19.08.58.42 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 19 Jun 2018 08:58:42 -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=Q+3e4x9J; 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]:43409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVJ1m-0001a8-3m for patch@linaro.org; Tue, 19 Jun 2018 11:58:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVIvG-00045m-Fo for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVIvA-0001i1-Q3 for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:51:58 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:54320) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVIvA-0001eR-3k for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:51:52 -0400 Received: by mail-wm0-x236.google.com with SMTP id o13-v6so1185158wmf.4 for ; Tue, 19 Jun 2018 08:51:51 -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=S/KoTgZgKwzp5ehxf+V6bfdC1iGHnTXylKGHzzwN0Gc=; b=Q+3e4x9JWgOKS0JygJswHLqnuGutdEFDh+IX3aHM4KnNznhoKMMeezEfhEyiQNNepR mZxk3RSklyqpRNdc0bhREWTLPIjaV2fn62q9tEyr5FDsTNtBvPdtulIqLUuKHt4ArwNP Q+Q7u+WQTNCzchYM21PLFhVUheYiNd/Sx4LBs= 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=S/KoTgZgKwzp5ehxf+V6bfdC1iGHnTXylKGHzzwN0Gc=; b=eU/tXNDsbHZ7ouwVQqJZEGSn1RzQnJF9rv4u8dIU20pt9UPCoT8X2aRIhLDLRLkmyS +4VWENKi/ZmzK83l0/UgMp3eAOLqjaZm2j9uzbPiZS71KHmd3/2/sxzQmTba8w6FzarR 85nuMG/vG9KIcpVnNbock1KAD5ywHYc3zdc3d9k37vbx4R2y7vAF24ghYMc8mHobs0OI ut1B5MZ2fybLsbNYW3ve7YRNr7Xlh5uE83cJmN5Hex/UwbpR760GSzoT+n2ztRK3u+Fw +soOZUpMCoiPLiFfnmBS1V0tETGlFc9+FvIkUgQdxH3GTqXDgKfUyne0nGeju+dvS2IE 5meA== X-Gm-Message-State: APt69E3gd/7G1EwBGu5ea430V7Lg107nlBl5FJ1lqkjgaHNpwQyiQ9GG gpFqfjLHRG5WKkHcaD8zhoEVSQ== X-Received: by 2002:a1c:d287:: with SMTP id j129-v6mr11476540wmg.106.1529423510975; Tue, 19 Jun 2018 08:51:50 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id l142-v6sm628365wmd.16.2018.06.19.08.51.46 (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 ACE7D3E0E68; 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:15 +0100 Message-Id: <20180619154435.18898-37-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::236 Subject: [Qemu-devel] [PULL 36/56] tests/tcg: enable building for m68k 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 EXTRA_RUNS for mmap tests -- 2.17.1 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 65e3dee741..59dd8e314d 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -72,6 +72,7 @@ docker-image-debian-sid: NOCACHE=1 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-travis: NOUSER=1 # Specialist build images, sometimes very limited tools diff --git a/tests/docker/dockerfiles/debian-m68k-cross.docker b/tests/docker/dockerfiles/debian-m68k-cross.docker new file mode 100644 index 0000000000..21ba3b0132 --- /dev/null +++ b/tests/docker/dockerfiles/debian-m68k-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-m68k-linux-gnu \ + libc6-dev-m68k-cross diff --git a/tests/tcg/m68k/Makefile.include b/tests/tcg/m68k/Makefile.include new file mode 100644 index 0000000000..cd7c6bf50d --- /dev/null +++ b/tests/tcg/m68k/Makefile.include @@ -0,0 +1,2 @@ +DOCKER_IMAGE=debian-m68k-cross +DOCKER_CROSS_COMPILER=m68k-linux-gnu-gcc diff --git a/tests/tcg/m68k/Makefile.target b/tests/tcg/m68k/Makefile.target new file mode 100644 index 0000000000..62f109eef4 --- /dev/null +++ b/tests/tcg/m68k/Makefile.target @@ -0,0 +1,7 @@ +# -*- Mode: makefile -*- +# +# m68k specific tweaks - specifically masking out broken tests +# + +# On m68k Linux supports 4k and 8k pages (but 8k is currently broken) +EXTRA_RUNS+=run-test-mmap-4096 # run-test-mmap-8192