From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6NNaBy2W2F44ZwAA0tVLHw (envelope-from ) for ; Thu, 04 Jun 2020 06:35:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aEsrAy2W2F7wSgAAbx9fmQ (envelope-from ) for ; Thu, 04 Jun 2020 06:35:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7C8C89403E9 for ; Thu, 4 Jun 2020 06:35:24 +0000 (UTC) Received: from localhost ([::1]:41326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgjTH-0007tK-GS for larch@yhetil.org; Thu, 04 Jun 2020 02:35:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgjT4-0007s9-3d for guix-devel@gnu.org; Thu, 04 Jun 2020 02:35:10 -0400 Received: from flashner.co.il ([178.62.234.194]:54898) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgjT2-0007JX-M6; Thu, 04 Jun 2020 02:35:09 -0400 Received: from localhost (unknown [188.120.128.90]) by flashner.co.il (Postfix) with ESMTPSA id 8EF8E40088; Thu, 4 Jun 2020 06:34:34 +0000 (UTC) Date: Thu, 4 Jun 2020 09:34:02 +0300 From: Efraim Flashner To: Chris Marusich Subject: Re: Request to verify powerpc64-linux bootstrap binaries Message-ID: <20200604063402.GW7397@E5400> References: <87o8q2uqdw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="j+D14l8Ki1YJdzYp" Content-Disposition: inline In-Reply-To: <87o8q2uqdw.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/04 02:34:35 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, =?utf-8?Q?L=C3=A9o?= Le Bouter Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: JxUB61Gy98pk --j+D14l8Ki1YJdzYp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 01, 2020 at 07:56:43PM -0700, Chris Marusich wrote: > Hi everyone! >=20 > Thanks to L=C3=A9o's help, as of commit > 8159ce1970d91567468cf1bacac313099a009d2a, the master branch now contains > all the changes necessary to cross-compile powerpc64-linux bootstrap > binaries. I've done this without substitutes by running the following > commands on an x86_64-liinux machine. >=20 > First, to ensure you're using commit > 8159ce1970d91567468cf1bacac313099a009d2a, put something like this in > your ~/.config/guix/channels.scm file: >=20 > (list (channel > (name 'guix) > (url "https://git.savannah.gnu.org/git/guix.git") > (commit > "8159ce1970d91567468cf1bacac313099a009d2a"))) >=20 > Then, run these commands: >=20 > # Confirm you're using the right guix. > guix describe > # Clear as many GC roots as possible, and do a GC run. > guix gc --delete-generations > # Build the bootstrap tarballs without substitutes. > guix build --no-substitutes --target=3Dpowerpc64-linux-gnu bootstrap-tarb= alls >=20 > After a few hours, you should see the following message: >=20 > successfully built /gnu/store/icnj0m294b94pc3rhpmkz6zc41w8vyqj-bootstrap-= tarballs-0.drv > /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0 >=20 > On my end, the SHA-512 hashes of the binaries are: >=20 > --8<---------------cut here---------------start------------->8--- > 426e5f1d0d7023a90e73286ccda1fa55a359301e998a19dfe00f5b4f5d387e69d7a247f47= 056f41e609393893b0238a908698fbd28d73b183b32a5dadcfe9fbb binutils-static-st= ripped-2.34-powerpc64-linux-gnu.tar.xz > 8aca7f332a1ba8e3c2225c161a7545b0a04ddd690d164dc97afee9c9ea067b0c49bc155e9= f06d285c22e24cdd16d91e59730af5f1dd9efcda13a26bede5948a2 gcc-stripped-5.5.0= -powerpc64-linux-gnu.tar.xz > a717a420e765accf12cfc1e18ebed76e9359ee58e8781601ca9066ced59196f88a528ddc5= 54c0f57c77e2c01908cafe596f3c8d1df135beb4cae4073b9a999d2 glibc-stripped-2.3= 1-powerpc64-linux-gnu.tar.xz > e2e70c7fcc477fced12eb76704212f9bda0e1ec2cf40137ff6a32a85ca75fec10ec20076b= 73698438e48c3ce45d24542aa309bb99274f4c3d4f9d49ec9d1dd7b guile-static-strip= ped-2.0.14-powerpc64-linux-gnu.tar.xz > 04d9203467ecb48e9f1fca5130199c292212d4d119153778d398899aeef517fc8bce5d25f= 3505063f38e433fa09e3c723a6da5dee4943dbc9d3728279356879b static-binaries-0-= powerpc64-linux-gnu.tar.xz > --8<---------------cut here---------------end--------------->8--- >=20 > Hopefully, you'll get identical results! You don't have to run "guix > gc" if you don't want to, but doing so will increase the likelihood of > catching nondeterminism issues propagated from dependencies (which seem > unlikely, but you never know). It took 3 or 4 for me hours on a modern > 16-core machine. >=20 > Once we verify the binaries, we can actually start using them to build > stuff! L=C3=A9o has already gotten an optimistic start on that work, and > many things are building successfully. Exciting!! After 3(?) days and several reboots I built the bootstrap binaries from an aarch64-linux machine using the commit. (ins)efraim@pine64:~/workspace/guix$ git log -1 commit 8159ce1970d91567468cf1bacac313099a009d2a (HEAD -> master) Author: L=C3=A9o Le Bouter Date: Tue May 21 05:00:30 2019 +0000 gnu: bootstrap: Add powerpc64-linux dynamic linker. This makes it possible to build bootstrap binaries for powerpc64-linux: guix build --target=3Dpowerpc64-linux-gnu bootstrap-tarballs * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add an entry for powerpc64-linux. Signed-off-by: Chris Marusich (ins)efraim@pine64:~/workspace/guix$ sha512sum /gnu/store/38zyf3y0fvi1l0bbk= acwaapw5m1jmmi6-bootstrap-tarballs-0/* 426e5f1d0d7023a90e73286ccda1fa55a359301e998a19dfe00f5b4f5d387e69d7a247f4705= 6f41e609393893b0238a908698fbd28d73b183b32a5dadcfe9fbb /gnu/store/38zyf3y0f= vi1l0bbkacwaapw5m1jmmi6-bootstrap-tarballs-0/binutils-static-stripped-2.34-= powerpc64-linux-gnu.tar.xz 74ac175b22f9964cefbcc94c8589e14fac1ae2c98879f84d40faa352aa9dd108e7ba631e6b3= 5cceae263507d0cc956f31c49af686c1e60850b97c51878bf533d /gnu/store/38zyf3y0f= vi1l0bbkacwaapw5m1jmmi6-bootstrap-tarballs-0/gcc-stripped-5.5.0-powerpc64-l= inux-gnu.tar.xz 0693dc1a0c85ab23ec2f8bbb89a8819c384d50a8830297d0900d6caa94f75c67bbb6f300d18= 2f855e8e6c88810caf1f183e9b24cda574c470dc129641dac1258 /gnu/store/38zyf3y0f= vi1l0bbkacwaapw5m1jmmi6-bootstrap-tarballs-0/glibc-stripped-2.31-powerpc64-= linux-gnu.tar.xz e2e70c7fcc477fced12eb76704212f9bda0e1ec2cf40137ff6a32a85ca75fec10ec20076b73= 698438e48c3ce45d24542aa309bb99274f4c3d4f9d49ec9d1dd7b /gnu/store/38zyf3y0f= vi1l0bbkacwaapw5m1jmmi6-bootstrap-tarballs-0/guile-static-stripped-2.0.14-p= owerpc64-linux-gnu.tar.xz 04d9203467ecb48e9f1fca5130199c292212d4d119153778d398899aeef517fc8bce5d25f35= 05063f38e433fa09e3c723a6da5dee4943dbc9d3728279356879b /gnu/store/38zyf3y0f= vi1l0bbkacwaapw5m1jmmi6-bootstrap-tarballs-0/static-binaries-0-powerpc64-li= nux-gnu.tar.xz my gcc-stripped tarball should be available at https://flashner.co.il/~efraim/gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --j+D14l8Ki1YJdzYp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl7YldYACgkQQarn3Mo9 g1GK4Q//VPREexP9vQnBgmaObIuIrLZ99V/6eErKMjicTcUF/tuFTB0CxUUoPCMt AwLGR+Vc5Vx+rQiRxtQGIpzb2Llc/m5tkBLPLTRdhCzUWUOCsLOcrMk6esjor5ZI AYetCgerNP3LcS8pQ0PbY3rYrooUJACawF/rFsC6ZL13Qmlu6aRbKT7g5ymIGuaU qCovoKAvcoPoDstasTDgbEODrn6WqvG2tUOTKXnE7vrxb+F5VumoJwVTk9e5EcSv nTdTdzmfoX040RMJiEspo7d88L1ZI7+j2akKOLKnsSj2M3h6PrYzaUmD8g8hBJJx zVFdhhdVgcd+LouvTL/4PjGkeSuNSbVVVdzgSkG7A60tgsWtIi6JVJ2wPMLO5mU7 vi2OrLRJ+P3SNijE/Fc86ETGwtIBU9u53l0HlkIgC6cLhdADR835FUFWh33rL4HX 2psS2Ye5/+RlsA78wpkn7/JyNquFqATkPUK4yimA1bNpE9veUdCOzpdUi9qTXHFn TTGYC+gHGAQ1mVk2yRZE411qfKsalAlphx844u5BGb8yqvCL2C5UyEfK1XzIl0DL wyQl+m1OkC2g3J/pBQJMsxIJkGHpBfsYzBnjoFY8dkOltxshU/nrtMvqAzhYl7TP f//AC8wctzGa9jeg5KC5/0LLYiG0mdxnRCP3IkDCZ89JDMm1UOc= =ZxhR -----END PGP SIGNATURE----- --j+D14l8Ki1YJdzYp--