aws-runas icon indicating copy to clipboard operation
aws-runas copied to clipboard

Arm64 executable do not work post 3.3.0

Open vinodnsshivaram opened this issue 2 years ago • 1 comments

looks like issue #67 is back again after 3.3.0 (3.3.3, 3.3.2 and 3.3.1 arm64 do not work, but works if i use amd64)

Device: 2021 16inch MacBook Pro - Apple M1 Pro below errors when using 3.3.2

file aws-runas aws-runas: Mach-O 64-bit executable arm64

./aws-runas zsh: killed ./aws-runas

./aws-runas -D zsh: killed ./aws-runas -D

./aws-runas -v zsh: killed ./aws-runas -v

uname -a Darwin ........ 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 arm64

vinodnsshivaram avatar May 23 '22 18:05 vinodnsshivaram

I don't have an Apple ARM system to build (or validate the build output) with, so I need to rely on trying to cross compile from an x86 based Mac. I've rebuilt the 3.3.3 binary, so see if it works. If there's no change, there's not much else I'll be able to do on my own

mmmorris1975 avatar May 29 '22 01:05 mmmorris1975

Works fine for me. I had to allow Mac run this software in finder first (right-click menu -> open), to allow Mac run unverified software. Then in terminal it started work fine. Previously, result was the same as for @vinodnsshivaram

michailw avatar Apr 27 '23 09:04 michailw

Thanks @michailw! I had to do the same thing on the new MBP I was issued for work. Once I got past the MacOS "security" gates, I was able to run version 3.5.2 without issue

mmmorris1975 avatar May 02 '23 18:05 mmmorris1975