From nobody Thu Nov 6 18:09:38 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 Reviewed-by: Fam Zheng 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 From nobody Thu Nov 6 18:09:38 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 1488206838763936.539788132087; Mon, 27 Feb 2017 06:47:18 -0800 (PST) Received: from localhost ([::1]:53346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciMa5-0006R4-KL for importer@patchew.org; Mon, 27 Feb 2017 09:47:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciMJw-000158-3v for qemu-devel@nongnu.org; Mon, 27 Feb 2017 09:30:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciMJt-0007au-JG 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]:34712) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciMJt-0007aJ-Dr for qemu-devel@nongnu.org; Mon, 27 Feb 2017 09:30:33 -0500 Received: by mail-wr0-x232.google.com with SMTP id l37so9382498wrc.1 for ; Mon, 27 Feb 2017 06:30:33 -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 y65sm14508060wmb.5.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 D1BF33E04B2; 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=jAjT88M+/5WOkdYatcYhhq5lWv2YonCURtcrrUZ+N34=; b=M4LuZfHCi6fxMnI9vf0nnZ9wp1875A31BX0EfIke3C7T9W0n9Kpn+O5ujI8ZHipSva vPXMgFNCTMuX+3AJOs8Zb3HYei8Qk0S+Cb6d8XA1dc7cz8ZgnASkjdUzXhaAQlIUIUfy TZODWqV0PypTTy5eziS+k4lQxOmzNw7U3qTVc= 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=jAjT88M+/5WOkdYatcYhhq5lWv2YonCURtcrrUZ+N34=; b=Zr2ObB2qNnNd5pGhhtDZ4CUAsD23V5u6sj2TnCxLy+Wpkc7BU2pn7MEh1J8jPm9857 +IxHMcCqfMJxLLUp/R3mIaGfSIen20qyRQ/kpZg8YAM4vNqABVvE7Zz+/5GddXIefTqp 1grlZFDm69K7ngdXNGgSm0cW9DuFLWiPZNRz9ZLyzNu+rzqghC+4ciYFDP7V6eXyIKhG YEsaPSwCueGT2/Two7GYI+Vn9eXahDfMoaZ6B1i/Qo8OSOXh7RiQLx6VD6wwZAJg+iBt udF0IbLNDfktPnbILEm3z20icogrb8v1OrwpgiygdW/kM90gqUiQJV1vv0T0Pgy7xa2J 8PIQ== X-Gm-Message-State: AMke39n3ccBb9SdmiupNIqnEZdsFET1yBfl89Za3yA+2Q4PduK4sw0UhZnrY9IxnKgQqRDu9 X-Received: by 10.223.135.237 with SMTP id c42mr6037826wrc.139.1488205832445; Mon, 27 Feb 2017 06:30:32 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: famz@redhat.com Date: Mon, 27 Feb 2017 14:30:28 +0000 Message-Id: <20170227143028.16428-3-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 2/2] .shippable: add s390x-cross target 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: RSF_0 Z_629925259 SPT_0 Use the new debian-s390x-cross.docker target to cross compile for s390. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Fam Zheng --- .shippable.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.shippable.yml b/.shippable.yml index 1a1fd7a91d..653bd750fe 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -5,6 +5,8 @@ env: TARGET_LIST=3Darm-softmmu,arm-linux-user - IMAGE=3Ddebian-arm64-cross TARGET_LIST=3Daarch64-softmmu,aarch64-linux-user + - IMAGE=3Ddebian-s390x-cross + TARGET_LIST=3Ds390x-softmmu,s390x-linux-user build: pre_ci: - make docker-image-${IMAGE} --=20 2.11.0