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: David Gray
Subject: Re: (cf "somefile.scm") error
Date: Fri, 13 Oct 2023 11:47:00 +0300

I forgot to add:
if you don’t add "(declare (usual-integrations))”
it will compile but if you load the file you get:
(load "fib-sonoma")
;Loading "fib-sonoma.com"...
;The object fib, passed as an argument to return-address->stack-frame-type, is 
not in the correct range.


> On 13 Oct 2023, at 11:30 AM, David Gray <dgray@iesl.forth.gr> 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]