sandcat
sandcat copied to clipboard
Support for Darwin on arm64
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
Pull request created https://github.com/mitre/sandcat/pull/423
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.
Also encountered this today. Still no fix for it?