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: Fri, 18 Jan 2013 23:42:20 -0500 Message-ID: <06D14299-3E81-40B1-BFDD-5257083BED07@me.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary_(ID_CRY6GX2FOMINX6T1CvSfGA)" X-Trace: ger.gmane.org 1358570548 26438 80.91.229.3 (19 Jan 2013 04:42:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2013 04:42:28 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jan 19 05:42:47 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 1TwQGQ-0004ep-NP for guile-devel@m.gmane.org; Sat, 19 Jan 2013 05:42:42 +0100 Original-Received: from localhost ([::1]:55838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwQG9-000739-T1 for guile-devel@m.gmane.org; Fri, 18 Jan 2013 23:42:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwQG5-00072i-0o for guile-devel@gnu.org; Fri, 18 Jan 2013 23:42:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwQG2-000744-Bv for guile-devel@gnu.org; Fri, 18 Jan 2013 23:42:20 -0500 Original-Received: from nk11p08mm-asmtp001.mac.com ([17.158.58.246]:53790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwQG2-00073o-6R for guile-devel@gnu.org; Fri, 18 Jan 2013 23:42:18 -0500 Original-Received: from [192.168.2.10] (bas4-toronto21-1176476140.dsl.bell.ca [70.31.153.236]) by nk11p08mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-26.01(7.0.4.26.0) 64bit (built Jul 13 2012)) with ESMTPSA id <0MGU00LVUVQE9O60@nk11p08mm-asmtp001.mac.com> for guile-devel@gnu.org; Sat, 19 Jan 2013 04:42:15 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327,1.0.431,0.0.0000 definitions=2013-01-19_01:2013-01-18, 2013-01-19, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=6 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1301180342 X-Mailer: Apple Mail (2.1283) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 17.158.58.246 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:15474 Archived-At: --Boundary_(ID_CRY6GX2FOMINX6T1CvSfGA) Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: quoted-printable MacOS X 10.7.5 Lion. MacPro 4,1Intel dual CPU quad cores. I've been away for a while so haven't worked on this. Back now and = picking up the thread. The bug is 13342 (see also 10015 and 10681) triggered by running make check > bad return from expression `(f-sum -1 2000 -30000 40000000000)': = expected 39999971999; got 39999972255 > FAIL: test-ffi There are 2 compilers available from Apple for C/C++=20 i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build = 5658) (LLVM build 2336.1.00) Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn) I've built a standalone test with both of these compilers and they seem = not to be the problem Using the configure/make/make install is routine. But I am not familiar = with the details of the make system. I built guile-2.0.7 using the default configure/make and have 2 = questions: (a) How can I find out which compiler/linker combo is used? (b) How can I change configure.ac to use the other one? (If that's = the right place to make the change) Thanks=85 Peter= --Boundary_(ID_CRY6GX2FOMINX6T1CvSfGA) Content-type: text/html; charset=windows-1252 Content-transfer-encoding: quoted-printable MacOS = X 10.7.5 Lion. MacPro 4,1Intel dual CPU quad cores.
I've been away = for a while so haven't worked on this. Back now and picking up the = thread.

The bug is 13342 (see also 10015 and 10681) = triggered by running
make = check

bad = return from expression `(f-sum -1 2000 -30000 40000000000)': expected = 39999971999; got 39999972255
FAIL: = test-ffi

There are 2 compilers = available from Apple for = C/C++ 
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 = (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
Apple = clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM = 3.0svn)

I've built a standalone test with both = of these compilers and they seem not to be the = problem
Using the configure/make/make install is = routine. But I am not familiar with the details of the make = system.

I built guile-2.0.7 using the default = configure/make and have 2 questions:
   (a) How can = I find out which compiler/linker combo is used?
  =  (b) How can I change configure.ac to use the other one? (If that's = the right place to make the = change)

Thanks=85

Peter<= /div>= --Boundary_(ID_CRY6GX2FOMINX6T1CvSfGA)--