From patchwork Thu Jun 21 06:25:45 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: 139487 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1698500lji; Thu, 21 Jun 2018 00:01:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKvixdbVyMsfw4CiuW1iwaA1hwVklyyJg0J22zmoZrgA3uvHCfdXIJV1lKLfsvtUAsem3sI X-Received: by 2002:a0c:84e6:: with SMTP id m93-v6mr21228424qva.227.1529564471929; Thu, 21 Jun 2018 00:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529564471; cv=none; d=google.com; s=arc-20160816; b=XLXRr50JKLfZJUdNFVYtXCWA4FNVvig3J7yW1g02rf0gUPVjfNvT74H4358E+JzvTf Jj4fDSzXE6rsBcRxNxNGo0UvMQ/9YabJOY1tl78HuvCWF3nuuJTzzgENUYQqac+BOP9G gn4nq1VsfZklLODEC+lM5pi3kzbPiCyMQGpcNsaG5/ghMqc6yGevYa4auyy1DZMRj057 vZbdhD5O2DpGRquC1c5n91RC8LU005aDNq/1niqtECchBHycYDOeh8lURPVlM2qkHMAP cWHvYzpcygLptJ4RGvW9GCwP0tbhka5KgzQMwAtkLUuN/RXk64Zit/Lkn7oi1xFac+7g Dyow== 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=PRI4CjRT+4L9i3sWRkc9wTiuXr6/9GI922JzF5o05Fk=; b=GpdgVahTVodklpjEANylSL/gcA7pBrxiBhYVKnq2aCw4SSWj+d1MknwRpfSk9JKR4q LEdQ9zJgz73eS7oKP36cOc/o6S5mja0HUSq9jLSXVmI+kD/g8Pc0K0XoeuvQ95tKhZy1 qfQ4dSgxUdAXvDE6cSvy7IVZPmUj4hJhmEAe1nQhN3ORLNiiErTXI24zJvS4qOqa/OBa HtyV49+v5aNFFVbqVlWXCnPGb7j6KJWSvDByleDZoq25cTiFWW73ZISTNrUF55OzFN0b eBHavbzYGoluTBSGxJsr3x78SqlW9M10pKidFOyebq325Lt/RpUa97xCUxuAMRsRbNq5 1JmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ORja84l2; 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 o40-v6si4296614qvc.68.2018.06.21.00.01.11 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 21 Jun 2018 00:01:11 -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=ORja84l2; 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]:53433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtah-0003PW-AV for patch@linaro.org; Thu, 21 Jun 2018 03:01:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtIA-0004y5-Dv for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:42:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVtI9-0003O5-Cx for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:42:02 -0400 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:41805) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVtI9-0003N4-6n for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:42:01 -0400 Received: by mail-wr0-x22c.google.com with SMTP id h10-v6so1851433wrq.8 for ; Wed, 20 Jun 2018 23:42:01 -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=PRI4CjRT+4L9i3sWRkc9wTiuXr6/9GI922JzF5o05Fk=; b=ORja84l2Fla3/yi4jnNKtBn2wKvnDUdmpHV2tckbKbgFwZmcw4ULw+jjkexSpbcaHs Sx0E9xU8PjF29W1/gZZc8dfboPC7POHmyuw5dinMjAERHb1+HoFIVcJ2w7wEuJIpA8EV TUDDK7lgVDTRCmwDBwfrLp0jgtk59P5eZ2SOQ= 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=PRI4CjRT+4L9i3sWRkc9wTiuXr6/9GI922JzF5o05Fk=; b=BARGLw/NqURcRbYjWEOLfkgCfVMV1wJz4RjBgyWH1NIzF8agjZ5LQ4Ocw6FXPQ1Ol5 hTZ7rxI1SmSlGAP7B7u1JPPOjWfn8IfvwdQdFsKeYTy1vBcKqNGLPYSLY9Sq4u7g783S tNuQ0Zh7MIFoWb0oEE5mW5Ce/vCCaLWzp00enR15qtcvHdVEjNZthcoXz899sOxTV0N/ j3QbjshaOQbNih3SgeSG1KAYsYCf5eb0W4Usog/e1TmMf+kEXjYuibgiKDgPHI2xse1b mCsFEvD6hscGX93PSqjXjkgZSHVT1jDXoY+uOVD8YUYsddOj/9JdNEaoMdfdE5N9X2Lg Sdpg== X-Gm-Message-State: APt69E1x80qSjhgVK+rrmXt/8NjUCu82JHjRF13JlzWk1vA6IFp6nnEO as6FGSzStRpwyhaGkszZVFagnA== X-Received: by 2002:adf:be09:: with SMTP id n9-v6mr21512197wrh.267.1529563320109; Wed, 20 Jun 2018 23:42:00 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id n56-v6sm10990475wrn.72.2018.06.20.23.41.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:41:56 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 7C91D3E134C; 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:45 +0100 Message-Id: <20180621062605.941-38-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::22c Subject: [Qemu-devel] [PULL v2 37/57] 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é -- 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