From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: shookie@email.de Newsgroups: gmane.lisp.guile.bugs Subject: bug#13848: Statically linking guile-2.0. Date: Sun, 10 Mar 2013 23:03:08 +0100 Message-ID: References: <5130D52F.3000704@email.de> <87vc994y8f.fsf@gnu.org> <51354234.4000208@email.de> <87vc96i1st.fsf@gnu.org> <513612F7.90002@email.de> <87lia1kbd5.fsf@gnu.org> <513670C8.9000101@email.de> <874ngoazrt.fsf@gnu.org> <513B3CDA.1010409@email.de> <87txokxjf3.fsf@pobox.com> <6DCD2DC1-4838-448F-A056-CE5954C745A2@email.de> <87hakjxish.fsf@pobox.com> <87ehfnvz2d.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1362953061 3227 80.91.229.3 (10 Mar 2013 22:04:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Mar 2013 22:04:21 +0000 (UTC) Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 13848@debbugs.gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Mar 10 23:04:45 2013 Return-path: Envelope-to: guile-bugs@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 1UEoMH-0005CT-5X for guile-bugs@m.gmane.org; Sun, 10 Mar 2013 23:04:45 +0100 Original-Received: from localhost ([::1]:54635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEoLu-0003sL-Vi for guile-bugs@m.gmane.org; Sun, 10 Mar 2013 18:04:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEoLn-0003ro-SC for bug-guile@gnu.org; Sun, 10 Mar 2013 18:04:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEoLk-0003lR-4s for bug-guile@gnu.org; Sun, 10 Mar 2013 18:04:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEoLk-0003lK-0o for bug-guile@gnu.org; Sun, 10 Mar 2013 18:04:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UEoMY-00081c-98 for bug-guile@gnu.org; Sun, 10 Mar 2013 18:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: shookie@email.de Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 10 Mar 2013 22:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13848 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 13848-submit@debbugs.gnu.org id=B13848.136295305530791 (code B ref 13848); Sun, 10 Mar 2013 22:05:02 +0000 Original-Received: (at 13848) by debbugs.gnu.org; 10 Mar 2013 22:04:15 +0000 Original-Received: from localhost ([127.0.0.1]:44603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEoLl-00080W-Oh for submit@debbugs.gnu.org; Sun, 10 Mar 2013 18:04:14 -0400 Original-Received: from mout.web.de ([212.227.15.3]:54185) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEoLg-00080H-VT for 13848@debbugs.gnu.org; Sun, 10 Mar 2013 18:04:11 -0400 Original-Received: from [192.168.0.3] ([92.231.229.87]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MQNzw-1UKQWe2iNw-00Tn3b; Sun, 10 Mar 2013 23:03:09 +0100 In-Reply-To: <87ehfnvz2d.fsf@pobox.com> X-Mailer: Apple Mail (2.1499) X-Provags-ID: V02:K0:VzFDq18SEyRnNTOHdBOQVkhj6cAwKE4wthaZHonMcDT lA9uLWEJXdAUjGXcL4UFVg3tuxtZTUvP2oMv5bRs5xpX4A+Mb9 J57rQnYfOXUZs48kzOWPtWCjk5UUyicAPWTAB/dyt/tM7YBXPK 1rUp/pKhoUn2mEJRXaAhnRtVRl7EZwi/7WbimYMJmaIe9H0aZz itcI/bPgGn9h5LqvV+Ggg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6931 Archived-At: Ok, came pretty far, but then, during the GUILEC phase it started = complaining that "poll" is not available, poll.go was't created then, = and finally it failed to install poll.go Here's the log. I tried it both with and without posix and threads = enabled. wrote `web/server.go' GUILEC web/server/http.go Backtrace: In system/base/compile.scm: 153: 19 [# = #] 216: 18 [read-and-compile # #:from ...] 232: 17 [lp () #f #] 180: 16 [lp (#) (define-module # = # ...) ...] In ice-9/boot-9.scm: 2191: 15 [save-module-excursion #] In language/scheme/compile-tree-il.scm: 31: 14 [#] In ice-9/psyntax.scm: 1091: 13 [expand-top-sequence ((define-module # # # ...)) () ((top)) = ...] 976: 12 [scan ((define-module (web server http) #:use-module ...)) () = ...] 270: 11 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...] In ice-9/eval.scm: 411: 10 [eval # ()] In ice-9/boot-9.scm: 2741: 9 [define-module* (web server http) #:filename ...] 2716: 8 [resolve-imports ((# # #) (#) (#) (#) ...)] 2654: 7 [resolve-interface (ice-9 poll) #:select ...] 2579: 6 [# # ...] 2850: 5 [try-module-autoload (ice-9 poll) #f] 2191: 4 [save-module-excursion #] 2870: 3 [#] In unknown file: ?: 2 [primitive-load-path "ice-9\\poll" ...] ?: 1 [load-extension "libguile-2.0" "scm_init_poll"] In ice-9/boot-9.scm: 106: 0 [# = misc-error ...] ice-9/boot-9.scm:106:20: In procedure #: ice-9/boot-9.scm:106:20: In procedure %init-poll: `poll' unavailable on = this platform GUILEC web/uri.go wrote `web/uri.go' make[4]: Entering directory = `/c/Users/shookie/guiletest/lib/guile-2.0/module' make[4]: Nothing to be done for `install-exec-am'. GUILEC ice-9/poll.go Backtrace: In ice-9/eval.scm: 432: 19 [eval # #] 387: 18 [eval # #] In srfi/srfi-1.scm: 619: 17 [for-each # #] In scripts/compile.scm: 182: 16 [# = "ice-9/poll.scm"] In system/base/target.scm: 59: 15 [with-target "i686-pc-mingw32" ...] In system/base/compile.scm: 150: 14 [compile-file "ice-9/poll.scm" #:output-file ...] 43: 13 [call-once #] In ice-9/boot-9.scm: 171: 12 [with-throw-handler #t ...] In system/base/compile.scm: 59: 11 [#] 153: 10 [# = #] 216: 9 [read-and-compile # #:from ...] 232: 8 [lp (#) # = ...] 180: 7 [lp (#) (eval-when # #) = ...] In ice-9/boot-9.scm: 2191: 6 [save-module-excursion #] In language/scheme/compile-tree-il.scm: 31: 5 [#] In ice-9/psyntax.scm: 1091: 4 [expand-top-sequence ((eval-when # #)) () ((top)) ...] 976: 3 [scan ((eval-when # #)) () ((top)) ...] 270: 2 [scan ((load-extension # "scm_init_poll")) () ((top)) ...] In unknown file: ?: 1 [load-extension "libguile-2.0" "scm_init_poll"] In ice-9/boot-9.scm: 106: 0 [# = misc-error ...] ice-9/boot-9.scm:106:20: In procedure #: ice-9/boot-9.scm:106:20: In procedure %init-poll: `poll' unavailable on = this platform GUILEC scripts/autofrisk.go Backtrace: In ice-9/psyntax.scm: 1101: 19 [expand-top-sequence ((define (unglob pattern) (let # #))) () = ...] 1259: 18 [#] 1605: 17 [expand-simple-lambda (# . #) () (()) ...] 1509: 16 [parse (((# #) . #(syntax-object # # #))) () () () () () ()] In ice-9/boot-9.scm: 627: 15 [map # ((# = . #))] In ice-9/psyntax.scm: 2114: 14 [expand-let (let # #) (# #) (# # #) ...] In ice-9/boot-9.scm: 627: 13 [map # (#)] In ice-9/psyntax.scm: 1257: 12 [# = (open-input-pipe #)] 1186: 11 [syntax-type (open-input-pipe #) (# #) (# # #) ...] 579: 10 [syntax-type open-input-pipe (# #) (# # #) ...] 292: 9 [get-global-definition-hook open-input-pipe (hygiene scripts = autofrisk)] In unknown file: ?: 8 [module-variable # = open-input-pipe] In ice-9/boot-9.scm: 2790: 7 [b # open-input-pipe #f] 2579: 6 [# # ...] 2850: 5 [try-module-autoload (ice-9 popen) #f] 2191: 4 [save-module-excursion #] 2870: 3 [#] In unknown file: ?: 2 [primitive-load-path "ice-9\\popen" ...] ?: 1 [load-extension "libguile-2.0" "scm_init_popen"] In ice-9/boot-9.scm: 106: 0 [# = misc-error ...] ice-9/boot-9.scm:106:20: In procedure #: ice-9/boot-9.scm:106:20: In procedure dynamic-link: file: = "libguile-2.0", message: "The specified module could not be found." GUILEC scripts/scan-api.go Backtrace: In system/base/compile.scm: 153: 19 [# = #] 216: 18 [read-and-compile # #:from ...] 232: 17 [lp () #f #] 180: 16 [lp # # # ...] In ice-9/boot-9.scm: 2191: 15 [save-module-excursion #] In language/scheme/compile-tree-il.scm: 31: 14 [#] In ice-9/psyntax.scm: 1091: 13 [expand-top-sequence ((define-module # :use-module # ...)) () = ((top)) ...] 976: 12 [scan ((define-module (scripts scan-api) :use-module ...)) () = ...] 270: 11 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...] In ice-9/eval.scm: 411: 10 [eval # ()] In ice-9/boot-9.scm: 2741: 9 [define-module* (scripts scan-api) #:filename ...] 2716: 8 [resolve-imports (((ice-9 popen)) ((ice-9 rdelim)) ((ice-9 = regex)))] 2654: 7 [resolve-interface (ice-9 popen) #:select ...] 2579: 6 [# # ...] 2850: 5 [try-module-autoload (ice-9 popen) #f] 2191: 4 [save-module-excursion #] 2870: 3 [#] In unknown file: ?: 2 [primitive-load-path "ice-9\\popen" ...] ?: 1 [load-extension "libguile-2.0" "scm_init_popen"] In ice-9/boot-9.scm: 106: 0 [# = misc-error ...] ice-9/boot-9.scm:106:20: In procedure #: ice-9/boot-9.scm:106:20: In procedure dynamic-link: file: = "libguile-2.0", message: "The specified module could not be found." GUILEC web/server/http.go Backtrace: In system/base/compile.scm: 153: 19 [# = #] 216: 18 [read-and-compile # #:from ...] 232: 17 [lp () #f #] 180: 16 [lp (#) (define-module # = # ...) ...] In ice-9/boot-9.scm: 2191: 15 [save-module-excursion #] In language/scheme/compile-tree-il.scm: 31: 14 [#] In ice-9/psyntax.scm: 1091: 13 [expand-top-sequence ((define-module # # # ...)) () ((top)) = ...] 976: 12 [scan ((define-module (web server http) #:use-module ...)) () = ...] 270: 11 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...] In ice-9/eval.scm: 411: 10 [eval # ()] In ice-9/boot-9.scm: 2741: 9 [define-module* (web server http) #:filename ...] 2716: 8 [resolve-imports ((# # #) (#) (#) (#) ...)] 2654: 7 [resolve-interface (ice-9 poll) #:select ...] 2579: 6 [# # ...] 2850: 5 [try-module-autoload (ice-9 poll) #f] 2191: 4 [save-module-excursion #] 2870: 3 [#] In unknown file: ?: 2 [primitive-load-path "ice-9\\poll" ...] ?: 1 [load-extension "libguile-2.0" "scm_init_poll"] In ice-9/boot-9.scm: 106: 0 [# = misc-error ...] ice-9/boot-9.scm:106:20: In procedure #: ice-9/boot-9.scm:106:20: In procedure %init-poll: `poll' unavailable on = this platform /bin/install -c -m 644 ice-9/psyntax-pp.go ice-9/boot-9.go = ice-9/vlist.go ice-9/r4rs.go ice-9/r5rs.go ice-9/deprecated.go = ice-9/and-let-star.go ice-9/binary-ports.go ice-9/calling.go = ice-9/command-line.go ice-9/common-list.go ice-9/con trol.go ice-9/curried-definitions.go ice-9/debug.go = ice-9/documentation.go ice-9/eval-string.go ice-9/expect.go = ice-9/format.go ice-9/futures.go ice-9/getopt-long.go ice-9/hcons.go = ice-9/i18n.go ice-9/iconv.go ice-9/lineio.go ice-9/ls.go ice-9/mapping.go ice-9/match.go ice-9/networking.go ice-9/null.go = ice-9/occam-channel.go ice-9/optargs.go ice-9/poe.go ./ice-9/poll.go = ice-9/posix.go ice-9/q.go ice-9/rdelim.go ice-9/receive.go = ice-9/regex.go ice-9/runq.go ice-9/rw.go ' /c/Users/shookie/guiletest/lib/lib/guile/2.0/ccache//ice-9' /bin/install: cannot stat `./ice-9/poll.go': No such file or directory make[4]: *** [install-nobase_ccacheDATA] Error 1 make[4]: Leaving directory = `/c/Users/shookie/guiletest/lib/guile-2.0/module' make[3]: *** [install-am] Error 2 make[3]: Leaving directory = `/c/Users/shookie/guiletest/lib/guile-2.0/module' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/c/Users/shookie/guiletest/lib/guile-2.0' make[1]: *** [install] Error 2 make[1]: Leaving directory `/c/Users/shookie/guiletest/lib/guile-2.0' make: *** [lib/lib/libguile-2.0.a] Error 2 On 10.03.2013, at 20:23, Andy Wingo wrote: > On Sun 10 Mar 2013 18:32, Andy Wingo writes: >=20 >>> The problem is, when I do build bdw-gc with posix threads, the guile >>> module compiling is all broken, it periodically drops messages like >>> this: >>>=20 >>> GUILEC ice-9/eval.go >>> Backtrace: >>> In unknown file: >>> ?: 3 [apply-smob/1 # #t ...] >>> ?: 2 [apply-smob/1 #] >>> ?: 1 [primitive-eval ((@ # %) (begin # # #))] >>> ?: 0 [chmod # 438] >=20 > I have made what might be a fix for this issue. Can you try this > tarball: >=20 > http://wingolog.org/priv/guile-2.0.7.182-e9381.tar.gz >=20 > Thanks, >=20 > Andy > --=20 > http://wingolog.org/