On Wed, 2003-09-03 at 19:24, Eric Marsden wrote:
> at the start of the build script, you should add a form
> 
>    (ext:unlock-all-packages)
> 
> It seems that the continue restarts from the package error signaling
> points don't work correctly when rebuilding CMUCL; I don't understand
> why.

Brilliant thanks Eric. Very odd.

Now can anyone cast magic pixie dust over the build process?
With Pierre R. Mai's cmucl-2003-08-15-x86-linux.tar.bz2 binary I 
noticed this Error abort:

target:compiler/alloc
target:compiler/knownfun
Error abort.
target:compiler/fndb
target:compiler/generic/vm-fndb
target:compiler/main

The compile abort explains why this eventually happens:

;;; Loading 
#p"/home/adam/files/cmucl/debian/cmucl-18e.orig/src/compiler/knownfun.lisp".


Error in function EVAL:INTERNAL-EVAL:
   Attempt to evaluation a complex expression:
     (EVAL-WHEN (:COMPILE-TOPLEVEL)
       (DO-DEFCONSTANT-COMPILE-TIME 'IR1-ATTRIBUTE-TRANSLATIONS
        '((CALL . 1) (UNSAFE . 2) (UNWIND . 4) (ANY . 8) (FOLDABLE . 16)
          (FLUSHABLE . 32) (MOVABLE . 64) (PREDICATE . 128) (RECURSIVE . 256)
          (EXPLICIT-CHECK . 512) (DYNAMIC-EXTENT-CLOSURE-SAFE . 1024))
        'NIL))
This expression must be compiled, but the compiler is not loaded.
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [CONTINUE] Return NIL from load of "c:knownfun".
  1:            Return NIL from load of "c:loadcom.lisp".
  2:            Return NIL from load of "target:tools/worldload".
  3: [ABORT   ] Return to Top-Level.

Debug  (type H for help)
(EVAL:INTERNAL-EVAL
 (EVAL-WHEN (:COMPILE-TOPLEVEL)
   (DO-DEFCONSTANT-COMPILE-TIME 'IR1-ATTRIBUTE-TRANSLATIONS '# 'NIL))
 #<unused-arg>
 #<unused-arg>)
Source: 
; File: target:code/eval.lisp
(ERROR "Attempt to evaluation a complex expression:~%     ~S~@
          This expression must be compiled, but the compiler is not loaded."
       FORM)
0] 


And using the cmucl-2003-08-18-dyn-ext-x86-linux.tar.bz2 binary this
happens:

target:clx/resource
;; Loading
#p"/home/adam/files/cmucl/debian/cmucl-18e.orig/target/clx/resource.x86f".
target:code/clx-ext
Error in batch processing:
(during macroexpansion)

Attempt to modify the locked package EXTENSIONS, by
   defining macro WITH-CLX-EVENT-HANDLING
make[1]: *** [all] Error 3
make[1]: Leaving directory
`/home/adam/files/cmucl/debian/cmucl-18e.orig'
make: *** [build-arch-stamp] Error 2


Which is odd considering I modified build-world.sh:
...
$LISP "$@" -noinit -nositeinit <<EOF
(ext:unlock-all-packages)

(in-package :cl-user)
...

Thanks,
Adam


Reply via email to