Closed syeerzy closed 1 year ago
I deleted ~/.cache/common-lisp/ccl-1.12-f98-macosx-x64/Users/$USER/quicklisp/quicklisp/ and the error did not recur. Maybe a corrupt or incompatible FASL file?
@syeerzy @Devon7 Are you able to reproduce this issue with the most recent bootstrapping binaries and source from git master? If yes, are you able to provide a backtrace?
@phoe I just run with the most recent bootstrapping binaries and source from git master. and had deleted ~/.cache/common-lisp/ccl-1.12-f98-macosx-x64/Users/$USER/quicklisp/quicklisp/ as @Devon7 said.
when I run I run ./dx86cl64 success , get in to the real. and I run I run (rebuild-ccl :full t) ,
;Wrote bootstrapping image: #P"/[SOME_PATH]/x86-boot64.image" ;Building lisp-kernel ...
Error: Error(s) during kernel compilation.
While executing: REBUILD-CCL, in process listener(1). Type :POP to abort, :R for a list of available restarts. Type :? for other options.
Give us the full verbose log from CCL compilation - you can obtain it by:
(ccl:rebuild-ccl :full t :verbose t :exit t)
(ccl:rebuild-ccl :full t :verbose t :exit t) Rebuilding Clozure Common Lisp using Version 1.12-dev (v1.12-dev.5) DarwinX8664 ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/systems.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/systems.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/compile-ccl.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/compile-ccl.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/nxenv.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/nxenv.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/nx.lisp"... ; Including "/Users/SYZ/Projects/CCL/ccl-dev/compiler/nx-basic.lisp"... ; Including "/Users/SYZ/Projects/CCL/ccl-dev/compiler/lambda-list.lisp"... ; Including "/Users/SYZ/Projects/CCL/ccl-dev/compiler/nx0.lisp"... ; Including "/Users/SYZ/Projects/CCL/ccl-dev/compiler/nx1.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/l1-fasls/nx.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/optimizers.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/optimizers.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/dll-node.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/dll-node.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/arch.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/arch.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/vreg.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/vreg.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/vinsn.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/vinsn.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/reg.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/reg.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/subprims.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/subprims.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/backend.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/backend.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/nx2.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/nx2.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/acode-rewrite.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/acode-rewrite.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/X86/X8632/x8632-arch.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x8632-arch.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/X86/X8664/x8664-arch.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x8664-arch.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/X86/x86-arch.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x86-arch.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/x8632env.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x8632env.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/x8664env.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x8664env.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/X86/x86-asm.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x86-asm.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/X86/x86-lap.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x86-lap.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/X86/x86-backend.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x86-backend.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/X86/X8664/x8664-backend.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x8664-backend.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/X86/X8664/x8664-vinsns.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x8664-vinsns.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/X86/x862.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x862.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/X86/x86-lapmacros.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x86-lapmacros.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/xdump/xx8664-fasload.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/xdump/xx8664-fasload.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/xdump/xfasload.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/xdump/xfasload.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/xdump/heap-image.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/xdump/heap-image.dx64fsl"... Can't find #P"ccl:library;lispequ.dx64fsl.newest" so requiring "ccl:library;lispequ.lisp" instead Can't find #P"ccl:bin;hash.dx64fsl.newest" so requiring "ccl:lib;hash.lisp" instead Can't find #P"ccl:bin;backquote.dx64fsl.newest" so requiring "ccl:lib;backquote.lisp" instead Can't find #P"ccl:bin;level-2.dx64fsl.newest" so requiring "ccl:lib;level-2.lisp" instead Can't find #P"ccl:bin;macros.dx64fsl.newest" so requiring "ccl:lib;macros.lisp" instead Can't find #P"ccl:bin;defstruct-macros.dx64fsl.newest" so requiring "ccl:lib;defstruct-macros.lisp" instead Can't find #P"ccl:bin;lists.dx64fsl.newest" so requiring "ccl:lib;lists.lisp" instead Can't find #P"ccl:bin;chars.dx64fsl.newest" so requiring "ccl:lib;chars.lisp" instead Can't find #P"ccl:bin;setf.dx64fsl.newest" so requiring "ccl:lib;setf.lisp" instead Can't find #P"ccl:bin;setf-runtime.dx64fsl.newest" so requiring "ccl:lib;setf-runtime.lisp" instead Can't find #P"ccl:bin;defstruct.dx64fsl.newest" so requiring "ccl:lib;defstruct.lisp" instead Can't find #P"ccl:bin;defstruct-lds.dx64fsl.newest" so requiring "ccl:lib;defstruct-lds.lisp" instead Can't find #P"ccl:bin;foreign-types.dx64fsl.newest" so requiring "ccl:lib;foreign-types.lisp" instead Can't find #P"ccl:bin;db-io.dx64fsl.newest" so requiring "ccl:lib;db-io.lisp" instead Can't find #P"ccl:bin;nfcomp.dx64fsl.newest" so requiring "ccl:lib;nfcomp.lisp" instead Can't find #P"ccl:bin;hashenv.dx64fsl.newest" so requiring "ccl:xdump;hashenv.lisp" instead Can't find #P"ccl:bin;ffi-darwinx8664.dx64fsl.newest" so requiring "ccl:lib;ffi-darwinx8664.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/library/lispequ.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/library/lispequ.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/hash.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/hash.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/backquote.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/backquote.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/level-2.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/level-2.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/macros.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/macros.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/defstruct-macros.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/defstruct-macros.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/lists.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/lists.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/chars.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/chars.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/setf.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/setf.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/setf-runtime.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/setf-runtime.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/defstruct.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/defstruct.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/defstruct-lds.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/defstruct-lds.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/foreign-types.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/foreign-types.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/db-io.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/db-io.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/nfcomp.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/nfcomp.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/xdump/hashenv.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/hashenv.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/ffi-darwinx8664.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/ffi-darwinx8664.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/level-1.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-cl-package.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-boot-1.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-boot-2.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-boot-3.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-utils.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-init.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-symhash.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-numbers.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-aprims.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-sort.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-dcode.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-clos-boot.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-clos.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-unicode.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-streams.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-files.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-io.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-format.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-readloop.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-reader.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-sysio.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-pathnames.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-events.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-boot-lds.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-readloop-lds.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-lisp-threads.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-application.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-processes.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-typesys.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/sysutils.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-error-system.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-error-signal.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/version.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-callbacks.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/l1-sockets.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/linux-files.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/x86-error-signal.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/x86-trap-support.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/x86-threads-utils.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/x86-callback-support.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/streams.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/streams.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/pathnames.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/pathnames.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/backtrace.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/backtrace.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/apropos.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/apropos.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/numbers.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/numbers.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/dumplisp.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/dumplisp.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/source-files.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/source-files.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/swink.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/swink.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/x86-backtrace.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x86-backtrace.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/compiler/X86/x86-disassemble.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x86-disassemble.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/x86-watch.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/x86-watch.dx64fsl"... Can't find #P"ccl:bin;encapsulate.dx64fsl.newest" so requiring "ccl:lib;encapsulate.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/encapsulate.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/encapsulate.dx64fsl"... Can't find #P"ccl:bin;read.dx64fsl.newest" so requiring "ccl:lib;read.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/read.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/read.dx64fsl"... Can't find #P"ccl:bin;misc.dx64fsl.newest" so requiring "ccl:lib;misc.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/misc.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/misc.dx64fsl"... Can't find #P"ccl:bin;arrays-fry.dx64fsl.newest" so requiring "ccl:lib;arrays-fry.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/arrays-fry.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/arrays-fry.dx64fsl"... Can't find #P"ccl:bin;sequences.dx64fsl.newest" so requiring "ccl:lib;sequences.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/sequences.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/sequences.dx64fsl"... Can't find #P"ccl:bin;sort.dx64fsl.newest" so requiring "ccl:lib;sort.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/sort.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/sort.dx64fsl"... Can't find #P"ccl:bin;method-combination.dx64fsl.newest" so requiring "ccl:lib;method-combination.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/method-combination.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/method-combination.dx64fsl"... Can't find #P"ccl:bin;case-error.dx64fsl.newest" so requiring "ccl:lib;case-error.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/case-error.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/case-error.dx64fsl"... Can't find #P"ccl:bin;pprint.dx64fsl.newest" so requiring "ccl:lib;pprint.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/pprint.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/pprint.dx64fsl"... Can't find #P"ccl:bin;format.dx64fsl.newest" so requiring "ccl:lib;format.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/format.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/format.dx64fsl"... Can't find #P"ccl:bin;time.dx64fsl.newest" so requiring "ccl:lib;time.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/time.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/time.dx64fsl"... Can't find #P"ccl:bin;backtrace-lds.dx64fsl.newest" so requiring "ccl:lib;backtrace-lds.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/backtrace-lds.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/backtrace-lds.dx64fsl"... Can't find #P"ccl:bin;ccl-export-syms.dx64fsl.newest" so requiring "ccl:lib;ccl-export-syms.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/ccl-export-syms.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/ccl-export-syms.dx64fsl"... Can't find #P"ccl:bin;prepare-mcl-environment.dx64fsl.newest" so requiring "ccl:lib;prepare-mcl-environment.lisp" instead ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/prepare-mcl-environment.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/bin/prepare-mcl-environment.dx64fsl"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/number-macros.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/number-case-macro.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/library/loop.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-1/runtime.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/mcl-compat.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/arglist.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/edit-callers.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/lib/describe.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/library/cover.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/library/leaks.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/library/core-files.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/library/dominance.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/library/swank-loader.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/library/remote-lisp.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/tools/asdf.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/library/sockets.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/tools/defsystem.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/library/jp-encode.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/library/cn-encode.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-aprims.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-array.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-bignum32.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-bignum64.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-cfm-support.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-complex.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-def.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-error.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-float.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-hash.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-init.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-int.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-io.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-misc.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-numbers.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-pred.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-symbol.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-utils.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/nfasload.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/X8664/x8664-bignum.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-array.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-clos.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-def.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-float.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-hash.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-io.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-misc.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-numbers.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-pred.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-symbol.lisp"... ;Compiling "/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-utils.lisp"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/X8664/x8664-bignum.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-array.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-clos.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-def.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-float.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-hash.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-io.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-misc.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-numbers.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-pred.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-symbol.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/X86/x86-utils.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-aprims.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-array.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-bignum32.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-bignum64.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-cfm-support.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-complex.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-def.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-error.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-float.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-hash.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-init.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-int.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-io.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-misc.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-numbers.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-pred.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-symbol.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/l0-utils.dx64fsl"... ;Loading #P"/Users/SYZ/Projects/CCL/ccl-dev/level-0/nfasload.dx64fsl"... ;Wrote bootstrapping image: #P"/Users/SYZ/Projects/CCL/ccl-dev/x86-boot64.image" ;Building lisp-kernel ...
Error: Error(s) during kernel compilation.
While executing: REBUILD-CCL, in process listener(1). Type :POP to abort, :R for a list of available restarts. Type :? for other options. 1 >
We are getting no output whatsoever from compiling the Lisp kernel. Let's try building it manually.
You seem to be on a 64-bit macOS. Could you go into ccl/lisp-kernel/darwinx8664/
and issue make
in that directory?
make gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../x86-spjump64.s | as -arch x86_64 -g -Q -o x86-spjump64.o gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../x86-spentry64.s | as -arch x86_64 -g -Q -o x86-spentry64.o gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../x86-subprims64.s | as -arch x86_64 -g -Q -o x86-subprims64.o gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../imports.s | as -arch x86_64 -g -Q -o imports.o dtrace -h -s ../probes.d cc -include ../platform-darwinx8664.h -c ../pmcl-kernel.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o pmcl-kernel.o cc -include ../platform-darwinx8664.h -c ../gc-common.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o gc-common.o cc -include ../platform-darwinx8664.h -c ../x86-gc.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o x86-gc.o cc -include ../platform-darwinx8664.h -c ../bits.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o bits.o cc -include ../platform-darwinx8664.h -c ../x86-exceptions.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o x86-exceptions.o cc -include ../platform-darwinx8664.h -c ../x86-utils.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o x86-utils.o cc -include ../platform-darwinx8664.h -c ../thread_manager.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o thread_manager.o cc -include ../platform-darwinx8664.h -c ../lisp-debug.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o lisp-debug.o cc -include ../platform-darwinx8664.h -c ../image.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o image.o cc -include ../platform-darwinx8664.h -c ../memory.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o memory.o cc -include ../platform-darwinx8664.h -c ../unix-calls.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o unix-calls.o cc -include ../platform-darwinx8664.h -c ../mach-o-image.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o mach-o-image.o gm4 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -I../ ../x86-asmutils64.s | as -arch x86_64 -g -Q -o x86-asmutils64.o mig -arch x86_64 -header /dev/null -user /dev/null \ -sheader mach_exc.h -server mach_exc_server.c \ ../mach_exc.defs cc -include ../platform-darwinx8664.h -c mach_exc_server.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o mach_exc_server.o cc -include ../platform-darwinx8664.h -c ../lispdcmd.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o lispdcmd.o cc -include ../platform-darwinx8664.h -c ../plprint.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o plprint.o cc -include ../platform-darwinx8664.h -c ../plsym.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o plsym.o cc -include ../platform-darwinx8664.h -c ../xlbt.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o xlbt.o cc -include ../platform-darwinx8664.h -c ../x86_print.c -arch x86_64 -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DVC_REVISION="v1.12-dev.5-10-g71cc1a5a" -DUSE_DTRACE \ -g -O -Wno-format \ -I. -mmacosx-version-min=10.9 -o x86_print.o cc -mmacosx-version-min=10.9 -arch x86_64 \ -Wl,-no_pie,-pagezero_size,0x11000,-seg1addr,0x11000 \ -o ../../dx86cl64 x86-spjump64.o x86-spentry64.o x86-subprims64.o imports.o pmcl-kernel.o gc-common.o x86-gc.o bits.o x86-exceptions.o x86-utils.o thread_manager.o lisp-debug.o image.o memory.o unix-calls.o mach-o-image.o x86-asmutils64.o mach_exc_server.o lispdcmd.o plprint.o plsym.o xlbt.o x86_print.o ld: warning: building for macOS, but linking in object file (x86-spentry64.o) built for ld: warning: building for macOS, but linking in object file (x86-spjump64.o) built for ld: warning: building for macOS, but linking in object file (x86-subprims64.o) built for ld: warning: building for macOS, but linking in object file (imports.o) built for ld: warning: building for macOS, but linking in object file (x86-asmutils64.o) built for
Weird - I see no errors in the make output, which might mean that the core was build successfully.
Could you re-run rebuild-ccl
and, when it signals the error, could you give us a backtrace?
I re-run (rebuild-ccl)
success this time.
Absolutely weird, but not unexpected.
If you have the time, would you mind trying to reproduce this issue from complete scratch? That means cloning the sources, unpacking the bootstrapping binaries in the directory, and attempting to (rebuild-ccl :full t :verbose t :exit t)
.
yes , I try this (rebuild-ccl :full t :verbose t :exit t) from complete scratch.
still that error.
Could you give us a backtrace of the error?
I do not have a Catalina environment myself to try and debug this properly, but maybe someone else will have more luck.
:B
(1B198B0) : 0 (FUNCALL #'#
1 > (:F 0)
(14668B0) : 0 (FUNCALL #'#
CCL::ALLOW-CONSTANT-REDEFINITION-P: NIL CCL::BUILD-TIME-OPTIONAL-FEATURES: NIL FEATURES: (:CLTL2 :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 ...) SAVE-SOURCE-LOCATIONS: :NO-TEXT CCL::CD: #P"/Users/SYZ/Projects/CCL/ccl/" CCL::CERROR-ON-CONSTANT-REDEFINITION: NIL WARN-IF-REDEFINE-KERNEL: NIL CCL::S: #<STRING-OUTPUT-STREAM #x302001EA4C9D> CCL::PROC: #<EXTERNAL-PROCESS (make -C lisp-kernel/darwinx8664 ...)[5361] (SIGNALED : 9) #x302001EA469D> CCL::STATUS: :SIGNALED CCL::EXIT-CODE: 9
1 > (:F 1) (1466A80) : 1 (CALL-CHECK-REGS REBUILD-CCL :FULL T :VERBOSE T :EXIT T) 229 (CCL::FN &REST CCL::ARGS) CCL::FN: REBUILD-CCL CCL::ARGS: (:FULL T :VERBOSE T :EXIT ...)
CCL::OLD-REGS: NIL
For some reason I don't understand, (rebuild-ccl :full t)
broke on macOS (see #289).
Therefore, when rebuilding the lisp on the Mac, first build the lisp kernel by hand (cd lisp-kernel/darwinx8664 && make clean && make
), and then start the lisp and run (rebuild-ccl :clean t)
.
The notes on the current 1.12.2 release mention this.
I want to build from source code on macOS 10.15 beta.
I follow the steps in the documendation.
when I run ./dx86cl64 to start the ccl repl , it said
I say :GO to continue, and run (rebuild-ccl :full t) it goes to ...
;Wrote bootstrapping image: #P"[SOME PATH]/x86-boot64.image" ;Building lisp-kernel ...