From nobody Wed Feb 11 03:43:38 2026 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 (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1529563328523370.4813783322762; Wed, 20 Jun 2018 23:42:08 -0700 (PDT) Received: from localhost ([::1]:53318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtIF-0004We-OG for importer@patchew.org; Thu, 21 Jun 2018 02:42:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVt2z-00012K-Kh for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:26:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVt2y-0000hE-HR for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:26:21 -0400 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:45598) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVt2y-0000gS-BG for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:26:20 -0400 Received: by mail-wr0-x22c.google.com with SMTP id o12-v6so1795599wrm.12 for ; Wed, 20 Jun 2018 23:26:20 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id h7-v6sm2819263wmb.48.2018.06.20.23.26.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:26:16 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 92E5E3E14BA; Thu, 21 Jun 2018 07:26: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=UHtFRujYXqyUiVyBwrB/TBY25Lz1r/mTBUldsltgLc0=; b=gasBFiFVILNbdvgoC6efiC6z2HiK6/uSVnDc7hJ/rlVUR6nb76C7Aj/nc1HnfBl34b VNP3xXqHPCRMkliWHvSs16nbAGJz1f6DMbbzPIcbgUX3yguQCqWXu+w5SPqFiOwimvz3 NTCNWzj4mOhC3uOhMpq2+NRrjalwqC/7v4/hg= 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=UHtFRujYXqyUiVyBwrB/TBY25Lz1r/mTBUldsltgLc0=; b=oKivQK0QLeF0dn1ZwsIw3CIlMszHnsIk7vIf0TUUl8+4uC9dwPD3tBxIEzZcQiOeSC YYa1ltmfa3w0CgFe9nQ6PNWqDmU/YkBHqt9G2NiHe/QuhACjZ+VUhGiecMPBgRODDsnz 6zmJfzLztpilOQ5OABrWGolHSSBiYfTVZCdukn2ngJ3N3XlkEC4l2p+oGQQltQhd76PS A7DleveNH+d5wDoDvQAijMJWFy+iZe8iW9iVNtor+sfieNkVMlt1EKKNqHPk6nVVWJ+q 4HlzVXv3rhkUpPaEyzUU4FPjTLsaRt+UnqyDrT8/6/SPa/6pfCI1yvh1/IMlYD93GT/y DfXQ== X-Gm-Message-State: APt69E2K9GsbCFPEi2zjf3EzD+H7LWJuHsOLwlzNGFxHLkun93psO3Fm BaOf8J0s/XL7EuBD1oOU7l51iQ== X-Google-Smtp-Source: ADUXVKKneiv5gnytB4ZHcy+87Io5sbSxcQIySt2In6p7CvsSUDrTlkJ3K/4gglQNkxM5D8jm0aCHaw== X-Received: by 2002:a5d:4204:: with SMTP id n4-v6mr18979650wrq.55.1529562379257; Wed, 20 Jun 2018 23:26:19 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 21 Jun 2018 07:25:46 +0100 Message-Id: <20180621062605.941-39-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 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:c0c::22c Subject: [Qemu-devel] [PULL v2 38/57] 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: agraf@suse.de, =?UTF-8?q?Alex=20Benn=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+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 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 59dd8e314d..a2dd307a8e 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -73,6 +73,7 @@ docker-image-debian-sid: NOCACHE=3D1 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 # Specialist build images, sometimes very limited tools 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 diff --git a/tests/tcg/sh4/Makefile.target b/tests/tcg/sh4/Makefile.target new file mode 100644 index 0000000000..9d18d44612 --- /dev/null +++ b/tests/tcg/sh4/Makefile.target @@ -0,0 +1,7 @@ +# -*- Mode: makefile -*- +# +# SuperH specific tweaks +# + +# On sh Linux supports 4k, 8k, 16k and 64k pages (but only 4k currently wo= rks) +EXTRA_RUNS+=3Drun-test-mmap-4096 # run-test-mmap-8192 run-test-mmap-16384 = run-test-mmap-65536 --=20 2.17.1