From: ludo@gnu.org (Ludovic Courtès)
To: Ondra Pelech <ondra.pelech@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Determinism issue
Date: Sat, 19 Jul 2014 15:52:57 +0200 [thread overview]
Message-ID: <8761itfoau.fsf@gnu.org> (raw)
In-Reply-To: <CACoNZ44CvWHwd5H11td1biWq_BdBTCi_e1XatdEy+ZF-s+6X4w@mail.gmail.com> (Ondra Pelech's message of "Fri, 18 Jul 2014 04:23:59 +0200")
Hello,
Roughly, there’s not much difference between what Guix and Nixpkgs
provide in terms of build determinism, but this is clearly something
we’re interested in.
Guix may be slightly stricter in that chroot builds are the default, and
it doesn’t rely on /bin/sh being in the chroot (unlike Nixpkgs.)
You mention profile-guided optimizations. This is *disabled* by default
in GCC, AFAIK, so GCC is definitely deterministic.
Another thing we do is build Binutils with
--enable-deterministic-archives, which makes ‘ar’ archives with zeroed
timestamps by default.
For other examples of non-determinism issues, the Debian project has a
nice summary: <https://wiki.debian.org/ReproducibleBuilds>.
Similarly, some time ago, I started looking a fixed-point builds, though
I didn’t complete that:
https://lists.gnu.org/archive/html/guix-devel/2013-09/msg00159.html
Thanks,
Ludo’.
next prev parent reply other threads:[~2014-07-19 13:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-18 2:23 Determinism issue Ondra Pelech
2014-07-19 13:52 ` Ludovic Courtès [this message]
2014-07-19 22:41 ` Ondra Pelech
2014-07-20 13:51 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8761itfoau.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=ondra.pelech@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.