GNU bug report logs - #10681
GNU Guile 2.0.5 released

Previous Next

Package: guile;

Reported by: Hans Aberg <haberg-1 <at> telia.com>

Date: Tue, 31 Jan 2012 14:23:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 10681 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Hans Aberg <haberg-1 <at> telia.com>
Cc: 10681 <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: bug#10681: GNU Guile 2.0.5 released
Date: Tue, 31 Jan 2012 13:04:46 -0500
Hans Aberg <haberg-1 <at> telia.com> writes:

> The 'make check' gives this error, on OS X 10.7.2 using the compiler
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 supplied by Xcode 4.2.1:
>
>   PASS: test-asmobs
> bad return from expression `(f-sum -1 2000 -30000 40000000000)': expected 39999971999; got 39999972255

I may be stating the obvious here, but the -1, which is declared to be
of type 'scm_t_int8' in the C function being called, is apparently being
interpreted as 255.  This suggests that whatever is handling its
promotion to a full int is failing to extend its sign bit.  I'm guessing
that this is libffi's job.

Hans: can you please verify that your libffi's 'make check' passes all
tests on your platform?  If it passes, and if this ends up being a
different build of 'libffi' than you were previously using, it would be
helpful if you could install the newly-built 'libffi', then do a fresh
rebuild of Guile 2.0.5 and see if that fixes the problem.

     Thanks,
       Mark




This bug report was last modified 13 years and 6 days ago.

Previous Next


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