From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: Reproducible rust builds Date: Tue, 16 Oct 2018 15:22:04 +0200 Message-ID: <20181016152204.1354ba1a@scratchpost.org> References: <87h8hqvpan.fsf@member.fsf.org> <878t2yudhy.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/.PGBnr4ZYp0e73ws.1ojgq9"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCPIh-000385-JN for guix-devel@gnu.org; Tue, 16 Oct 2018 09:22:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCPIb-00078i-Vu for guix-devel@gnu.org; Tue, 16 Oct 2018 09:22:19 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:36154) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gCPIb-00073c-M6 for guix-devel@gnu.org; Tue, 16 Oct 2018 09:22:13 -0400 In-Reply-To: <878t2yudhy.fsf@member.fsf.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Nikolai Merinov Cc: guix-devel@gnu.org --Sig_/.PGBnr4ZYp0e73ws.1ojgq9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Nikolai, Hi Joe, On Tue, 16 Oct 2018 02:05:45 +0500 Nikolai Merinov wrote: > I concentrated on 1.25 and newer. Be advised that the wip-rust branch contains a (finished) full source boots= trap for rust which starts with rust 1.19. We should coordinate when we merge w= hat to master so we don't make the reproducibility problems more difficult to t= rack down. I'd prefer to first get the rust reproducibility on master under control and only later merge wip-rust. > 1.25 and 1.27 suffer from this type of non-reprodicibility > https://github.com/rust-lang/rust/issues/50556 I confirm that problem. >1.25 and 1.27 suffer from this type of non-reprodicibility >https://github.com/rust-lang/rust/issues/50556 >There is no suggestions how to solve this issue and I have no idea how >to continue with it. As far as I understand we step on non-determenistic >behavior of llvm 6, so I suggest to use llvm 3.9 for this versions. I agree, especially if the problem is fixed in later Rust versions and if they build reproducibly with newer LLVM versions. > 1.27, 1.28, 1.29 have next issue > https://github.com/rust-lang/rust/issues/24473 > It can be fixed with > rust-mdbook-Support-reproducible-builds-by-forcing-window.search.patch > in my packages. That looks like a simple patch. Nice! > > For me, it has been liblibc. I've attached the output of the following = command: > > > > $ diffoscope --exclude-directory-metadata > > /gnu/store/hv2wb30jgzhhgfvlhrfpk3qcwr38igg4-rust-1.22.1 > > /gnu/store/hv2wb30jgzhhgfvlhrfpk3qcwr38igg4-rust-1.22.1-check --html > > diffoscope-rust.html Yeah, there are lots of libc differences for me too between the rounds. It's cool that upstream is quite motivated to fix reproducibility problems,= so let's keep reporting issues there. --Sig_/.PGBnr4ZYp0e73ws.1ojgq9 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlvF5fwACgkQ5xo1VCww uqXYcQf7BFgNiH26M7Ijh25DObBdEMk3/ngpAF1rdWF4m4ej+OMEUdS1dYfBL8HY xiqnV3iFRBSSdPpDQ0glDKTGBF49cPoOLVawccdC8lzoYF9QrdTXj4Iwye2M5uY4 zQ/06f6BNf97cXZAs4kjyLpKiivtuafSb+U1sTZiRGJJTPp5wPaXhysmkkWMn9Yw sBYi4bi8ZZIbWyxexk1cOsUAltpQHVxc6AOM/8s2Rf0iSA+Cc0g/pW3lxMxEs3LC 2JEDlD6zlbJasAX/KNnESeHcZ9EqQVVAz6lnX6+E21E4c9N8ILlR2s7OUnQ1Zuep kpJNsmoQLmcnqnwgZMaM9mk4sIVPtw== =FrgH -----END PGP SIGNATURE----- --Sig_/.PGBnr4ZYp0e73ws.1ojgq9--