From patchwork Thu Jun 21 06:25:47 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: 932561 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="KvPLVjnj"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41BBs5461lz9ry1 for ; Thu, 21 Jun 2018 16:40:09 +1000 (AEST) Received: from localhost ([::1]:53307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtGJ-0002dU-6j for incoming@patchwork.ozlabs.org; Thu, 21 Jun 2018 02:40:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVt8T-0005ij-1y for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:32:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVt8R-0003mr-Um for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:32:01 -0400 Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]:45632) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVt8R-0003ls-O0 for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:31:59 -0400 Received: by mail-wr0-x232.google.com with SMTP id o12-v6so1810005wrm.12 for ; Wed, 20 Jun 2018 23:31:59 -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=LKW8k/yQiFoN1Ou6QN+smpg8Dn39mJQOZOyyCuOkCwU=; b=KvPLVjnjGmD2QKGURNVl+/kWCSL4EzwbRftbpZdJI6HBzsbl0dxPpd7zovf2G+HEEw 6senn7iWMeRFR+NOjc2f6rov/2e9w8vEtiSkkPeTrxwT7Sijz3mMh4vMW2BArFI6hpaF eDsuZAxCLLJZadr36KxPezMacWQhjQhz1qDCQ= 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=LKW8k/yQiFoN1Ou6QN+smpg8Dn39mJQOZOyyCuOkCwU=; b=T77uo7qDFDFn4UfVPjEzPSN0okzm3Y0fm0QC2Txv/4Ke7BgYJPtA3YhIbrsJ9puubo QreBRtGULAFVGW0P5QruDiex3jGsrGczlqeLBfv7fg2i1Qf4tA6VBPyNoBAUIUA1+/qi 8b9HUYlLOFtr36iKsZj0Iz88tdptD5fgDvu7mDSZI9l48UrI5+4sjV5lBrOtzgdhfJUm 7V58UrtEbrED5DFmQCXSGKg9XQUEEcL53Tg3PPrHFJM+42/Df66HfVA4hHhvFi9Q1MA4 ksEzEWFSIQBqyH5joQc93k3VV2+acBmQVt/GJH5LJBR4N3FFVTvcGbTkigunn6KQTvkQ +G5A== X-Gm-Message-State: APt69E1whAeX2XSkur7Uoh0KlCRjcJcbs60pAzNzzGnzgoiTPLZJ6LY3 WAKBo1Aw2NVfA0Fg/2QEg+1qyrrZYKU= X-Google-Smtp-Source: ADUXVKLJQny4pgtURkHyBoy6F2bXyL8zF0r6YU7qJmpgsOiyjqEkh5w5Z4WxPT1J1q9qS/E/59+jrg== X-Received: by 2002:adf:8ecb:: with SMTP id q69-v6mr20633179wrb.261.1529562718657; Wed, 20 Jun 2018 23:31:58 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id j18-v6sm2791461wmh.15.2018.06.20.23.31.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:31:55 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id A85AF3E14D4; 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:47 +0100 Message-Id: <20180621062605.941-40-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::232 Subject: [Qemu-devel] [PULL v2 39/57] 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+incoming=patchwork.ozlabs.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é 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