From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Building Guix with Guile 2.1 Date: Sat, 24 Sep 2016 12:31:05 +0900 Message-ID: <87y42irn2e.fsf@gnu.org> References: <87fuotl367.fsf@gnu.org> <874m59fan7.fsf@igalia.com> 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]:45257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnfPj-0002IV-4V for guix-devel@gnu.org; Sat, 24 Sep 2016 01:22:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnfPe-0003ty-1P for guix-devel@gnu.org; Sat, 24 Sep 2016 01:22:14 -0400 In-Reply-To: <874m59fan7.fsf@igalia.com> (Andy Wingo's message of "Wed, 21 Sep 2016 19:03:24 +0200") 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: Andy Wingo Cc: guix-devel Hi! Andy Wingo skribis: > On Wed 21 Sep 2016 10:23, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Hello! >> >> Nalaginrut reported that Guix fails to build with Guile 2.2, which was a >> bit of a shame, hence commits e465d9e19087ab150f7e31f21c09e4a147b93b36 >> and 9d126aa2b504bb9fad536eac186805ff623e96be. >> >> Now, the hack in build-aux/compile-all.scm doesn=E2=80=99t quite work wi= th 2.2, >> and it was already quite fragile. > > Which hack? You mean loading modules before compiling? I guess you > should load the compiler modules too FWIW, perhaps that's an issue. > > If there is a nice change we can do to make module-loading thread-safe, > let's think about that :) It's probably the biggest thread-safety > problem we have in Guile and now would be the right time to fix it. I agree this is the right thing to do. My guess is that this would have to be approached in C, to avoid the fat mutex overhead. But hmm, I dunno exactly what this entails! Ludo=E2=80=99.