[Openmcl-devel] CCL install & update fail with Catalina.
Bruce O'Neel
bruce.oneel at pckswarms.ch
Sat Nov 23 01:21:00 PST 2019
HI,
During the Catalina release cycle there were two stages of "CCL won't build on Catalina."
Catalina with the most recent developer tools, as has been discussed often, fails building the kernel with
../x86-spentry64.s:1116:4294967291 shortened to 251
../x86-spentry64.s:1184:suffix or operands invalid for `movq'
../x86-spentry64.s:1184:4294967291 shortened to 251
../x86-spentry64.s:1190:suffix or operands invalid for `movq'
../x86-spentry64.s:1190:4294967291 shortened to 251
../x86-spentry64.s:1205:suffix or operands invalid for `movq'
../x86-spentry64.s:1205:4294967291 shortened to 251
../x86-spentry64.s:1211:suffix or operands invalid for `movq'
../x86-spentry64.s:1211:4294967291 shortened to 251
The problem below occurred in the beta cycle before the most recent update to the developer tools, and, after spending an afternoon it seemed to be a segfault passing back the results of running the make to build the kernel. This meant that even though, basically,
(ccl:rebuild-ccl :full t)
was running correctly, it would fail to complete.
So.....
I did the following steps by hand and it seemed to produce a happily working ccl. Start from the ccl directory.
(cd lisp-kernel/darwinx8664; make clean; make)
rm level-0/*.dx64fsl
ccl> (ccl:xload-level-0)
ccl> (ccl:compile-ccl t)
ccl> (quit)
./dx86cl64 --image-name x86-boot64.image --no-init
ccl> (ccl:save-application "dx86cl64.image")
ccl > (require 'cocoa-application)
NB: This is not the exact order that (ccl:rebuild-ccl) uses so the above steps might not work in the cases where you are modifying parts of CCL.
cheers
bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20191123/47eee353/attachment.htm>
More information about the Openmcl-devel
mailing list