From patchwork Fri Jun 21 12:24:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Bakke X-Patchwork-Id: 14362 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9FD591712E; Fri, 21 Jun 2019 13:25:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 5207D17120 for ; Fri, 21 Jun 2019 13:25:48 +0100 (BST) Received: from localhost ([::1]:60940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heIbw-0004kJ-L2 for patchwork@mira.cbaines.net; Fri, 21 Jun 2019 08:25:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34642) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heIbe-0004fK-LJ for guix-patches@gnu.org; Fri, 21 Jun 2019 08:25:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heIbV-0002DT-6f for guix-patches@gnu.org; Fri, 21 Jun 2019 08:25:21 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1heIbG-00026L-H6 for guix-patches@gnu.org; Fri, 21 Jun 2019 08:25:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1heIbG-0006q0-B3 for guix-patches@gnu.org; Fri, 21 Jun 2019 08:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36322] [PATCH 0/4] [core-updates] Fix cross-compiling bootstrap tarballs Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Jun 2019 12:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36322 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36322@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156111986826233 (code B ref -1); Fri, 21 Jun 2019 12:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jun 2019 12:24:28 +0000 Received: from localhost ([127.0.0.1]:49854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heIah-0006p2-UP for submit@debbugs.gnu.org; Fri, 21 Jun 2019 08:24:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:41955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heIaf-0006ot-7t for submit@debbugs.gnu.org; Fri, 21 Jun 2019 08:24:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34428) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heIab-00040g-Sy for guix-patches@gnu.org; Fri, 21 Jun 2019 08:24:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heIaX-00017l-Cu for guix-patches@gnu.org; Fri, 21 Jun 2019 08:24:20 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:42123) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1heIaX-00014d-5a for guix-patches@gnu.org; Fri, 21 Jun 2019 08:24:17 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 73AB144C for ; Fri, 21 Jun 2019 08:24:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 21 Jun 2019 08:24:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=xqnkW/BrB/3qyELpU0y/dYg5qS wvFTqgrywmlCZepZg=; b=au7u2RJ0PIUkJz1sJAcZTZJ++d8eyNf4H3pGZppXsi MBhcYWa0C89y8z4wihUFmOYiqpmP5WbyJ91MBQWmGSQIJeIv2f0A34VtK9I1DNa+ b3A39p9TgVfbhDTeIs1udN710ja3WFuhphf3RAfe2jHIhgWNKUSkPpguW/0gbnNC kAhSAEuSrzUJ4DGs4TShdOnsv16uqGhKdjyKS5DwFpVSaPCXLwjDdwXOJrY0KdAE ooL20XyQHBo6vxvHgO3KYwtl0S7oJVmRaREiS46q8jHwvFnkiQbh5fDjPKakpxI6 jvQlP+xMi4FBkTOjA01Ak0Cq/Qcz2KPuzz7hwL/h6rpg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=xqnkW/BrB/3qyELpU 0y/dYg5qSwvFTqgrywmlCZepZg=; b=K4Ut/2lzRy3lvFTWI+KWqQEcm/JjugEQx NGgKtzCKwEUbF2ESbwFW+vJw7EMoAydbqtWJahMSEj1zh14hBttuFwlyRNUYhND0 2i+m+yC10dpo/leKP3a8mH+sY2deVQz4S9M8dwD2oecnHr+JFPR8FCrNsbCd0JAx KW9w4uoXflrpHfRUUztASLOZHH0S9+v+KXZ3ppkJIIJJdBtAfmBPMKN/yVcpSBSF 2T1BQGgEi45aTTVf/M6KkKqcGCBE/GUSyB7xyIEAxr69v6gcisQ7Fc1QkwbgvIHg mVjj3xYPtq8gpQfIrqTb3pVmtPeryj+34sDpYj8AmSS0OCjOs+m0w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrtdeigdehhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgr ihhlrdgtohhmqeenucfkphepiedvrdduiedrvddviedrudegtdenucfrrghrrghmpehmrg hilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghilhdrtghomhenucevlhhushhtvghr ufhiiigvpedt X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 7F0F6380084 for ; Fri, 21 Jun 2019 08:24:13 -0400 (EDT) From: Marius Bakke Date: Fri, 21 Jun 2019 14:24:11 +0200 Message-Id: <20190621122411.17847-1-mbakke@fastmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches With these patches, we can again cross-compile the bootstrap tarballs on core-updates. As of commit bd0dc2df04a1550f41d3d5c7cc2c26ad12468b36, here are my results for armhf and Hurd(!): $ ./pre-inst-env guix build --target=arm-linux-gnueabihf bootstrap-tarballs /gnu/store/q245c0s6cc55ziamfxpv43lwbnxaw0n6-bootstrap-tarballs-0 $ guix hash -rx $(!!) 01lksw8qw973bc2lllz97pxm67x84rz8crbdiqwnlbyjq0j3mvaq $ ./pre-inst-env guix build --target=i586-pc-gnu bootstrap-tarballs /gnu/store/4i3zxmzcrpg2h8inwgfd24sdsgan9jw7-bootstrap-tarballs-0 $ guix hash -rx $(!!) 17yjlqvwlv8v28qm5v888kshx30djylml9fgpwkcqvx3idzw7i1v Now, I haven't actually tried bootstrapping a system from these yet. Do we have automated tests for that? Marius Bakke (4): gnu: make-bootstrap: Remove obsolete header file. gnu: make-bootstrap: Restore cross-compilation workarounds. gnu: make-bootstrap: Adjust for GCC 7. gnu: bootstrap-tarballs: Don't include the native mes when cross-compiling. gnu/packages/make-bootstrap.scm | 64 ++++++++++++++++++++++++--------- guix/build/make-bootstrap.scm | 1 - 2 files changed, 47 insertions(+), 18 deletions(-)