-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emacs crashes when .so loaded on M1 #119
Comments
I have nativecomp, which requires gcc, but Rust uses LLVM, maybe that's the issue? On the other hand, on my Intel x86_64 Mac, I'm able to load the released library from Github, even though I use nativecomp there too. |
This happened because I tried to use the |
I'm having a similar issue. Which toolchain did you use from within |
@jesse-c I think I used that toolchain too |
There seems to be no release version for M1 macOS, so I attempted to compile the library using
cargo build --release --features emacs
. However, when I copy it to the location ofparinfer-rust-library
(basenameparinfer-rust-darwin.so
) fromparinfer-rust-mode
and runM-x parinfer-rust-mode
, Emacs segfaults, presumably as it's loading the .so.Encountered at commit 211f72e (current
master
) .Tagging @nwjsmith because he submitted #95 to enable the support in the first place (although maybe not for Emacs).
M-x emacs-version
: GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.2.0, NS appkit-2113.20 Version 12.1 (Build 21C52)) of 2022-01-12The text was updated successfully, but these errors were encountered: