sandcat icon indicating copy to clipboard operation
sandcat copied to clipboard

Support for Darwin on arm64

Open petermat opened this issue 2 years ago • 3 comments

Current build for Darwin runs only on Intel based systems. ARM arch like MacBook M1 is failing.

...
$ ./splunkd -server $server -v
zsh: bad CPU type in executable: ./splunkd

Executable is Intel only:

file splunkd
splunkd: Mach-O 64-bit executable x86_64

Desired state:

$ file splunkd 
splunkd: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64
- Mach-O 64-bit executable x86_64] [arm64]
splunkd (for architecture x86_64):	Mach-O 64-bit executable x86_64
splunkd (for architecture arm64):	Mach-O 64-bit executable arm64

petermat avatar Nov 21 '22 21:11 petermat

Pull request created https://github.com/mitre/sandcat/pull/423

petermat avatar Nov 22 '22 10:11 petermat

We are working on a more robust fix that includes the work from the above pull request. Also wanted to mention a possible temporary workaround in the meantime might be to use Rosetta.

clenk avatar Sep 08 '23 15:09 clenk

Also encountered this today. Still no fix for it? image

kulbozz avatar Sep 02 '24 13:09 kulbozz