From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: autocompilation support in master Date: Fri, 05 Jun 2009 23:15:43 +0100 Message-ID: <87d49ijpio.fsf@arudy.ossau.uklinux.net> References: <87hbyujpof.fsf@arudy.ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1244240163 26770 80.91.229.12 (5 Jun 2009 22:16:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2009 22:16:03 +0000 (UTC) Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 06 00:15:59 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MChhc-0006oa-Fm for guile-devel@m.gmane.org; Sat, 06 Jun 2009 00:15:56 +0200 Original-Received: from localhost ([127.0.0.1]:42236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MChhY-0004zO-Th for guile-devel@m.gmane.org; Fri, 05 Jun 2009 18:15:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MChhV-0004yd-Hs for guile-devel@gnu.org; Fri, 05 Jun 2009 18:15:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MChhQ-0004xs-Qx for guile-devel@gnu.org; Fri, 05 Jun 2009 18:15:48 -0400 Original-Received: from [199.232.76.173] (port=47972 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MChhQ-0004xc-Iv for guile-devel@gnu.org; Fri, 05 Jun 2009 18:15:44 -0400 Original-Received: from mail3.uklinux.net ([80.84.72.33]:51296) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MChhQ-0003Hk-4g for guile-devel@gnu.org; Fri, 05 Jun 2009 18:15:44 -0400 Original-Received: from arudy (host86-152-99-133.range86-152.btcentralplus.com [86.152.99.133]) by mail3.uklinux.net (Postfix) with ESMTP id 8D4741FA60F; Fri, 5 Jun 2009 23:15:43 +0100 (BST) Original-Received: from arudy.ossau.uklinux.net (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id 320C838022; Fri, 5 Jun 2009 23:15:43 +0100 (BST) In-Reply-To: <87hbyujpof.fsf@arudy.ossau.uklinux.net> (Neil Jerram's message of "Fri\, 05 Jun 2009 23\:12\:16 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:8627 Archived-At: Neil Jerram writes: > ... > GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/spec.go" "language/ecmascript/spec.scm" > ERROR: Stack overflow > > But if I switch to a shell and repeat with --debug, no problem: > > neil@arudy:~/SW/Guile/git/module$ GUILE_AUTO_COMPILE=0 GUILE_FLAGS=--debug ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/spec.go" "language/ecmascript/spec.scm" > wrote `language/ecmascript/spec.go' > > And no problem if I now remove the --debug again: > > neil@arudy:~/SW/Guile/git/module$ GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/spec.go" "language/ecmascript/spec.scm" > wrote `language/ecmascript/spec.go' > > Or even if I delete language/ecmascript/spec.go and retry (so it's not > connected with spec.scm already having been compiled): > > neil@arudy:~/SW/Guile/git/module$ rm language/ecmascript/spec.go > neil@arudy:~/SW/Guile/git/module$ GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/spec.go" "language/ecmascript/spec.scm" > wrote `language/ecmascript/spec.go' One more data point. If I now try `make' again, it fails a bit later with compile-ghil: ... Making all in module make[2]: Entering directory `/home/neil/SW/Guile/git/module' GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/impl.go" "language/ecmascript/impl.scm" wrote `language/ecmascript/impl.go' GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/base.go" "language/ecmascript/base.scm" wrote `language/ecmascript/base.go' GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/function.go" "language/ecmascript/function.scm" wrote `language/ecmascript/function.go' GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/array.go" "language/ecmascript/array.scm" wrote `language/ecmascript/array.go' GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o "language/ecmascript/compile-ghil.go" "language/ecmascript/compile-ghil.scm" ERROR: Stack overflow Neil