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

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

Re: Unable to start Edwin "system-call-error": Bad address (also shown w


From: Cuong Dang
Subject: Re: Unable to start Edwin "system-call-error": Bad address (also shown when debugging)
Date: Tue, 09 Feb 2021 12:46:56 +0000

This bug is gone with the latest release! Also the speed is back to normal (it 
was relatively very slow before). Thank you very much.

Sincerely,
Cuong Dang


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, December 31, 2020 10:58 PM, Taylor R Campbell 
<campbell@mumble.net> wrote:

> > Date: Thu, 31 Dec 2020 09:58:09 +0000
> > From: Cuong Dang cuongd@protonmail.com
> > I'm running macOS Big Sur 11.1 on a MacBook Air M1 and encountering
> > this error while trying to start Edwin in Terminal. I installed
> > `mit-scheme' with Homebrew on the x86-64 architecture with Rosetta
> > 2.
> > [...]
> > The primitive channel-read, while executing the read system call,
> > received the error: Bad address.
>
> Not sure what that issue might be, but it should be possible to run
> MIT Scheme natively without Rosetta (and it's possible that the issue
> is a bug in Rosetta syscall emulation). You'll need to cross-build --
> should be easy, no external cross-compiler toolchain needed:
>
> 1.  On an x86 system with mit-scheme-x86-64 in $PATH (requires 10.1.11
>     or newer):
>
>     % cd mit-scheme-X.Y.Z/src
>     % ./configure \
>     --enable-native-code=aarch64le \
>     --enable-cross-compiling
>     % make cross-host
>
>     (May be able run this on the M1 laptop under Rosetta, but it's also
>     likely you'll run into the same issue as before.)
>
> 2.  Copy it over to your M1 laptop and run:
>
>     % cd mit-scheme-X.Y.Z/src
>     % (cd microcode && ./configure)
>     % make cross-target
>     % make check
>
>     You can run it out of the build tree with `./run-build', or install it 
> with`make install' (will respect any --prefix passed to configure in
>     case you want it installed in, e.g., /opt/local/mit-scheme/20201231).
>





reply via email to

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