guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GOOPS/compiler circular dependency


From: Neil Jerram
Subject: Re: GOOPS/compiler circular dependency
Date: Thu, 03 Dec 2009 21:09:15 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

[...]
> ERROR: In procedure scm-error:
> ERROR: no such language glil

Here's a similar looking case from me.

address@hidden:~/SW/Guile/git$ meta/uninstalled-env guile --debug ../test-nj
Backtrace:
In ice-9/boot-9.scm:
2368: 19 [try-module-autoload (language glil)]
2371: 18 [#<program 934e760 at ice-9/boot-9.scm:2369:12 ()>]
1776: 17 [save-module-excursion #<program 934e6d0 at ice-9/boot-9.scm:2373:19 
()>]
2375: 16 [#<program 934e6d0 at ice-9/boot-9.scm:2373:19 ()>]
In unknown file:
   ?: 15 [#<program 934e5c0 ()>]
In ice-9/boot-9.scm:
2205: 14 [process-define-module ((language glil) #:use-module (#) #:use-module 
...)]
1481: 13 [call-with-deferred-observers #<program 93596e0 at 
ice-9/boot-9.scm:2205:11 ()>]
2208: 12 [#<program 93596e0 at ice-9/boot-9.scm:2205:11 ()>]
3053: 11 [module-export! # #]
3054: 10 [#<program 9359680 at ice-9/boot-9.scm:3052:14 (name)> 
glil-kw-prelude-rest]
1702: 9 [module-ensure-local-variable! #<directory # 92501f8> 
glil-kw-prelude-rest]
1474: 8 [module-modified #<directory (language glil) 92501f8>]
In oop/goops/dispatch.scm:
 200: 7 [#<program 9340690 at oop/goops/dispatch.scm:195:4 args> # #]
 181: 6 [comp # #]
In system/base/compile.scm:
 239: 5 [compile (lambda (p45 c44 p43 ...) (case-lambda (# #) (args #))) #:key 
...]
 178: 4 [compile-passes scheme value ()]
In system/base/language.scm:
  87: 3 [lookup-compilation-order scheme value]
In ice-9/boot-9.scm:
 129: 2 [or-map #<program 935ee00 at system/base/language.scm:79:21 (pair)> (#)]
In system/base/language.scm:
  77: 1 [lp tree-il ((# . #<program compile-tree-il (x e opts)>))]
In ice-9/boot-9.scm:
 692: 0 [error "no such language" tree-il]

ERROR: no such language tree-il
address@hidden:~/SW/Guile/git$ 

This happened during investigation of the
no-meta-in-compiled-define-syntax-thunk problem.  I wondered if the
problem would persist if I could persuade psyntax to emit scheme instead
of tree-il when compiling - the hypothesis being that the bug is
somewhere in one of the `(case (fluid-ref *mode*) ((c) ...' fragments of
code in psyntax.scm.

So in language/scheme/compile-tree-il.scm I changed (sc-expand x 'c ...)
to (sc-expand x 'd ...), and since then have been stuck with "no such
language tree-il".

      Neil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]