From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii Subject: Re: guix is the guildhall that we always wanted! Date: Sat, 18 Mar 2017 16:10:45 +0200 Message-ID: <83bmsyy8t6.fsf@gnu.org> References: <87zigl3wph.fsf@pobox.com> <87a88kf8cu.fsf@gnu.org> <83d1dgyr5e.fsf@gnu.org> <87bmsy65q3.fsf@gnu.org> Reply-To: Eli Zaretskii Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpF4c-0008Pl-Tm for guix-devel@gnu.org; Sat, 18 Mar 2017 10:11:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpF4c-0002je-2U for guix-devel@gnu.org; Sat, 18 Mar 2017 10:11:14 -0400 In-reply-to: <87bmsy65q3.fsf@gnu.org> (ludo@gnu.org) 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: wingo@pobox.com, guix-devel@gnu.org, guile-user@gnu.org > From: ludo@gnu.org (Ludovic Courtès) > Cc: wingo@pobox.com, guix-devel@gnu.org, guile-user@gnu.org > Date: Sat, 18 Mar 2017 15:04:52 +0100 > > I think Andy was referring to the possibility of cross-compiling > packages that use Guile to MinGW. That is already possible thanks to > the work of Jan Jan Nieuwenhuizen, and since yesterday, we can create > “packs” that contain binaries cross-compiled for MinGW: > > https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00525.html I'm saying that when cross-compiling, it's easy to produce binaries that are unusable on Windows because Guile is not run natively during the build, and so problems inherent to the Windows port are not revealed during the build. Multithreading is one such issue, quite a significant one. Unless I disable multithreading, I cannot build Guile natively, because every non-trivial Guile program crashes (I reported that years ago, but no one was able to explain why that happens or point me to a workaround). So if the above binaries include threads, I'm afraid they might not be very useful on Windows.