From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Emsley Newsgroups: gmane.lisp.guile.user Subject: Re: compiling 1.8.0 Date: Mon, 07 Aug 2006 13:40:30 +0100 Message-ID: <1154954430.3543.68.camel@localhost.localdomain> References: <20060804175648.GA27873@ysbl.york.ac.uk> <44D45FF0.3050206@student.liu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1154954483 12691 80.91.229.2 (7 Aug 2006 12:41:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Aug 2006 12:41:23 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Aug 07 14:41:22 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GA4Pn-0006XZ-Tp for guile-user@m.gmane.org; Mon, 07 Aug 2006 14:41:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GA4Pn-0001N2-EM for guile-user@m.gmane.org; Mon, 07 Aug 2006 08:41:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GA4PB-00013o-OP for guile-user@gnu.org; Mon, 07 Aug 2006 08:40:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GA4PA-000136-SL for guile-user@gnu.org; Mon, 07 Aug 2006 08:40:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GA4PA-00012y-FY for guile-user@gnu.org; Mon, 07 Aug 2006 08:40:24 -0400 Original-Received: from [217.12.12.197] (helo=smtp807.mail.ukl.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1GA4TO-000788-QT for guile-user@gnu.org; Mon, 07 Aug 2006 08:44:47 -0400 Original-Received: (qmail 45836 invoked from network); 7 Aug 2006 12:39:51 -0000 Original-Received: from unknown (HELO ?192.168.0.3?) (constantina.fotinou@btinternet.com@86.130.7.99 with login) by smtp807.mail.ukl.yahoo.com with SMTP; 7 Aug 2006 12:39:51 -0000 Original-To: Claes Wallin In-Reply-To: <44D45FF0.3050206@student.liu.se> X-Mailer: Evolution 2.2.2 (2.2.2-5) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5442 Archived-At: On Sat, 2006-08-05 at 11:08 +0200, Claes Wallin wrote: > Paul Emsley wrote: > > Dear Guile users, > > > > I have a problem compiling/running 1.8.0: > > > > $ ./configure --prefix=$pfx > > $ make > > $ make install > > $ cd $pfx/bin > > �$ ./guile > > Backtrace: > > In unknown file: > > ... > > ?: 123 [list apply ... > > ?: 124* [list lambda (syntmp-dummy-3 syntmp-name-4 syntmp-rules-5) ... > > ?: 125* [syntmp-chi-151 #(syntax-object # #) (# # # # ...) ... > > ?: 126* [syntmp-make-binding-wrap-132 (# # #) ("i" "i" "i") (())] > > ?: 127 (if (null? syntmp-ids-949) syntmp-w-951 ...) > > ?: 128 [cons () ... > > ?: 129* [cons ... > > ?: 130* (let* ((syntmp-labelvec-952 #)) (let* (#) (let # #))) > > ?: 131 (let* ((syntmp-n-953 #)) (let (# #) (begin # #))) > > ... > > ?: 132 (begin # #) > > ?: 133* [syntmp-f-956 (# # #) 0] > > ?: 134 (if (not #) (call-with-values # #)) > > ... > > ?: 135 [call-with-values # #] > > ?: 136 (@call-with-values (producer consumer)) > > ?: 137* [#] > > ?: 138* [syntmp-id-sym-name&marks-116 #(syntax-object dummy #) (())] > > ?: 139 (if (syntmp-syntax-object?-101 syntmp-x-980) (values # #) ...) > > ?: 140* [syntmp-syntax-object?-101 #(syntax-object dummy (# # # shift .. .))] > > ?: 141 (and (vector? syntmp-x-1008) (= (vector-length syntmp-x-1008) 3) ...) > > ?: 142* (vector? syntmp-x-1008) > > > > : In expression (vector? syntmp-x-1008): > > : Stack overflow > > > > This happens on all the computers I've tried to compile 1.8.0 on. > > Can you help? > > Like someone pointed out to me a couple of weeks ago on another list, > compiling with optimizations is necessary for guile to work correctly. So: > > $ ./configure --prefix=$pfx CFLAGS=-O2 > > That should do it. > > Is this documented somewhere? If not, shouldn't it be? And if it is, > shouldn't it be documented more prominently, like in INSTALL? Or, since > it's a requirement for guile working correctly, could it even be a > standard CFLAGS in configure? Hi Claes, Yes indeed - that was the fix. Thanks! For the record it was compiling with default flags (including -g) that was the problem. -O and -O2 works. I echo your comments about documentation. Cheers, Paul. now off to play with threads... _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user