GNU bug report logs - #22406
Cannot compile for Windows x64 due to LLP64 model

Previous Next

Package: guile;

Reported by: Peter TB Brett <peter <at> peter-b.co.uk>

Date: Tue, 19 Jan 2016 13:51:01 UTC

Severity: normal

Tags: patch

Merged with 19019

Full log


View this message in rfc822 format

From: Mark H Weaver <mhw <at> netris.org>
To: Peter TB Brett <peter <at> peter-b.co.uk>
Cc: 22406 <at> debbugs.gnu.org
Subject: bug#22406: Cannot compile for Windows x64 due to LLP64 model
Date: Mon, 20 Jun 2016 16:01:13 -0400
Peter TB Brett <peter <at> peter-b.co.uk> 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




This bug report was last modified 4 years and 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.