From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: Re: [bootstrappable] diverse double compilation: using $ORIGIN? Date: Sun, 05 Nov 2017 17:27:24 +0100 Message-ID: <87k1z4668j.fsf@gnu.org> References: <87wp3agd60.fsf@elephly.net> <87po91vzj3.fsf@gnu.org> <878tfkr9lj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBNmA-0005Cb-8I for guix-devel@gnu.org; Sun, 05 Nov 2017 11:28:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBNm7-0000oR-KW for guix-devel@gnu.org; Sun, 05 Nov 2017 11:27:58 -0500 In-Reply-To: <878tfkr9lj.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 05 Nov 2017 17:09:12 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, bootstrappable@freelists.org Ludovic Court=C3=A8s 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=E2=80=99t expect it = to be > =E2=80=9Cthis easy.=E2=80=9D :-) 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. --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com