From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.devel Subject: Re: wip-mingw with x86_64 support updated for 3.0.8 Date: Mon, 16 May 2022 20:28:55 +0200 Organization: AvatarAcademy.nl Message-ID: <87zgjhxrfc.fsf@gnu.org> References: <87r14zaglg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7961"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Mon May 16 20:29:30 2022 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nqfTF-0001oT-G3 for guile-devel@m.gmane-mx.org; Mon, 16 May 2022 20:29:29 +0200 Original-Received: from localhost ([::1]:49746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqfTD-0001RE-WB for guile-devel@m.gmane-mx.org; Mon, 16 May 2022 14:29:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqfSm-0001QE-RF for guile-devel@gnu.org; Mon, 16 May 2022 14:29:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqfSm-0007iw-IW; Mon, 16 May 2022 14:29:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=zXqZ7MkvzSc2k+cJyaM5gaMOIJgbiq7sxmLgoFgYckw=; b=SsKbsa8FPcGciNYPWzcA KlXKYYBUCDCMG8ZhiO/Z0oXIyuiLFGMyAzC/NQD/w65GoxXbwqYzAFWIL3L2Dla/X5GkX/7URpDRx 60JtEVrIaVc8IYbtGw5SFFyV3rPO9o9tkPhI/NynPIK39w4/ToHK18PK0V6QyJhYj9DPUU9dWVsvv I76aOIHCbosYW6A1VjN25DbjoWTIsQB+V8cMDlMpHTwGzf8srysF45cO9M3l5kZOH0FFQ8KDRhFGO IdaCcOvKxA4OGJ/r0nak5JZ1U0foi95TY+tIS5wk+ju4KRIDdwc3NQUSsRpquqh4ZfT6KFwojaKFl k9+nxuVppNuiAw==; Original-Received: from 2a02-a462-da03-1-cf41-23bd-7156-6a6c.fixed6.kpn.net ([2a02:a462:da03:1:cf41:23bd:7156:6a6c]:41694 helo=drakenpad.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqfSl-0007bj-0s; Mon, 16 May 2022 14:29:00 -0400 X-Url: http://AvatarAcademy.nl In-Reply-To: <87r14zaglg.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Wed, 11 May 2022 23:45:31 +0200") X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:21213 Archived-At: Jan Nieuwenhuizen writes: Hello again, > I've reset and updated wip-mingw onto latest main: > > https://git.savannah.gnu.org/cgit/guile.git/log/?h=3Dwip-mingw If you tried this with a recent Guix, you probably got a segfault. I finally found that compiling with -flto (--enable-lto) creates broken DLLs with binutils > 2.35.2. This is "fixed" by using --disable-lto when compiling for mingw. So, also with a recent Guix, this should work: WINEPATH=3D$(guix shell wine64 -- winepath -w = \ $(echo $(guix gc -R = \ $(GUIX_PACKAGE_PATH=3Dguix guix build = \ --target=3Dx86_64-w64-mingw32 guile-min= gw))) \ | sed 's,$,/bin,g' | tr '\n' ';') = \ guix shell wine64 -- wine = \ $(GUIX_PACKAGE_PATH=3Dguix guix build --target=3Dx86_64-w64-mingw32 = \ guile-mingw)/bin/guile.exe = \ -c '(format #t "Hello ~a world!\n" %host-type)' Greetings, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond https://lilypond.org Freelance IT https://JoyOfSource.com | Avatar=C2=AE https://AvatarAcademy.c= om