From nobody Thu Nov 6 19:42:28 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.zoho.com; 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; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1488207762815359.8618699544486; Mon, 27 Feb 2017 07:02:42 -0800 (PST) Received: from localhost ([::1]:53439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciMoz-00035g-GN for importer@patchew.org; Mon, 27 Feb 2017 10:02:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciMJw-000156-3h for qemu-devel@nongnu.org; Mon, 27 Feb 2017 09:30:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciMJs-0007Zi-5Q for qemu-devel@nongnu.org; Mon, 27 Feb 2017 09:30:36 -0500 Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]:35457) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciMJr-0007Yd-Uw for qemu-devel@nongnu.org; Mon, 27 Feb 2017 09:30:32 -0500 Received: by mail-wr0-x232.google.com with SMTP id g10so53383021wrg.2 for ; Mon, 27 Feb 2017 06:30:31 -0800 (PST) Received: from zen.linaro.local (host109-151-54-100.range109-151.btcentralplus.com. [109.151.54.100]) by smtp.gmail.com with ESMTPSA id 63sm14530930wmg.22.2017.02.27.06.30.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Feb 2017 06:30:29 -0800 (PST) Received: from zen.home (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id C0EFE3E037F; Mon, 27 Feb 2017 14:30:28 +0000 (GMT) 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=vRO5FYXbrYsL/YZalT5o03UUAsmQuH02eaGcxNCQ6aM=; b=AK8PK7t+4Q5KsAJLZz48RjeIY2NhDz8FEYFJ45vArvAqmdzbHG/86Mod6aRhJyFezD lFREczayxpt7rjz9bMkbsYUVdpxaqLwxluhU9XPosykyfbXeVQocZa6xSkLqqJUJCoHf +fB0y7PK+uK4Ef5A7lu+Nz+GYRvUOSvM8cQ0s= 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=vRO5FYXbrYsL/YZalT5o03UUAsmQuH02eaGcxNCQ6aM=; b=d6G2EGXqUygkYYNImyXWHYtz5RQY3getwIfJd39lBMceVaoQPjIhgS/BndJTaZWzCj hVKPr8RFT8SFwLuNiGFPsqnEC2fN/4JxRzv0epTkcmEY5tHnxGyZrtlrAYgXvclZA3Pn zqzN5vZeYVqkSncbNOr85cMxMeJM1CNttBytD9ewA6HAs9950JqX+VQU9UDnrApAY/g/ LCqo6o0WG8AISZgK+8oLUf9/5AYTxbTn0rseHZic653OxkffGzG4cD9CZvbnuZpsTIf7 JBZwyCpwk1Tu2aZfxkYCXdcK0lKI5YH1b0jSzA2pINJWIFY+GUauQTlEsXVTp26t7rdH OKow== X-Gm-Message-State: AMke39k9HFstHTrdZrDAM250vfLSmmXtqMYe88+wMTSOy80/+Feh2fHHyYnTPQ6tWDlOfm3G X-Received: by 10.223.136.253 with SMTP id g58mr8393171wrg.10.1488205830299; Mon, 27 Feb 2017 06:30:30 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: famz@redhat.com Date: Mon, 27 Feb 2017 14:30:27 +0000 Message-Id: <20170227143028.16428-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170227143028.16428-1-alex.bennee@linaro.org> References: <20170227143028.16428-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::232 Subject: [Qemu-devel] [PATCH v1 1/2] new: dockerfiles/debian-s390-cross 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: Christian Borntraeger , =?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: RSF_0 Z_629925259 SPT_0 This adds an s390 cross build target to our library of docker setups. There is an issue with the xfslibs-dev:s390x package having a clash so we do a || apt-get -f install to fixup the rest of the dependencies. This doesn't build on the debian.docker file as we are using the multilib compiler which is only available in stretch (the current testing repo). Signed-off-by: Alex Benn=C3=A9e CC: Christian Borntraeger Tested-by: Philippe Mathieu-Daud=C3=A9 --- tests/docker/dockerfiles/debian-s390x-cross.docker | 22 ++++++++++++++++++= ++++ 1 file changed, 22 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-s390x-cross.docker diff --git a/tests/docker/dockerfiles/debian-s390x-cross.docker b/tests/doc= ker/dockerfiles/debian-s390x-cross.docker new file mode 100644 index 0000000000..bbb21ed088 --- /dev/null +++ b/tests/docker/dockerfiles/debian-s390x-cross.docker @@ -0,0 +1,22 @@ +# +# Docker s390 cross-compiler target +# +# This docker target is based on stretch (testing) as the stable build +# doesn't have the cross compiler available. +# +FROM debian:testing-slim + +# Duplicate deb line as deb-src +RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /etc/apt/sources.l= ist + +# Add the s390x architecture +RUN dpkg --add-architecture s390x + +# Grab the updated list of packages +RUN apt update +RUN apt dist-upgrade -yy +RUN apt-get build-dep -yy -a s390x qemu || apt-get -f install +RUN apt install -yy gcc-multilib-s390x-linux-gnu binutils-multiarch + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=3Ds390x-linux-gnu- --=20 2.11.0