[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66425] MIT/GNU Scheme 12.1 on macOS 15.1 -- compiler question
From: |
anonymous |
Subject: |
[bug #66425] MIT/GNU Scheme 12.1 on macOS 15.1 -- compiler question |
Date: |
Thu, 7 Nov 2024 22:56:09 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?66425>
Summary: MIT/GNU Scheme 12.1 on macOS 15.1 -- compiler
question
Group: MIT/GNU Scheme
Submitter: None
Submitted: Fri 08 Nov 2024 03:56:05 AM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email: kkylin@alum.mit.edu
Open/Closed: Open
Discussion Lock: Any
Keywords:
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 08 Nov 2024 03:56:05 AM UTC By: Anonymous
Hi,
I'm not 100% sure this counts as a "bug", but don't know where else to get
help so here goes: I'm building MIT/GNU Scheme 12.1 on macOS 15.1. On both an
M2 machine running Scheme in Rosetta and on an Intel machine, I get the same
behavior, namely I manage to build mit-scheme-12.1-x86-64.tar.gz but the
compiler doesn't seem to work: if I compile a file and load it, I get the
following:
MIT/GNU Scheme running under OS X
Type `^C' (control-C) followed by `H' to obtain information about interrupts.
Copyright (C) 2022 Massachusetts Institute of Technology
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Image saved on Friday January 6, 2023 at 10:11:41 PM
Release 12.1 || SF || LIAR/x86-64
1 ]=> (cf "fact.scm")
;Generating SCode for file: "fact.scm" => "fact.bin"...
; This program does not have a USUAL-INTEGRATIONS declaration.
; Without this declaration, the compiler will be unable to perform
; many optimizations, and as a result the compiled program will be
; slower and perhaps larger than it could be. Please read the MIT
; Scheme User's Guide for more information about USUAL-INTEGRATIONS.
;... done
;Compiling file: "fact.bin" => "fact.com"... done
;Unspecified return value
1 ]=> (load "fact.com")
;Loading "fact.com"...
;The object fact, passed as an argument to return-address->stack-frame-type,
is not in the correct range.
;To continue, call RESTART with an option number:
; (RESTART 1) => Return to read-eval-print level 1.
2 error>
Curiously, if I take a copy of "fact.com" compiled on a Linux box and load it
on my Mac version of Scheme 12.1, it does run correctly.
I say I'm not sure this counts as a bug because I don't think this is a
supported platform. But I don't know how to start to debug this as it seems
to be a compiler issue that only surfaces when I try to load and run the
compiled code.
In case it may help, I attach the files mentioned above, and the "bad"
compiled code. Any pointers would be greatly appreciated. Thanks!
Kevin
_______________________________________________________
File Attachments:
-------------------------------------------------------
Name: fact.scm Size: 68B
<https://file.savannah.gnu.org/file/fact.scm?file_id=56605>
-------------------------------------------------------
Name: fact.bci Size: 2KiB
<https://file.savannah.gnu.org/file/fact.bci?file_id=56606>
-------------------------------------------------------
Name: fact.bin Size: 1KiB
<https://file.savannah.gnu.org/file/fact.bin?file_id=56607>
-------------------------------------------------------
Name: fact.com Size: 2KiB
<https://file.savannah.gnu.org/file/fact.com?file_id=56608>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-8eb0dc21bd31d815a3c468cf5f2bed5fff196607.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66425>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #66425] MIT/GNU Scheme 12.1 on macOS 15.1 -- compiler question,
anonymous <=