all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jan Nieuwenhuizen <janneke@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: 31/31: DRAFT gnu: bootstrap: Add support for the Hurd.
Date: Thu, 12 Mar 2020 10:41:48 +0100	[thread overview]
Message-ID: <87eetxrjtv.fsf@gnu.org> (raw)
In-Reply-To: <874kuuvt9m.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 12 Mar 2020 10:04:21 +0100")

Ludovic Courtès writes:

Hello Ludo' and All,

>>     DRAFT gnu: bootstrap: Add support for the Hurd.
>
> [...]
>
>> @@ -378,18 +394,40 @@ or false to signal an error."
>>                    (rename-file guile guile-real)
>>                    (call-with-output-file guile
>>                      (lambda (p)
>> -                      (format p "\
>> +                      (format p ,(if (equal? (or (%current-target-system)
>> +                                                 (%current-system)) "i586-gnu") "\
>> +#!~a
>> +export GUILE_SYSTEM_PATH=~a/share/guile/2.2
>> +export GUILE_SYSTEM_COMPILED_PATH=~a/lib/guile/2.2/ccache
>> +exec -a \"~a0\" ~a \"~a@\"\n"
>> +                                     "\
>>  #!~a
>>  export GUILE_SYSTEM_PATH=~a/share/guile/2.0
>>  export GUILE_SYSTEM_COMPILED_PATH=~a/lib/guile/2.0/ccache
>>  exec -a \"~a0\" ~a \"~a@\"\n"
>> +
>> +)
>>                                bash out out dollar guile-real dollar)))
>>                    (chmod guile   #o555)
>>                    (chmod bin-dir #o555))))))
>
> For the sake of reducing complexity and keeping supported systems as
> close to one another as possible, would it be an option to keep using
> 2.0 for GNU/Hurd, like on the other systems?

I'm pretty sure that will work; I have a patch set to do that somewhere.

> That would entail changing make-bootstrap.scm to use 2.0 instead of 2.2
> as a first step.  And yeah, it’d also entail another full rebuild, which
> I’m sorry for, but I think this kind of simplification pays off quickly.
>
> WDYT?

Yes, let's do that.  I'll also want to look at using gcc-5, that may
solve our libstdc++-boot0/gcc-boot0 problem.  I think it's weird that we
build gcc-7 by default as bootstrap binary, while using that may not
even work (and is certainly untested).

> (I vaguely remember discussing it before but I forgot the outcome of the
> discussion.  Apologies for that!)

Yes, we discussed it...my focus at the time however was rather that 2.0
might be necessary, but that moving to 2.2 might be preferred (for
Guix'y reasons or possibly Hurd'y reasons -- I forgot).

FWIW, yes the rebuilds are annoying but I find managing/juggling
different working setups especially cumbersome.  A rebuild takes about a
half a day round-trip time and during that I'm also doing development.
I want to test smaller changes but am also making changes that will
trigger another rebuild.  Also, I don't want to lose my last working
setup (VM+git).  For that I'm creating many branches, tagged with
numbers (wip-hurd0, wip-hurd-system3; etc), which "works" but...  Just
wondering how you all handle this kind of thing.

Greetings,
janneke

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

  reply	other threads:[~2020-03-12  9:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200312065852.10633.59398@vcs0.savannah.gnu.org>
     [not found] ` <20200312065911.D981520B7E@vcs0.savannah.gnu.org>
2020-03-12  9:04   ` 31/31: DRAFT gnu: bootstrap: Add support for the Hurd Ludovic Courtès
2020-03-12  9:41     ` Jan Nieuwenhuizen [this message]
2020-03-15 18:23       ` Jan Nieuwenhuizen
2020-03-16  7:42         ` bug#40006: " Efraim Flashner
2020-03-15 18:23       ` Jan Nieuwenhuizen
2020-03-15 21:27       ` 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=87eetxrjtv.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /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.