[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bootstrappable] diverse double compilation: using $ORIGIN?
From: |
Jan Nieuwenhuizen |
Subject: |
Re: [bootstrappable] diverse double compilation: using $ORIGIN? |
Date: |
Sun, 05 Nov 2017 17:27:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Ludovic Courtès writes:
>> Usage: guix build gcc-dcc
>>
>> Building gcc-dcc tests the diverse double compilation property
>> of the gcc that Guix is using.
>>
>> * gnu/packages/bootstrappable.scm: New file.
>> * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
>
> Awesome! Does it build fine out-of-the-box? I didn’t expect it to be
> “this easy.” :-)
I got very positive feedback from a slightly guix-sceptic person saying
something like: you lisp guys can do quite a lot with very little code.
However, all this patch adds is a test that fails: gcc built with gcc is
not bit-for-bit the same as gcc built with clang.
Since then I have included the build-path-prefix-map patch, use -rpath
$ORIGIN instead of -rpath "-lib", switched to gcc-7.2.0. Still, no
bit-reproducibility.
Of course, Guix has the additional problem of the install-prefix that
debian and others do not have.
I'll be sending updated patches soon.
janneke.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com