From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Mark H Weaver <mhw@netris.org>
Newsgroups: gmane.lisp.guile.bugs
Subject: bug#10681: GNU Guile 2.0.5 released
Date: Tue, 31 Jan 2012 13:04:46 -0500
Message-ID: <87hazbg341.fsf@netris.org>
References: <87r4yg3l3e.fsf@gnu.org>
	<6B207FB0-C631-4DF8-A09D-046E2EB27361@telia.com>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: dough.gmane.org 1328033785 32205 80.91.229.3 (31 Jan 2012 18:16:25 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Tue, 31 Jan 2012 18:16:25 +0000 (UTC)
Cc: 10681@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
To: Hans Aberg <haberg-1@telia.com>
Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jan 31 19:16:24 2012
Return-path: <bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org>
Envelope-to: guile-bugs@m.gmane.org
Original-Received: from lists.gnu.org ([140.186.70.17])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org>)
	id 1RsIFg-0002cM-TT
	for guile-bugs@m.gmane.org; Tue, 31 Jan 2012 19:16:21 +0100
Original-Received: from localhost ([::1]:45614 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org>)
	id 1RsIFg-0003WW-CX
	for guile-bugs@m.gmane.org; Tue, 31 Jan 2012 13:16:20 -0500
Original-Received: from eggs.gnu.org ([140.186.70.92]:56214)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1RsIFY-0003VM-F5
	for bug-guile@gnu.org; Tue, 31 Jan 2012 13:16:18 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1RsI6R-0005OT-9j
	for bug-guile@gnu.org; Tue, 31 Jan 2012 13:09:13 -0500
Original-Received: from debbugs.gnu.org ([140.186.70.43]:43917)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1RsI6Q-0005OE-Lk
	for bug-guile@gnu.org; Tue, 31 Jan 2012 13:06:46 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1RsI6g-0000EP-UD
	for bug-guile@gnu.org; Tue, 31 Jan 2012 13:07:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Mark H Weaver <mhw@netris.org>
Original-Sender: debbugs-submit-bounces@debbugs.gnu.org
Resent-CC: bug-guile@gnu.org
Resent-Date: Tue, 31 Jan 2012 18:07:02 +0000
Resent-Message-ID: <handler.10681.B10681.1328033171815@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 10681
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
Original-Received: via spool by 10681-submit@debbugs.gnu.org id=B10681.1328033171815
	(code B ref 10681); Tue, 31 Jan 2012 18:07:02 +0000
Original-Received: (at 10681) by debbugs.gnu.org; 31 Jan 2012 18:06:11 +0000
Original-Received: from localhost ([127.0.0.1]:47536 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1RsI5q-0000D3-MU
	for submit@debbugs.gnu.org; Tue, 31 Jan 2012 13:06:11 -0500
Original-Received: from world.peace.net ([96.39.62.75]:36077 ident=hope4)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <mhw@netris.org>) id 1RsI5o-0000Ct-4R
	for 10681@debbugs.gnu.org; Tue, 31 Jan 2012 13:06:09 -0500
Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com
	([209.6.91.212] helo=yeeloong)
	by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.69) (envelope-from <mhw@netris.org>)
	id 1RsI5S-0003nH-JL; Tue, 31 Jan 2012 13:05:46 -0500
In-Reply-To: <6B207FB0-C631-4DF8-A09D-046E2EB27361@telia.com> (Hans Aberg's
	message of "Tue, 31 Jan 2012 15:21:57 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.43
X-BeenThere: bug-guile@gnu.org
List-Id: "Bug reports for GUILE,
	GNU's Ubiquitous Extension Language" <bug-guile.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guile>,
	<mailto:bug-guile-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-guile>
List-Post: <mailto:bug-guile@gnu.org>
List-Help: <mailto:bug-guile-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guile>,
	<mailto:bug-guile-request@gnu.org?subject=subscribe>
Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org
Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.lisp.guile.bugs:6123
Archived-At: <http://permalink.gmane.org/gmane.lisp.guile.bugs/6123>

Hans Aberg <haberg-1@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