unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Bootstrapping
Date: Thu, 11 Feb 2016 11:54:31 +0100	[thread overview]
Message-ID: <87bn7nsejc.fsf_-_@gnu.org> (raw)
In-Reply-To: <8760xvvm0p.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 11 Feb 2016 06:44:38 +0100")

Ricardo Wurmus <rekado@elephly.net> skribis:

> Jookia <166291@gmail.com> writes:

[...]

>> I brought this up a bit earlier in IRC but you could rebuild the bootstrap
>> binaries- but then they'd just be identical to the ones shipped. So are they
>> really foreign then?
>
> I wonder: can you *really* rebuild them?

First, you’d need to build them as explained at
<http://www.gnu.org/software/guix/manual/html_node/Bootstrapping.html#Building-the-Bootstrap-Binaries>,
but starting from the exact same commit that was used to build them.

> Would that not require reproducible builds, something that we try to
> achieve with Guix?

Indeed, some of the packages in the bootstrap binaries are reproducible,
some are not.  See
<https://lists.gnu.org/archive/html/guix-devel/2013-09/msg00159.html>
for a previous experiment in that area.

> I wished we could reduce the number of bootstrap binaries down to little
> more than just Guile and an old C compiler, i.e. implement a subset of
> tar in Guile and use that to unpack the tarballs, then use the simple C
> compiler to compile an old version of GCC (without C++), then use that
> version of GCC to compile a GCC capable of building C++, then use that
> GCC to build a modern GCC...
>
> Since Guile is mostly written in Guile (and it is probably somewhat
> easier to come to a point to trust it) there may be value in trying to
> bootstrap from even less.

Definitely!  Just like we have cpio, FTP and HTTP clients, etc. in
Scheme, we could incrementally have tiny replacements for some of the
things currently found in the bootstrap binaries.  They don’t need to be
full-featured.

This is one of the topics discussed as the reproducible summit:

  https://lists.gnu.org/archive/html/guix-devel/2015-12/msg00107.html
  https://reproducible-builds.org/events/athens2015/bootstrapping/

Ludo’.

  reply	other threads:[~2016-02-11 10:54 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-06 11:38 GSoC ideas Pjotr Prins
2016-02-06 12:36 ` Ludovic Courtès
2016-02-06 18:54   ` Christopher Allan Webber
2016-02-07 10:16     ` Efraim Flashner
2016-02-09 20:52       ` Ludovic Courtès
2016-03-25 20:32       ` myglc2
2016-02-08 10:45     ` Tomáš Čech
2016-02-08 11:37       ` Efraim Flashner
2016-02-08 17:24       ` Christopher Allan Webber
2016-02-08 18:45         ` Thompson, David
2016-02-08 19:47           ` Christopher Allan Webber
2016-02-08 20:43             ` Pjotr Prins
2016-02-09 10:36               ` Installing Guix on foreign distros Ludovic Courtès
2016-02-10  8:53                 ` Tomáš Čech
2016-02-10  9:42                   ` Ricardo Wurmus
2016-02-10 12:44                   ` Jookia
2016-02-11  5:44                     ` Ricardo Wurmus
2016-02-11 10:54                       ` Ludovic Courtès [this message]
2016-02-23 23:00               ` GSoC ideas Diane Trout
2016-02-23 23:52                 ` Guix on Debian (was: GSoC ideas) Christopher Allan Webber
2016-02-24  0:02                   ` Leo Famulari
2016-02-24  9:03                     ` Ricardo Wurmus
2016-02-24  9:16                       ` Efraim Flashner
2016-02-24  9:36                         ` Jookia
2016-02-25 18:15                           ` Bootstrap binaries Ludovic Courtès
2016-02-25 20:26                             ` Christopher Allan Webber
2016-02-26 23:19                               ` Ludovic Courtès
2016-02-28 10:51                                 ` Jookia
2016-02-28 15:08                                   ` Ludovic Courtès
2016-02-28 15:10                                     ` Jookia
2016-02-29  5:22                                       ` Christopher Allan Webber
2016-02-29 10:01                                       ` Ludovic Courtès
2016-02-24  0:32                   ` Guix on Debian (was: GSoC ideas) Diane Trout
2016-02-24  7:04                     ` Pjotr Prins
2016-02-24 17:20                       ` Thompson, David
2016-02-24 19:36                         ` Diane Trout
2016-02-25 10:30                           ` Efraim Flashner
2016-02-26  1:27                             ` Diane Trout
2016-02-24 19:14                 ` GSoC ideas Jan Nieuwenhuizen
2016-02-24 21:24                   ` Jan Nieuwenhuizen
2016-02-24 21:56                     ` Diane Trout
2016-02-25 18:10                 ` Ludovic Courtès
2016-02-26  1:28                   ` Diane Trout
2016-03-25 20:52         ` myglc2
2016-02-09 20:49     ` Ludovic Courtès
2016-02-09 22:17       ` Christopher Allan Webber
2016-02-10  6:12         ` Pjotr Prins
2016-02-11  2:11           ` Christopher Allan Webber
2016-02-11 10:01             ` Ludovic Courtès
2016-02-11 17:59               ` Christopher Allan Webber
2016-02-21 21:07                 ` Ludovic Courtès
2016-03-23 19:07       ` myglc2
2016-02-11 11:46   ` Manolis Ragkousis
2016-02-11 17:32     ` Andreas Enge
2016-02-12 11:48       ` Alex Sassmannshausen
2016-02-11 17:36     ` Christopher Allan Webber
2016-02-28 22:12     ` Samuel Thibault
2016-02-28 23:33       ` Richard Braun
2016-03-02 10:09     ` Ludovic Courtès
2016-03-02 10:12       ` Samuel Thibault
2016-03-02 21:31         ` Ludovic Courtès
2016-03-02 22:06           ` Samuel Thibault
2016-03-21 12:09             ` [GSoC] Porting GuixSD to GNU Hurd draft Manolis Ragkousis
2016-03-22  0:49               ` Samuel Thibault
2016-03-23 13:40               ` Ludovic Courtès
2016-03-23 16:55                 ` Justus Winter
2016-03-24 11:18                   ` Manolis Ragkousis
2016-03-24 11:38                     ` Justus Winter
2016-03-24 12:36                       ` Manolis Ragkousis
2016-03-24 12:49                         ` Justus Winter
2016-03-24 13:22                   ` Ludovic Courtès
2016-03-24 13:55                     ` Manolis Ragkousis
2016-03-24 14:30                       ` Justus Winter
2016-03-04 15:09           ` GSoC ideas Manolis Ragkousis
2016-03-05 22:02             ` Ludovic Courtès
2016-02-06 23:53 ` Ben Woodcroft
2016-02-07  5:51   ` Pjotr Prins

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bn7nsejc.fsf_-_@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).