[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipse
From: |
Andreas Metzler |
Subject: |
Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel |
Date: |
Sat, 12 Nov 2011 17:16:54 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On 2011-11-06 Ludovic Courtès <address@hidden> wrote:
[...]
> The problem is that Guile 1.8 uses off_t fields in its scm_t_port
> structure, which is public [0]. On armv5tel-unknown-linux-gnueabi, that
> structure is 96-byte long when _FILE_OFFSET_BITS == 32, and 120-bit long
> otherwise.
> By default, Guile 1.8 is compiled with _FILE_OFFSET_BITS == 32, whereas
> GnuTLS 3.0 gets compiled with _FILE_OFFSET_BITS == 64 (probably as a
> result of a Gnulib change.) Hence the problem.
> A simple workaround is to build Guile 1.8 with
> CPPFLAGS=-D_FILE_OFFSET_BITS=64, or to #define _FILE_OFFSET_BITS 32 just
> before any #include <libguile.h> in GnuTLS (or, better yet, to use Guile
> 2.0 ;-)).
FYI as a hotfix I am now building gnutls with --disable-largefile on
armel armhf mipsel.
> Ideally, though, GnuTLS would have a configure check to determine what
> _FILE_OFFSET_BITS value Guile is expecting, but I can’t think of any
> reliable way to do that. Ideas?
[...]
Could you build a simple program that returns sizeof(scm_t_port)?
cu andreas
- Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel, Nikos Mavrogiannopoulos, 2011/11/05
- Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel, Ludovic Courtès, 2011/11/06
- Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel, Nikos Mavrogiannopoulos, 2011/11/06
- Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel, Ludovic Courtès, 2011/11/06
- Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel, Nikos Mavrogiannopoulos, 2011/11/06
- Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel, Ludovic Courtès, 2011/11/06
- Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel, Nikos Mavrogiannopoulos, 2011/11/06
- Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel, Andreas Metzler, 2011/11/07
- Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel, Ludovic Courtès, 2011/11/07
- Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel, Nikos Mavrogiannopoulos, 2011/11/07
Re: guile testsuite failure (gnutls 3.0.1 and later) and armel and mipsel,
Andreas Metzler <=