From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.devel Subject: Re: Compiling guile-2.2.4 for mingw Date: Tue, 20 Nov 2018 19:10:53 +0200 Message-ID: <83k1l7isiq.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1542733741 2864 195.159.176.226 (20 Nov 2018 17:09:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2018 17:09:01 +0000 (UTC) Cc: guile-devel@gnu.org To: Christoph Buck Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Nov 20 18:08:57 2018 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gP9WA-0000by-Vq for guile-devel@m.gmane.org; Tue, 20 Nov 2018 18:08:55 +0100 Original-Received: from localhost ([::1]:34868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP9YH-0006qU-8K for guile-devel@m.gmane.org; Tue, 20 Nov 2018 12:11:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP9Y0-0006qL-Ix for guile-devel@gnu.org; Tue, 20 Nov 2018 12:10:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP9Xx-0006so-F6 for guile-devel@gnu.org; Tue, 20 Nov 2018 12:10:48 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP9Xx-0006sE-AA; Tue, 20 Nov 2018 12:10:45 -0500 Original-Received: from [176.228.60.248] (port=4674 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gP9Xw-0001uC-Km; Tue, 20 Nov 2018 12:10:45 -0500 In-reply-to: (message from Christoph Buck on Tue, 20 Nov 2018 15:31:25 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19752 Archived-At: > From: Christoph Buck > Date: Tue, 20 Nov 2018 15:31:25 +0100 > > > ice-9/boot-9.scm:752:25: In procedure dispatch-exception: > > In procedure bytevector-u64-set!: Value out of range: -149659645 > > make[2]: *** [Makefile:1931: ice-9/eval.go] Error 1 > > make[2]: Leaving directory '/home/Christoph.Buck/guile-2.2.4/bootstrap' > > make[1]: *** [Makefile:1857: all-recursive] Error 1 > > make[1]: Leaving directory '/home/Christoph.Buck/guile-2.2.4' > > make: *** [Makefile:1743: all] Error 2 > > I have no idea what might be wrong here or how to fix this problem. Does > anbody have an idea? I have a guess: bytevector-u64-set! uses GMP functions to store a 64-bit value, but GMP doesn't yet support that on Windows, because it thinks it can get away with the 'long' type for that, and 'long' is a 32-bit type on Windows, even in 64-bit builds. I would suggest first to build a 32-bit Guile against a 32-bit GMP. If that fails in the same way, then my guess is wrong ;-)