How to track down the following error?
In the latest scheme (12.1) compiled exactly as the instructions for a unix
binary and with a plain Xcode command line system I get a fully working system
under the Monterey version of macOS. However from Ventura on I am not able to
compile a simple scheme file. If the file has already been compiled under
Monterey I can load the file and experience 50x faster function calls but I
cannot re-compile it
The error is:
(cf "fib-sonoma.scm")
;Generating SCode for file: "fib-sonoma.scm" => "fib-sonoma.bin"... done
;Compiling file: "fib-sonoma.bin" => "fib-sonoma.com"...
;Warning: Procedure called with wrong number of arguments #[primitive-procedure
15 %record-length] 2
;Warning: Procedure called with wrong number of arguments #[primitive-procedure
15 %record-length] 2
;Primitive called with incorrect number of arguments. #[primitive-procedure 15
%record-length] 2
;To continue, call RESTART with an option number:
; (RESTART 2) => Return to read-eval-print level 2.
What is the best way to try to track this down. I tried various things:
Compile mit-scheme x86_64 under Monterey and transfer to Sonoma
Compile mit-scheme x86_64 under Sonoma
Compile portable SVM under Sonoma
I’ve run out of energy to try gcc