From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Teeson Newsgroups: gmane.lisp.guile.devel Subject: Re: bug#13342: Errors trying to build Guile 2.0.7 Date: Wed, 23 Jan 2013 11:18:01 -0500 Message-ID: <78A8D9E1-E0DA-4AD9-92B9-57332A24A115@me.com> References: <06D14299-3E81-40B1-BFDD-5257083BED07@me.com> <87ehhdv0aw.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1358976526 6866 80.91.229.3 (23 Jan 2013 21:28:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jan 2013 21:28:46 +0000 (UTC) Cc: guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jan 23 22:29:01 2013 Return-path: Envelope-to: guile-devel@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 1Ty7sS-0006RX-5J for guile-devel@m.gmane.org; Wed, 23 Jan 2013 22:29:00 +0100 Original-Received: from localhost ([::1]:45688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ty7sA-0005PX-Qo for guile-devel@m.gmane.org; Wed, 23 Jan 2013 16:28:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ty31k-0001FQ-4T for guile-devel@gnu.org; Wed, 23 Jan 2013 11:18:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ty31b-0007HJ-PG for guile-devel@gnu.org; Wed, 23 Jan 2013 11:18:14 -0500 Original-Received: from mail-ie0-f170.google.com ([209.85.223.170]:43436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ty31b-0007Gm-Ix for guile-devel@gnu.org; Wed, 23 Jan 2013 11:18:07 -0500 Original-Received: by mail-ie0-f170.google.com with SMTP id k10so14241477iea.29 for ; Wed, 23 Jan 2013 08:18:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:mime-version:content-type:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer; bh=C1nsV2kM8Ep746UKHSYW+DABCZKogsN5AVsFzDMbRw8=; b=hCruD3mUZs6yE4GBY3Q2dQEEGkXL1bHInOPKa0OmEJRajeGtUSwC2y88cXBGY5lrnV 5dl2o85ZLlCKVxFnp6Y/5ZMENKoLsuJNVl4QOTNkh7XR/qRagpDo3jZwLH4jKFqVUBwv 0k/Hi8JCgY5G5EoDKSTXuY9So+xoJvp2pN+Y2UDX47pizlIpi0Je70/EFwye1sZ1Ry4J j/Lo5dAxw+felMAVjc4ONWEGloSR9jVthucraOV4ovrjhJK+x1WdVPplSRR1r3ylrq3z fMw67XX3hJ+vp9YHgmzXMI8dilUNrTeRF02/H5RIamI64nZrgdltSEmJr9mzoSXdgMhT yLWg== X-Received: by 10.50.179.33 with SMTP id dd1mr1581332igc.31.1358957884794; Wed, 23 Jan 2013 08:18:04 -0800 (PST) Original-Received: from [192.168.2.10] (bas4-toronto21-1176476140.dsl.bell.ca. [70.31.153.236]) by mx.google.com with ESMTPS id e9sm13420334igp.11.2013.01.23.08.18.01 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Jan 2013 08:18:02 -0800 (PST) In-Reply-To: <87ehhdv0aw.fsf@pobox.com> X-Mailer: Apple Mail (2.1283) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.223.170 X-Mailman-Approved-At: Wed, 23 Jan 2013 16:28:40 -0500 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15569 Archived-At: Hi Andy: Thanks for your patient help. GNU make and friends is entirely new to me = at the detail level. I did the following (starting from scratch): (0) Starting with the guile-2.0.7 tar ball ./configure && make && make check This used gcc and had 77 warnings and 1 test failure bad return from expression `(f-sum -1 2000 -30000 40000000000)': = expected 39999971999; got 39999972255 FAIL: test-ffi (1) Then I did=20 make clean && ./configure CC=3D/usr/bin/clang && make && make check This used clang and had 87 warnings and 2 test failures bad return from expression `(f-sum -1 2000 -30000 40000000000)': = expected 39999971999; got 39999972255 FAIL: test-ffi fail: scm_is_unsigned_integer ((- (expt 2 64) 1), 0, = 18446744073709551615) =3D=3D 1 FAIL: test-conversion (2) Comments: Many of the warnings were common to both compilers.=20 Based on the above tests I still maintain that the compilers are not at = fault in their code generation. Instead I suspect something is amiss in the interpreter. (3) Next step: I would like to step through the interpreter as it handles the = Scheme/guile code. Although I looked at the manual I am not sure what to do. (4) Questions: (a) Do I need to build a debug version of guile?=20 I note there is a debug flag that can be set. But I don't know = where to set it. (b) =46rom previous emails I understand I have to run the meta = uninstalled version. Ideally I would like to run from the terminal and stop the = interpreter before it executes the byte code for test-ffi. That way one can look at the bytes representing the int8_t and see = if the sign bit is set and interpreted correctly for this data type. NOTE: In stdint.h there is a typedef signed char int8_t Again thanks for the patient replies and help respect=85 Peter