From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#22406: Cannot compile for Windows x64 due to LLP64 model Date: Mon, 20 Jun 2016 16:01:13 -0400 Message-ID: <87a8iftyt2.fsf@netris.org> References: <569E3F19.9000502@peter-b.co.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466452948 23967 80.91.229.3 (20 Jun 2016 20:02:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2016 20:02:28 +0000 (UTC) Cc: 22406@debbugs.gnu.org To: Peter TB Brett Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Jun 20 22:02:17 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bF5Og-0008Oi-Ei for guile-bugs@m.gmane.org; Mon, 20 Jun 2016 22:02:14 +0200 Original-Received: from localhost ([::1]:46162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF5Of-0003KT-I7 for guile-bugs@m.gmane.org; Mon, 20 Jun 2016 16:02:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF5Oa-0003KD-Cg for bug-guile@gnu.org; Mon, 20 Jun 2016 16:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF5OU-00009s-EP for bug-guile@gnu.org; Mon, 20 Jun 2016 16:02:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF5OU-00009o-BP for bug-guile@gnu.org; Mon, 20 Jun 2016 16:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bF5OU-0001qB-0q for bug-guile@gnu.org; Mon, 20 Jun 2016 16:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 20 Jun 2016 20:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22406 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 22406-submit@debbugs.gnu.org id=B22406.14664528937039 (code B ref 22406); Mon, 20 Jun 2016 20:02:01 +0000 Original-Received: (at 22406) by debbugs.gnu.org; 20 Jun 2016 20:01:33 +0000 Original-Received: from localhost ([127.0.0.1]:48041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF5O0-0001pS-UG for submit@debbugs.gnu.org; Mon, 20 Jun 2016 16:01:33 -0400 Original-Received: from world.peace.net ([50.252.239.5]:36956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF5Nz-0001pG-Ir for 22406@debbugs.gnu.org; Mon, 20 Jun 2016 16:01:31 -0400 Original-Received: from c-73-253-48-168.hsd1.ma.comcast.net ([73.253.48.168] helo=jojen) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bF5Nt-0000OQ-AE; Mon, 20 Jun 2016 16:01:25 -0400 In-Reply-To: <569E3F19.9000502@peter-b.co.uk> (Peter TB Brett's message of "Tue, 19 Jan 2016 13:50:17 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8040 Archived-At: Peter TB Brett writes: > It is not currently possible to compile Guile 2.0.11 for Windows x64 > (in particular 64-bit Windows running on the x86-64 arch). > > Most operating systems' C libraries for x86-64 use an "LP64" model, > where sizeof(long int) == sizeof(void *) == 8. > > However, for backwards-compatibility reasons, Windows uses an "LLP64" > model, where sizeof(long long int) == sizeof(void *) == 8 and > sizeof(long int) == 4. I pushed commit b0a702d7733e02cb68ea2331bd632e25a3127c75 to stable-2.0 which should, I hope, fix the specific issues raised in this bug report. However, there are likely to be other places in guile where similar assumptions are made. If you'd like to test current 'stable-2.0' on LLP64, we can proceed. Thanks! Mark