From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id bCLRAo1H1l50DAAA0tVLHw (envelope-from ) for ; Tue, 02 Jun 2020 12: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 mp0 with LMTPS id wGbbOYxH1l7eKwAA1q6Kng (envelope-from ) for ; Tue, 02 Jun 2020 12:35:24 +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 5DB34940607 for ; Tue, 2 Jun 2020 12:35:24 +0000 (UTC) Received: from localhost ([::1]:45800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jg68Z-0004CQ-C4 for larch@yhetil.org; Tue, 02 Jun 2020 08:35:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jg68Q-0004C7-I6 for guix-devel@gnu.org; Tue, 02 Jun 2020 08:35:14 -0400 Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]:45735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jg68O-0008Ea-GE for guix-devel@gnu.org; Tue, 02 Jun 2020 08:35:14 -0400 Received: by mail-qv1-xf36.google.com with SMTP id z9so1626334qvi.12 for ; Tue, 02 Jun 2020 05:35:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=olqOjgb+FT1Job7sDqIr03AV5NqhyvzUEpR+1yxNuOg=; b=h1H5LnxHFR3vWix/GLcOWb1Qcf7rNbZw1WGH/dPDX7FT2kbYK2dxMgn2ZRDpzwvH9Q NHsN64HZCRny4G8HUDo2Sqr2cr3tbOzXk2PeVYByprk0JNLHujpQjrxPnME/eWVZHDZH cX3fz+/3uxAvK0dqGZT/9tQYncafpTdyZjYe8NZyY5tlEeL0Dk6xMMcyiyfnrncjwR9y 00/S5SkD2UI8vQlozZtIdFGl+omlxvX8TR/SPlMyUAQWVmRGO57XxUFNcjA3/LGo001k 2caSkT/Zt/97SCLBuwGCG58dhF5nZrlusPLEFudm3zDOznrYBlDIDOtzTDl3Os2/LncK GiFA== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=olqOjgb+FT1Job7sDqIr03AV5NqhyvzUEpR+1yxNuOg=; b=K8tTpZHfkA0KGpmBRcIsdxkDl2Fq6CDap6QzRMWbvoPU1K4B0JCi/6ku6B5FMIyti3 3vkJYKBSlMyuHzBYc2i4D6QPwbwL24GZisVWvchgh/y05lkbjuAQfO+QNh13TjxCGd8f xiywb7benk2YLMas1aulPqLUniSkzt13ATnDIUgY6uug/FNRcMPhszDGZ8nL+rM2Ipxb W0KSdOzu7+gvjPC3ZzQBcBp217j22A0FS6Xsxxx2nTcV8AJf279jyulPT+2p3rjZ9GvQ QsqAc5crxcbKMgSx8K9A5ejQjwDaBBM4VLG4OAWMj77HR1Oiu2UUK9vNFbglI9vMc/tk maCg== X-Gm-Message-State: AOAM530/mEzngdjpr0fh4hBnUg6gYkN3Yq27r8Zs2HrTrPS6pKFFMLeU YsoHTHz4P+TvwULAlkywHng= X-Google-Smtp-Source: ABdhPJwZoUUJlTkDlHok4vzHUbAia2Qwk9ipNKciB0omu+eHU5qhVE+ckrP3vVZFmaJOqjLTSnnneg== X-Received: by 2002:a0c:e5cc:: with SMTP id u12mr24726563qvm.134.1591101310987; Tue, 02 Jun 2020 05:35:10 -0700 (PDT) Received: from hurd (dsl-157-45.b2b2c.ca. [66.158.157.45]) by smtp.gmail.com with ESMTPSA id i71sm2164689qke.75.2020.06.02.05.35.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jun 2020 05:35:10 -0700 (PDT) From: Maxim Cournoyer To: Chris Marusich Subject: Re: Request to verify powerpc64-linux bootstrap binaries References: <87o8q2uqdw.fsf@gmail.com> Date: Tue, 02 Jun 2020 08:35:09 -0400 In-Reply-To: <87o8q2uqdw.fsf@gmail.com> (Chris Marusich's message of "Mon, 01 Jun 2020 19:56:43 -0700") Message-ID: <87k10p4pdu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::f36; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf36.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=pass header.d=gmail.com header.s=20161025 header.b=h1H5LnxH; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.81 X-TUID: eNDwubo2BuAv --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Chris! Chris Marusich writes: > Hi everyone! > > 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. > > First, to ensure you're using commit > 8159ce1970d91567468cf1bacac313099a009d2a, put something like this in > your ~/.config/guix/channels.scm file: > > (list (channel > (name 'guix) > (url "https://git.savannah.gnu.org/git/guix.git") > (commit > "8159ce1970d91567468cf1bacac313099a009d2a"))) > > Then, run these commands: > > # 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 > > After a few hours, you should see the following message: > > successfully built /gnu/store/icnj0m294b94pc3rhpmkz6zc41w8vyqj-bootstrap-= tarballs-0.drv > /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0 > > On my end, the SHA-512 hashes of the binaries are: > > 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 Here's what I did: cd /tmp guix pull --commit=3D8159ce1970d91567468cf1bacac313099a009d2a -p guix-ppc64= -bootstrap GUIX_PROFILE=3D"/tmp/guix-ppc64-bootstrap" . "$GUIX_PROFILE/etc/profile" time guix build --no-substitutes --target=3Dpowerpc64-linux-gnu bootstrap-t= arballs successfully built /gnu/store/wy4dc833vzfd85mphm00p8c99l0ny73a-guile-static= -stripped-tarball-2.0.14.drv building /gnu/store/icnj0m294b94pc3rhpmkz6zc41w8vyqj-bootstrap-tarballs-0.d= rv... /gnu/store/4v278jn0kd12zc6xwyr144lgi1ca7a69-guile-static-stripped-tarball-2= .0.14/guile-static-stripped-2.0.14-powerpc64-linux-gnu.tar.xz -> /gnu/store= /dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0 /gnu/store/rsmhiyplmbiqm1qwniiafi4ak76pd61v-gcc-stripped-tarball-5.5.0/gcc-= stripped-5.5.0-powerpc64-linux-gnu.tar.xz -> /gnu/store/dy4fhy2vqyxqfad59mf= dqdd0qpcrwmyx-bootstrap-tarballs-0 /gnu/store/fgw2hwyaw00xn8fb1pbpazl8hga8xfci-binutils-static-stripped-tarbal= l-2.34/binutils-static-stripped-2.34-powerpc64-linux-gnu.tar.xz -> /gnu/sto= re/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0 /gnu/store/p40gsw7qh5xzic38l99ildbxcz4zag3y-glibc-stripped-tarball-2.31/gli= bc-stripped-2.31-powerpc64-linux-gnu.tar.xz -> /gnu/store/dy4fhy2vqyxqfad59= mfdqdd0qpcrwmyx-bootstrap-tarballs-0 /gnu/store/svc6d7qrmacqc4pqzqhqyks421fb6jcb-static-binaries-tarball-0/stati= c-binaries-0-powerpc64-linux-gnu.tar.xz -> /gnu/store/dy4fhy2vqyxqfad59mfdq= dd0qpcrwmyx-bootstrap-tarballs-0 successfully built /gnu/store/icnj0m294b94pc3rhpmkz6zc41w8vyqj-bootstrap-ta= rballs-0.drv /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0 real 31m21.749s user 1m33.985s sys 0m7.399s As for the SHA-512 hashes: =2D-8<---------------cut here---------------start------------->8--- for f in /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/*= ; do sha512sum "$f"; done 426e5f1d0d7023a90e73286ccda1fa55a359301e998a19dfe00f5b4f5d387e69d7a247f4705= 6f41e609393893b0238a908698fbd28d73b183b32a5dadcfe9fbb /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/binutils-s= tatic-stripped-2.34-powerpc64-linux-gnu.tar.xz 841f1839c041512f893d5fa62fbc402dda1589222ee5365849d2e3f0a55df7abd0ca856c302= b4d7ef80d07abfa6b04468cc494efdccbc097df2eceb181eebd15 /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/gcc-stripp= ed-5.5.0-powerpc64-linux-gnu.tar.xz a717a420e765accf12cfc1e18ebed76e9359ee58e8781601ca9066ced59196f88a528ddc554= c0f57c77e2c01908cafe596f3c8d1df135beb4cae4073b9a999d2 /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/glibc-stri= pped-2.31-powerpc64-linux-gnu.tar.xz e2e70c7fcc477fced12eb76704212f9bda0e1ec2cf40137ff6a32a85ca75fec10ec20076b73= 698438e48c3ce45d24542aa309bb99274f4c3d4f9d49ec9d1dd7b /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/guile-stat= ic-stripped-2.0.14-powerpc64-linux-gnu.tar.xz 04d9203467ecb48e9f1fca5130199c292212d4d119153778d398899aeef517fc8bce5d25f35= 05063f38e433fa09e3c723a6da5dee4943dbc9d3728279356879b /gnu/store/dy4fhy2vqyxqfad59mfdqdd0qpcrwmyx-bootstrap-tarballs-0/static-bin= aries-0-powerpc64-linux-gnu.tar.xz =2D-8<---------------cut here---------------end--------------->8--- binutils: OK gcc: NOK glibc: OK guile: OK static-binaries: OK Only my gcc-stripped-5.5.0-powerpc64-linux-gnu.tar.xz has a different checksum. > 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. > > 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!! Congrats to L=C3=A9o and all those involved in this porting effort! Thank you! Maxim --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAl7WR30ACgkQEmDkZILm NWLVGBAAl+z+31n32SolKyWAMdVF9ICMhmP4pZOoUd38oHeJQJbYa+PRRSI9TsUf Iu4ty5Z1r1I+LwxNELX2U9aumCYtGzt2DNIjBw05Pr8HqXEXvGc3/66qIX8LlJsZ 10ksH1YvF8r3aVHlFv5x7x0giU/WQ6bOG1KoZfUfTll0iB8C1C1dE57RXnbp+148 B0WE1cfcNZwWpQ/6plJFvmGMOoqym2X1sRMdTCte9WupTOjvRpKJTKsiYQ1QkuTy MkGqGO5LcP1Bs+UN5uxcnAUDdAq0gJLhkQuRpNvlL8dQxGnUdLy78+eHAmHEuSrS L9nO6nrFV6nrR02Gz7uujVmC86rM030S0nyejxx5ZbjM0JqRx7tuy1mxWNe9L1Fd DlI6D4SM0nY2uqABwHaWrh5VMes2kDDsuqVBBsBVcvgHLUGEJRMIv6obeQHLROBC ylvZ5kJScQlqX+NE6eVRajyEuHijwAV0QDvmjHFkUzxhKIqPIeJP7wY0ly1pj/zx pWcV1riN4xLsxWr9+OOuxrzfMxsw+cnWIJ4+mHEpFJS8CAK+Vj9a5MXsC6NfzRuU S5Ah3fBfbS4/IHHCvhNVfjdebhKNzCJooZCXvoV4QuhTb3wcIwvQ9HNorLfibdsw UxfZyKaPYXV+TOmCGezRTgPJOAVD+ArqfW6Lr7CPjtis3fTpw0g= =6FLh -----END PGP SIGNATURE----- --=-=-=--