2

When I run solana-test-validator I get

Job 1, 'solana-test-validator' terminated by signal SIGILL (Illegal instruction)

Configuration:

  • Mac m1 12.1
  • cargo 1.62.1 (a748cf5a3 2022-06-08)
  • rustup 1.25.1 (bb60b1e89 2022-07-12)
  • solana-cli 1.10.32 (src:9cdd84bb; feat:1871643445)
10
  • curious, does this still happen?
    – C.OG
    Commented Aug 12, 2022 at 17:25
  • Yeah, I have the latest updates.
    – vicyyn
    Commented Aug 12, 2022 at 20:12
  • What version of solana-test-validator --version. Im also on m1, dont remember having any issues with this
    – C.OG
    Commented Aug 12, 2022 at 20:15
  • 1
    I did, I was prompted to whilst setting up my mac with my other -- tools
    – C.OG
    Commented Aug 12, 2022 at 20:47
  • 1
    you don't need rosetta anymore, there are native mac arm64 binary releases now. update the question with the output of which solana, file $(which solana) and sysctl -n sysctl.proc_translated
    – trent.sol
    Commented Aug 18, 2022 at 5:54

1 Answer 1

2

As suggested by @trent.sol you don't need rosetta anymore, just use the native mac arm64 binary releases now.

To make it easier for others, install the releases from here.

you can follow the below steps:

wget https://github.com/solana-labs/solana/releases/download/v1.11.6/solana-release-aarch64-apple-darwin.tar.bz2

tar jxf solana-release-aarch64-apple-darwin.tar.bz2

cd solana-release

echo 'export PATH=$HOME/solana-release/bin:$PATH' >> ~/.zshrc

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.