From nobody Wed Oct 29 09:14:46 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1524588153205994.6645119421153; Tue, 24 Apr 2018 09:42:33 -0700 (PDT) Received: from localhost ([::1]:59647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB11U-0002HT-FX for importer@patchew.org; Tue, 24 Apr 2018 12:42:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB06M-0005SA-1N for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:43:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fB06G-0000kQ-Dg for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:43:30 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:52938) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fB06G-0000jl-71 for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:43:24 -0400 Received: by mail-wm0-x244.google.com with SMTP id w195so1934458wmw.2 for ; Tue, 24 Apr 2018 08:43:24 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id u196sm8652678wmf.30.2018.04.24.08.43.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 08:43:15 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 921D63E15FD; Tue, 24 Apr 2018 16:24:08 +0100 (BST) 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=eYRUQ6gKCetmKgWP20Psl1bsqRZ3OZvvTIfejIfh0kk=; b=RzQBReBQ+Nk1xHh/XlkONrbbLx7Ef55XLXvMLgsicLo0mJalKZYettAx6xV54sqT5s SVXgYAwgU0vK3rElEIqzYvYcR58MZ58GkoyfXUKpHK+2rBh+8JaIQkWU54XiDmXlNcVS 1KoyFd1nETUfbCT7xc59IFCOVYM/UeET7vL4s= 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=eYRUQ6gKCetmKgWP20Psl1bsqRZ3OZvvTIfejIfh0kk=; b=svX2/YJFDWIloijs+WBuWMy13TO22DNfqbdVXt1/WHBnJUBJ9rObkXJUESaeDXLdQq LKj07hqPv3RSoIN39AjOqS52bqEs0BFimRKR6LO1yl+OILph/w+Vz1ulqrzCuZaYojs8 g67EgfStAZO5oCuq/SDDP6cP015iUwAB0zNOBzvgeDGHANtRkD7jbVGnYiNgx+YNsJG+ Ot7yfWZCwy1A90aAbZeTB1EPE27K/qhjWw3YeXitlot7WI2cw/eKr973uXs2R/BhoFrt dUYTCbWSC9PiL+fu7GFDqJ8kG1vAmUwwuu23KB3E6UYjKXGyayFcjrQsfG8lg39l8xYM 9DaQ== X-Gm-Message-State: ALQs6tCDN85sD6ef6/pxBjZxFK2oVD7APWpvX4T12Xs1rvZ9XCf3mY9P 0MXJiTUbdO1B0xK4R2r1M7ES9A== X-Google-Smtp-Source: AB8JxZqusd1WjcDNWJGTk9SYa5wYUqEjgTGUnp/84rff33UXzZFnm2CI/dpv45ImPHyPGlCBqGnj3Q== X-Received: by 10.28.71.77 with SMTP id u74mr13357232wma.149.1524584603035; Tue, 24 Apr 2018 08:43:23 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org, cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Tue, 24 Apr 2018 16:23:59 +0100 Message-Id: <20180424152405.10304-41-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180424152405.10304-1-alex.bennee@linaro.org> References: <20180424152405.10304-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] [PATCH v3 40/46] tests/tcg: enable building for sh4 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: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 As before, using Debian SID compilers. While the compiler can be coerced into generating big-endian code it seems the linker can't deal with it so we only enable the building for little endian SH4. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- tests/docker/Makefile.include | 1 + tests/docker/dockerfiles/debian-sh4-cross.docker | 12 ++++++++++++ tests/tcg/sh4/Makefile.include | 4 ++++ 3 files changed, 17 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-sh4-cross.docker create mode 100644 tests/tcg/sh4/Makefile.include diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 15c52127c7..c08f32ca58 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -65,6 +65,7 @@ docker-image-debian-win64-cross: docker-image-debian8-mxe 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-travis: NOUSER=3D1 =20 # Expand all the pre-requistes for each docker image and test combination diff --git a/tests/docker/dockerfiles/debian-sh4-cross.docker b/tests/docke= r/dockerfiles/debian-sh4-cross.docker new file mode 100644 index 0000000000..88a2423094 --- /dev/null +++ b/tests/docker/dockerfiles/debian-sh4-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=3Dnoninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + gcc-sh4-linux-gnu \ + libc6-dev-sh4-cross diff --git a/tests/tcg/sh4/Makefile.include b/tests/tcg/sh4/Makefile.include new file mode 100644 index 0000000000..ad21594d9d --- /dev/null +++ b/tests/tcg/sh4/Makefile.include @@ -0,0 +1,4 @@ +ifneq ($(TARGET_NAME), sh4eb) +DOCKER_IMAGE=3Ddebian-sh4-cross +DOCKER_CROSS_COMPILER=3Dsh4-linux-gnu-gcc +endif --=20 2.17.0