From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Detlev Zundel Newsgroups: gmane.lisp.guile.devel Subject: Re: Compilation error with stable-2.0 branch Date: Tue, 29 Mar 2011 15:56:27 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301430531 15259 80.91.229.12 (29 Mar 2011 20:28:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2011 20:28:51 +0000 (UTC) Cc: guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Mar 29 22:28:47 2011 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.69) (envelope-from ) id 1Q4fWw-0007M1-Jw for guile-devel@m.gmane.org; Tue, 29 Mar 2011 22:28:46 +0200 Original-Received: from localhost ([127.0.0.1]:59669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4fWv-000418-6g for guile-devel@m.gmane.org; Tue, 29 Mar 2011 16:28:45 -0400 Original-Received: from [140.186.70.92] (port=37785 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4ZPU-0000NA-1O for guile-devel@gnu.org; Tue, 29 Mar 2011 09:57:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4ZPN-0002sF-W8 for guile-devel@gnu.org; Tue, 29 Mar 2011 09:56:35 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:34527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4ZPN-0002rW-HJ for guile-devel@gnu.org; Tue, 29 Mar 2011 09:56:33 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 518681C01F38; Tue, 29 Mar 2011 15:56:28 +0200 (CEST) X-Auth-Info: 6B+WFDh25Os38lO3hFWWAuRWpBX21vy1x7+w3u6cegI= Original-Received: from mail.denx.de (host-82-135-33-74.customer.m-online.net [82.135.33.74]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id 39FB21C000FE; Tue, 29 Mar 2011 15:56:28 +0200 (CEST) Original-Received: from ohwell.denx.de (ohwell [10.0.40.4]) by mail.denx.de (Postfix) with ESMTP id 18EFB4073382; Tue, 29 Mar 2011 15:56:28 +0200 (CEST) Original-Received: from dzu by ohwell.denx.de with local (Exim 4.72) (envelope-from ) id 1Q4ZPI-0003ol-0O; Tue, 29 Mar 2011 15:56:28 +0200 In-Reply-To: (Andy Wingo's message of "Tue, 29 Mar 2011 13:23:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.9 X-Mailman-Approved-At: Tue, 29 Mar 2011 16:28:34 -0400 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:12064 Archived-At: Hi Andy, > On Mon 28 Mar 2011 16:39, Detlev Zundel writes: > >> compiling TOT of this branch (commit >> 9dadfa47b07548ff5cf3604067910c8aece93c42 [fix prompt in fix in >> single-value context compilation]) fails like this: >> >> make[2]: Entering directory `/opt/src/git/guile/libguile' >> make all-am >> make[3]: Entering directory `/opt/src/git/guile/libguile' >> CCLD guile >> ./.libs/libguile-2.0.so: undefined reference to `GC_pthread_cancel' >> ./.libs/libguile-2.0.so: undefined reference to `GC_pthread_exit' > Thanks for your effort but I'm still not successful building it. The dependency tracking in the build system seems to be a little bit shaky. I simply updated my git repo to current TOT (8cf49d836ff41838812cba1fd61bfce3fb877144 [fix compilation with libgc 7.0, 7.1]) and did a "make". This resulted in warnings like this: GUILEC ice-9/psyntax-pp.go ;;; note: source file /opt/src/git/guile/module/ice-9/boot-9.scm ;;; newer than compiled /opt/src/git/guile/module/ice-9/boot-9.go ;;; note: source file /opt/src/git/guile/module/ice-9/psyntax-pp.scm ;;; newer than compiled /opt/src/git/guile/module/ice-9/psyntax-pp.go ;;; note: source file /opt/src/git/guile/module/srfi/srfi-9.scm ;;; newer than compiled /opt/src/git/guile/module/srfi/srfi-9.go ;;; note: source file /opt/src/git/guile/module/system/base/compile.scm ;;; newer than compiled /opt/src/git/guile/module/system/base/compile.go ;;; note: source file /opt/src/git/guile/module/language/tree-il.scm ;;; newer than compiled /opt/src/git/guile/module/language/tree-il.go ;;; note: source file /opt/src/git/guile/module/language/objcode/spec.scm ;;; newer than compiled /opt/src/git/guile/module/language/objcode/spec.go ;;; note: source file /opt/src/git/guile/module/language/tree-il/compile-glil.scm ;;; newer than compiled /opt/src/git/guile/module/language/tree-il/compile-glil.go ;;; note: source file /opt/src/git/guile/module/language/tree-il/analyze.scm ;;; newer than compiled /opt/src/git/guile/module/language/tree-il/analyze.go ;;; note: source file /opt/src/git/guile/module/ice-9/vlist.scm ;;; newer than compiled /opt/src/git/guile/module/ice-9/vlist.go ;;; note: source file /opt/src/git/guile/module/language/tree-il/fix-letrec.scm ;;; newer than compiled /opt/src/git/guile/module/language/tree-il/fix-letrec.go ;;; note: source file /opt/src/git/guile/module/language/assembly/compile-bytecode.scm ;;; newer than compiled /opt/src/git/guile/module/language/assembly/compile-bytecode.go wrote `ice-9/psyntax-pp.go' At that point I stopped, did a "make clean && make". This time it failed like this: make[2]: Entering directory `/opt/src/git/guile/module' GUILEC ice-9/eval.go Backtrace: In unknown file: ?: 4 [boot-closure #t # ...] ?: 3 [catch-closure] ?: 2 [primitive-eval ((@ # %) (begin # # #))] ?: 1 [for-each # ("ice-9/eval.scm")] ?: 0 [boot-closure "ice-9/eval.scm"] ERROR: In procedure boot-closure: ERROR: Wrong type (expecting exact integer): ("ice-9/eval.scm") guile: uncaught throw to wrong-type-arg: (#f Wrong type (expecting ~A): ~S (exact integer (#t # # #)) ((#t # # #))) make[2]: *** [ice-9/eval.go] Error 1 make[2]: Leaving directory `/opt/src/git/guile/module' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/src/git/guile' make: *** [all] Error 2 Now I tried a "make distclean && ./configure && make" still with the same error, so I cranked up git bisect between TOT and v2.0.0 and it found this commit to be the problem: 12c1d8616d8dfedcad65f34e3968f9544b629ae1 is the first bad commit commit 12c1d8616d8dfedcad65f34e3968f9544b629ae1 Author: Andy Wingo Date: Fri Mar 25 13:01:51 2011 +0100 threading / with_guile refactor to use more GC_stack_base Unfortunately to verify that git bisect is right, I would need to revert that commit and check the result, but this is not possible without conflicts. So maybe this git bisect simply found the previous problem.... Sorry that I cannot be more helpful. Detlev -- insults: If set, sudo will insult users when they enter an incorrect password. This flag is off by default. -- man sudoers