[cmucl-help] build cmucl-21b on darwin-ppc powermac G5, osx 10.5.8, gcc 4.9 fail.

ssbb effed3s at gmail.com
Tue Mar 7 00:05:40 UTC 2017


Hello
   i try to build cmucl-21b using cmucl-21a bins on darwin-ppc 
(osx-10.5.8, powermac G5, osx 10.5.8, gcc 4.9.4), but building fail at 
stage-3.
I have read the docs about installing and building, and proceed with 
some trials.
Cmucl-21a is installed in /usr/local/cmucl-21a and started with 
/usr/local/bin/lisp sh launcher.

At first built does not start because on my G5 `uname -m` return 'Power 
Macintosh' and not 'ppc' as build.sh expect. After correcting all the 
`uname -m` case, the build begin and proceed reaching stage-3. and some 
Errors show up:

    #<Stream for file 
"/Users/stefano/build/cmucl-21b/ppc-3/assembly/ppc/assem-rtns.assem"> 
was compiled for a fasl-file version 21A, but we need version 21B

Same error repeat for all others files:

( assembly/ppc/array.assem  assembly/ppc/arith.assem 
assembly/ppc/alloc.assem  code/type-boot.ppcf code/fdefinition.ppcf  
code/eval.ppcf  code/struct.ppcf code/fwrappers.ppcf  
code/typedefs.ppcf  code/class.ppcf code/type.ppcf  
compiler/generic/vm-type.ppcf  code/type-init.ppcf code/error.ppcf  
code/defstruct.ppcf  compiler/proclaim.ppcf compiler/globaldb.ppcf  
code/pred.ppcf  code/pathname.ppcf code/filesys.ppcf  code/kernel.ppcf  
code/bit-bash.ppcf code/byte-interp.ppcf  code/array.ppcf  
code/unidata.ppcf code/char.ppcf  code/lispinit.ppcf  code/seq.ppcf 
code/numbers.ppcf  code/float.ppcf  code/float-trap.ppcf 
code/irrat.ppcf  code/irrat-dd.ppcf  code/bignum.ppcf code/list.ppcf  
code/hash-new.ppcf  code/macros.ppcf code/symbol.ppcf  code/string.ppcf  
code/mipsstrops.ppcf code/misc.ppcf  code/dfixnum.ppcf  code/gc.ppcf  
code/scavhook.ppcf code/save.ppcf  code/rand-mt19937.ppcf  
code/alieneval.ppcf code/c-call.ppcf  code/sap.ppcf  code/unix.ppcf  
code/bsd-os.ppcf code/serve-event.ppcf  code/stream.ppcf  
code/fd-stream.ppcf code/print.ppcf  code/pprint.ppcf  code/format.ppcf 
code/package.ppcf  code/reader.ppcf  code/load.ppcf 
code/foreign-linkage.ppcf  code/ppc-vm.ppcf  code/signal.ppcf 
code/interr.ppcf  code/debug-info.ppcf  code/debug-int.ppcf 
code/debug.ppcf  code/intl-tramp.ppcf  code/unicode.ppcf )

I select [continue], loading all fasl 21A files.
Building proceed and error show again:

#<Stream for file 
"/Users/stefano/build/cmucl-21b/ppc-3/code/extensions.bytef"> was 
compiled for fasl-file version 21A, but this is version 21B
    [Condition of type INVALID-FASL]

I [continue] again and build goes to:

Error in KERNEL::UNBOUND-SYMBOL-ERROR-HANDLER:  the variable 
C:*COMPILER-NOTIFICATION-FUNCTION* is unbound.
    [Condition of type UNBOUND-VARIABLE]

At this time i select [continue] to see what happen, but situation seems 
not good.
System loads some .lisp files until:

;; Loading #P"/Users/stefano/build/cmucl-21b/src/compiler/loadcom.lisp".

Error in function EVAL:INTERNAL-EVAL:
    Attempt to evaluation a complex expression:
      (FILE-COMMENT "$Header: src/compiler/loadcom.lisp $")
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:loadcom.lisp".
   1:            Return NIL from load of "target:tools/worldload".
   2: [ABORT   ] Return to Top-Level.

Debug  (type H for help)

(EVAL:INTERNAL-EVAL (FILE-COMMENT "$Header: src/compiler/loadcom.lisp $")
                     #<unused-arg>
                     #<unused-arg>)
Source:
; File: target:code/eval.lisp
(ERROR
  (GETTEXT "Attempt to evaluation a complex expression:~%     ~S~@
       This expression must be compiled, but the compiler is not loaded.")
  FORM)
0] 0
[Doing purification: Done.]
;; Loading #P"/Users/stefano/build/cmucl-21b/src/compiler/loadbackend.lisp".

Error in function EVAL:INTERNAL-EVAL:
    Attempt to evaluation a complex expression:
      (FILE-COMMENT "$Header: src/compiler/loadbackend.lisp $")
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:loadbackend.lisp".
   1:            Return NIL from load of "target:tools/worldload".
   2: [ABORT   ] Return to Top-Level.

Debug  (type H for help)

(EVAL:INTERNAL-EVAL (FILE-COMMENT "$Header: 
src/compiler/loadbackend.lisp $")
                     #<unused-arg>
                     #<unused-arg>)
Source: (ERROR
          (GETTEXT "Attempt to evaluation a complex expression:~% ~S~@
       This expression must be compiled, but the compiler is not loaded.")
          FORM)
0] 0

Error in KERNEL::UNBOUND-SYMBOL-ERROR-HANDLER:  the variable C:*BACKEND* 
is unbound.
    [Condition of type UNBOUND-VARIABLE]

Restarts:
   0: [CONTINUE] Return NIL from load of "target:tools/worldload".
   1: [ABORT   ] Return to Top-Level.

Debug  (type H for help)

(EVAL C:*BACKEND*)
Source: (SYMBOL-VALUE EXP)
0] 0
NIL
*
Received EOF on *standard-input*, switching to *terminal-io*.
* (quit)


Any idea about?
thanks in advance.
-------------
Stefano.B



More information about the cmucl-help mailing list