From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#36747: Official MesCC bootstrap binaries differ from my locally built ones Date: Mon, 12 Aug 2019 00:11:08 -0400 Message-ID: <874l2n9g5k.fsf@netris.org> References: <875znwcoo9.fsf@netris.org> <87ef2j1pgt.fsf@gnu.org> <87ftmy51kk.fsf@netris.org> <87muh6sib4.fsf@gnu.org> <877e8a79mz.fsf@netris.org> <87pnm2ufv1.fsf@gnu.org> <87lfwpqpb7.fsf@netris.org> <87o91luuvs.fsf@gnu.org> <878srz9qrm.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42050) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hx1gh-0004o9-KA for bug-guix@gnu.org; Mon, 12 Aug 2019 00:12:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hx1gg-00087l-Mv for bug-guix@gnu.org; Mon, 12 Aug 2019 00:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37204) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hx1gg-00087f-KD for bug-guix@gnu.org; Mon, 12 Aug 2019 00:12:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878srz9qrm.fsf@netris.org> (Mark H. Weaver's message of "Sun, 11 Aug 2019 20:21:54 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Jan Nieuwenhuizen Cc: 36747@debbugs.gnu.org I wrote earlier: > There are two bootstrap tarballs that differ: > > (1) static-binaries > (2) guile-static-stripped > > In this message, I'll address only the 'static-binaries'. > > The only difference in the static-binaries is bash. It turns out that > the bash-4.4 configure script produces an incorrect compile-time > configuration when built on Linux 5.x or later. It boils down to this > code in Bash's configure.ac: > > linux*) LOCAL_LDFLAGS=-rdynamic # allow dynamic loading > case "`uname -r`" in > 2.[[456789]]*|[[34]]*) AC_DEFINE(PGRP_PIPE) ;; > esac ;; I pushed a fix for this issue to the 'wip-cu-binaries' branch, commit eefabc1db04c91d6954306e319820cd95190c25d. With this fix, my 'static-binaries' tarball now matches yours. What remains is to make 'guile-static-stripped' deterministic. For now, I suspect it might be sufficient to build it with #:parallel-build #f, although of course it would be good to eventually fix the parallel build to be deterministic. It would also be good to enable building the bootstrap binaries from a commit that's somewhere along the linear history of the 'master' branch. To be continued... Mark