Skip to content

Compile error in macos(M1) #4995

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

Closed
ci123chain opened this issue Oct 13, 2021 · 4 comments
Closed

Compile error in macos(M1) #4995

ci123chain opened this issue Oct 13, 2021 · 4 comments

Comments

@ci123chain
Copy link

ci123chain commented Oct 13, 2021

run make neard got error:

error[E0425]: cannot find function `get_fault_info` in this scope
   --> /Users/tan/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/wasmer-runtime-core-near-0.18.2/src/fault.rs:304:21
    |
304 |         let fault = get_fault_info(siginfo as _, ucontext);
    |                     ^^^^^^^^^^^^^^ not found in this scope

   Compiling near-performance-metrics v0.1.0 (/Users/tan/Documents/work/rust/nearcore/utils/near-performance-metrics)
For more information about this error, try `rustc --explain E0425`.
error: could not compile `wasmer-runtime-core-near` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [neard] Error 101
@matklad
Copy link
Contributor

matklad commented Oct 13, 2021

Yeah, we currently don't support ARM compilation. You can use rustup set default-host x86_64-apple-darwin to compile near to x86_64 on ARM.

@bowenwang1996
Copy link
Collaborator

Duplicate of #3803

@bowenwang1996 bowenwang1996 marked this as a duplicate of #3803 Oct 13, 2021
@ivanproskuryakov
Copy link

@matklad
Copy link
Contributor

matklad commented Feb 2, 2022

FWIW, we've landed preliminary support for M1 on master yesterday: #6200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants