Error running x86_64 binary on M1
I get the following Rosetta (?) error when running an AMD64 darwin binary. Is there a work around?
Reproduction steps with source:
curl -L https://github.com/storj/storj/releases/latest/download/identity_darwin_amd64.zip -o identity_darwin_amd64.zip
unzip -o identity_darwin_amd64.zip
chmod +x identity
✦ ❯ identity create meganode
Generating key with a minimum a difficulty of 36...
Generated 38335600 keys; best difficulty so far: 34assertion failed [abi_info.kind == AbiKind::TranslatedCode]: emulated forward to an arm pc that isn't in translated code. arm_pc=0x1055ce4d8 abi_kind=6 emulation_interval=[0x105ee54fc,0x105ee5510) instruction_interval=[0x105ee54e8, 0x105ee5510) x86_rip=0x42176a0
(ThreadContextRegisterState.cpp:677 move_to_instruction_boundary)
Generated 38335900 keys; best difficulty so far: 34
MacBook Air 13″, macOS 11.0