From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#36322] [PATCH 0/4] [core-updates] Fix cross-compiling bootstrap tarballs Resent-Message-ID: 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 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> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36322@debbugs.gnu.org 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(-) -- 2.22.0