mit-scheme-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (cf "somefile.scm") error


From: Chris Hanson
Subject: Re: (cf "somefile.scm") error
Date: Tue, 17 Oct 2023 15:49:11 -0400
User-agent: Mozilla Thunderbird

Sorry for the long delay in responding.

I'd be interested in seeing what the debugger shows for that error. Can you run it and show the first few frames to give me an idea where the problem is?

On 10/13/23 04:30, David Gray wrote:
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]