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 Ls3pMRXa818KRwAA0tVLHw (envelope-from ) for ; Tue, 05 Jan 2021 03:16:37 +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 8BcgLRXa818YDgAAbx9fmQ (envelope-from ) for ; Tue, 05 Jan 2021 03:16:37 +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 3F17D9403E6 for ; Tue, 5 Jan 2021 03:16:37 +0000 (UTC) Received: from localhost ([::1]:32810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwcpn-0000Je-92 for larch@yhetil.org; Mon, 04 Jan 2021 22:16:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwcpH-0000Iy-IH for bug-guix@gnu.org; Mon, 04 Jan 2021 22:16:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49185) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwcpG-0002iG-KS for bug-guix@gnu.org; Mon, 04 Jan 2021 22:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kwcpG-0006Yj-FH for bug-guix@gnu.org; Mon, 04 Jan 2021 22:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#41669: Cross-compiled powerpc64-linux bootstrap-tarballs not reproducible Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 05 Jan 2021 03:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41669 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 41669-submit@debbugs.gnu.org id=B41669.160981654725182 (code B ref 41669); Tue, 05 Jan 2021 03:16:02 +0000 Received: (at 41669) by debbugs.gnu.org; 5 Jan 2021 03:15:47 +0000 Received: from localhost ([127.0.0.1]:60730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwcp1-0006Y5-5t for submit@debbugs.gnu.org; Mon, 04 Jan 2021 22:15:47 -0500 Received: from mail-pg1-f181.google.com ([209.85.215.181]:39098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kwcoz-0006Xo-P0 for 41669@debbugs.gnu.org; Mon, 04 Jan 2021 22:15:46 -0500 Received: by mail-pg1-f181.google.com with SMTP id 30so15689526pgr.6 for <41669@debbugs.gnu.org>; Mon, 04 Jan 2021 19:15:45 -0800 (PST) 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=tEDmiIUN30LsU1kNYu2myAYqkHRnYHkiutnzIpfS/RI=; b=u9yI+q0tGD0ql8+j3o3v7Y2sz5bMxogSVmZfK8ExXqr0nziqYZZw4o+2Bi1ZW0Q/70 AtP88JTk0ETIfroLbi240XVmxoyiOnVxU2uY7fg+FwStqinGFLjXKdF4+vSNDNI2EMOl FcXCtNnCmnui9WsnJ3Lgwg8AU0SNvihiNdBeDCmm+md4VFZnk8Wljso3QCJMldKOcR1G NqWrEGFzAWBZFI3AWAn7okjemTUtEAhfvFQy5wyMOonIVVdQHPxabUztjmSo1U0TDZ3k ayar2JmExrq/pFkygftuVGseXesfm19aWwAXtMfLw0bQ6+UXE0tYTaToYiMisJKW1Vby RX4Q== 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=tEDmiIUN30LsU1kNYu2myAYqkHRnYHkiutnzIpfS/RI=; b=FKB06ODJD9dZI1WWQ1W8rY0ax8z0osSwIHV7Zd0JDaYqPLTgSrcpRL7sDEvWK0Ci2m RlW+qFRySfxOqhOR00Mqx+/g0gylsb0osdTqXH4Pp+yMmL3TI/GwAhnxAC66DW3WNc8a rNoVSKow3Al9JqyuaS+HjLOtihtJQTj6JqT5ffBtLsxhBPJUljHowh5z1DLbuQwFDkfY GM3qsPjEvRqP3gm7jB+mJOyUNMqHMmZUrnoC/dO0QdOGtFzKctlUbGybmJc7nXYa3n09 VQitwOIjv9M8+OI3nbz8bcKLX4T0+lcii0LMx3Q2gmrU7p701n2r+1oEY0Pn5zE2L5r4 U3nQ== X-Gm-Message-State: AOAM532qYT+s/OsAdJqdGdXHGu3NAIkh/ImhPwXNbX0TA+lPfJPEX/vK CN9iKqLgXZNbncJ5BVAdO5M= X-Google-Smtp-Source: ABdhPJwS0bPhlmwkSB+26TU7ny+V1xzqulIgEXRGOtG/Aprn5NJ4TQ2g2mr3XX/P/LWC0z6XUwHJTg== X-Received: by 2002:a05:6a00:1683:b029:19d:917a:616b with SMTP id k3-20020a056a001683b029019d917a616bmr67950026pfc.15.1609816538987; Mon, 04 Jan 2021 19:15:38 -0800 (PST) Received: from garuda-lan ([2601:601:9d00:688::e6b]) by smtp.gmail.com with ESMTPSA id a1sm56334893pfo.56.2021.01.04.19.15.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jan 2021 19:15:37 -0800 (PST) From: Chris Marusich References: <87wo0hqbb3.fsf@gmail.com> <20200913062858.GC1100@E5400> <87wo0hqbb3.fsf@gmail.com> <87pn5wzwcf.fsf@gnu.org> <87pn3dth0l.fsf_-_@gmail.com> <874krtnvk8.fsf@gmail.com> <87y2p4mqe2.fsf@gmail.com> <87a6xu2xrj.fsf@gmail.com> <20200913062858.GC1100@E5400> <87wo0hqbb3.fsf@gmail.com> <874krtnvk8.fsf@gmail.com> <87y2p4mqe2.fsf@gmail.com> <87a6xu2xrj.fsf@gmail.com> <20200913062858.GC1100@E5400> <87wo0hqbb3.fsf@gmail.com> <87pn5wzwcf.fsf@gnu.org> <87pn3dth0l.fsf_-_@gmail.com> <87blepaqd8.fsf_-_@gmail.com> <87sg7hxctr.fsf@gnu.org> Date: Mon, 04 Jan 2021 19:15:34 -0800 In-Reply-To: <87sg7hxctr.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 04 Jan 2021 10:37:20 +0100") Message-ID: <8735zg13c9.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" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41669@debbugs.gnu.org, Leo Le Bouter , Maxim Cournoyer , Vincent Legoll Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.83 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=u9yI+q0t; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 3F17D9403E6 X-Spam-Score: -1.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: MiA5ND/n4Xvt --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, Ludovic Court=C3=A8s writes: >>> https://media.marusich.info/guix-ppc64-bootstrap/bootstrap-tarballs-fro= m-guix-1ced8379c7.tar.xz >>> https://media.marusich.info/guix-ppc64-bootstrap/bootstrap-tarballs-fro= m-guix-1ced8379c7.tar.xz.asc >>> https://media.marusich.info/guix-ppc64-bootstrap/bootstrap-tarballs-fro= m-guix-1ced8379c7.tar.xz.sha512sum > > [...] > > IIUC, the tarballs at the URL above are for PPC64 (system type: > =E2=80=98powerpc64-linux=E2=80=99); is this also going to work on PPC64LE= hardware? No, we need a separate tarball for LE. I have prepared that here: https://media.marusich.info/guix-ppc64le-bootstrap/powerpc64le-linux-gnu-bo= otstrap-tarballs-from-guix-662e7e28d576.tar.xz https://media.marusich.info/guix-ppc64le-bootstrap/powerpc64le-linux-gnu-bo= otstrap-tarballs-from-guix-662e7e28d576.tar.xz.sha512sum https://media.marusich.info/guix-ppc64le-bootstrap/powerpc64le-linux-gnu-bo= otstrap-tarballs-from-guix-662e7e28d576.tar.xz.asc This tarball, containing the little-endian bootstrap binaries, was generated using the same setup that I used earlier for big-endian. Specifically, to generate the little-endian bootstrap binaries, I took the following steps on two separate VMs: =2D Use https://ftp.gnu.org/gnu/guix/guix-system-install-1.2.0.x86_64-linux.iso.xz to install Guix System 1.2.0 on an x86_64-linux machine. =2D Run: guix pull --no-substitutes --commit=3D1ced8379c7641788fa607b19b7a6= 6d18f045362b =2D Run: guix pull --no-substitutes --commit=3D662e7e28d576ada91fc9dec7d27c= 100666114f03 =2D Run: guix build --no-substitutes --target=3Dpowerpc64le-linux-gnu boots= trap-tarballs =2D I didn't run "guix system reconfigure" after installing Guix System; theoretically it shouldn't matter, but for the purpose of our experiment, I just left the system in its default configuration in order to ensure that the kernel etc. would be the same on both VMs. Notice that there are two "guix pull" invocations. This is because I first pulled to 1ced8379c7641788fa607b19b7a66d18f045362b in order to build the big-endian bootstrap-tarballs as described earlier. After that, I pulled to 662e7e28d576ada91fc9dec7d27c100666114f03 in order to build the little-endian bootstrap-tarballs on the same machine. In theory it shouldn't matter how you arrive at commit 662e7e28d576ada91fc9dec7d27c100666114f03, but for the sake of completeness and reproducibility I've included both pull steps. By the way, just as with the big endian bootstrap binaries, all the little endian bootstrap binaries I built were identical on both VMs except for gcc-static. The output of gcc-static contained binaries that differed in ways similar to what has been described earlier in this thread. So, the non-reproducibility of gcc-static is not specific to one PPC architecture. I wonder if gcc-static can be cross-built reproducibly for any architecture at all. > (As you know, we use i386 binaries for both i686-linux and x86_64-linux. > Likewise, if we can have a single set of binaries instead of having > PPC32, PPC64, and PPC64LE, that=E2=80=99s better.) This is a fair question. I agree that if it were possible, it would be a great improvement. I didn't know the answer to this question, so I asked in #talos-workstation on Freenode. The users there said that although in theory this should be possible, it isn't currently feasible because the ability to do this is not currently implemented in Linux. For the moment, I think our focus should be on finding out which of these two architectures can be bootstrapped in Guix in the first place. The first step in doing that is to try using these bootstrap binaries. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl/z2dYACgkQ3UCaFdgi Rp0STRAAg0bC3F6xlp/OxckoesF0XY6Htdmgz/lGAEKjiDBFi4VnDx6qF1Hl4udQ qeu3TlSiHijYuVJUhPndQhTbwxGnxUMLfCRhZDFRng2e/3Xt07bOga1NvkdG2Wjm rTtTghMLLUhcOrzbdW/AMbwn7t6joFNI/5jMhtcFS5EMjjV68IpwvfWWHD4Tv6Pk DCzbWGjiiXuMvtvS331Qmkp6SRf1N+xIWiedtFvjSLuNIY/aoKhyO1hI6dVPnhwX xwDvozWQrduqOxW9ZRh+vo5CgIj6rRdz8/EQOdSdOeLDtMKTVbEB/95o2kV7mLby +742OAaqPF1upaRdFze4C+2HCn8zeRy/UHbDNjPu0f0Q31gjZP6OVBu9tOKIRvpN pyN87lGDuQM8WhkpACVeb4ul/QnjPptyynum2p9z5/t/9F0MaRBdvg9Chf6ZO5uO 6wHQCDqo0EJeZ/PneVIjx/MNAyi3qeX0xdAt0qawg8AScB+58tod+YnXL/O+LPGu MbVDLffTGFHGwbxDpBpgQNh7U4o1wBXlTYotFo472WyXbuyjxAqO2Efl9RUFmnNa i9DhiN1+D3HQfXELMa6N/LyFh+tHIhVZfWvG/Hz3LYBNXjQCHIGxcWXGXY8Ye+9v Izppu+SfEqBQWMDManzLdO+Bsj72nixcqxkmqabajanlA3Obp/o= =ep7a -----END PGP SIGNATURE----- --=-=-=--