all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jan Nieuwenhuizen <janneke@gnu.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org, bootstrappable@freelists.org
Subject: Re: [bootstrappable] Re: prototyping the full source bootstrap path
Date: Sat, 25 Nov 2017 11:51:28 +0100	[thread overview]
Message-ID: <87tvxihbrj.fsf@gnu.org> (raw)
In-Reply-To: <87k1ygd4pm.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 23 Nov 2017 23:12:53 +0100")

Ricardo Wurmus writes:

Hey Ricardo,
>> Is there a way to use replace the guile-2.2.2 dependency with the static
>> bootstrap tarball guile-2.0.9?  That would already help a lot!
>
> You can override the “guile-for-build” in the GNU build system by
> passing “#:guile ,my-guile” as an argument.

Thanks...but hmm.  I added this to all my packages (I think...I'm using the trivial build
system) and when i do

    ./pre-inst-env guix graph --type=bag-with-origins gcc-boot  | dot -Tsvg > bootstrap.svg

I still see our beautiful [almost-] full source bootstrap dependency
graph in the top right corner and a guile-2.2.2 dependency with the full
GNU build system cloud below it...

While this is not at all urgent, I do think you raised an important
concern here.  Could do with some more help :-)

>> *) should i push this to savannah wip-bootstrap?
>
> Please do!

Done!

Try something like

    git clone https://git.savannah.gnu.org/git/guix.git guix-bootstrap
    cd guix-bootstrap
    git checkout wip-bootstrap
    ./configure # your options here
    make && ./pre-inst-env guix build gcc-boot
    ./pre-inst-env guix graph --type=bag-with-origins gcc-boot\
        | dot -Tsvg > bootstrap.svg

This should fail with

    checking for the correct version of gmp.h... no
    configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
    Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
    their locations.  Source code for these libraries can be found at
    their respective hosting sites as well as at
    ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also

Note that mes-tcc also still fails some tests and that we run mescc on
Guile rather than on Mes because of severe Mes Scheme performance
issues.

Happy bootstrapping!
janneke

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

  reply	other threads:[~2017-11-25 10:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-19 22:31 prototyping the full source bootstrap path Jan Nieuwenhuizen
2017-11-20  9:20 ` [bootstrappable] " Ludovic Courtès
2017-11-20 11:42   ` [bootstrappable] " Ricardo Wurmus
2017-11-20 18:41     ` Jan Nieuwenhuizen
2017-11-20 18:48       ` Orians, Jeremiah (DTMB)
2017-11-20 21:55       ` Ludovic Courtès
2017-11-21 12:59         ` Orians, Jeremiah (DTMB)
2017-11-21 17:52           ` Jan Nieuwenhuizen
2017-11-21 18:23             ` Orians, Jeremiah (DTMB)
2017-11-23  4:56               ` Mark H Weaver
2017-11-27 12:42                 ` Orians, Jeremiah (DTMB)
2017-11-23 17:55     ` Jan Nieuwenhuizen
2017-11-23 22:12       ` Ricardo Wurmus
2017-11-25 10:51         ` Jan Nieuwenhuizen [this message]
2017-11-20 18:48   ` Jan Nieuwenhuizen
2017-11-20 19:22     ` Gábor Boskovits
2017-11-20 12:45 ` [bootstrappable] " Orians, Jeremiah (DTMB)

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=87tvxihbrj.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=bootstrappable@freelists.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 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.