Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Darwin on arm64 #422

Open
petermat opened this issue Nov 21, 2022 · 3 comments
Open

Support for Darwin on arm64 #422

petermat opened this issue Nov 21, 2022 · 3 comments
Assignees

Comments

@petermat
Copy link

petermat commented Nov 21, 2022

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 petermat changed the title Support for Darwin for ARM MacBook M1 Support for Darwin on arm64 Nov 21, 2022
@petermat
Copy link
Author

Pull request created
#423

@elegantmoose elegantmoose self-assigned this Dec 1, 2022
@clenk
Copy link
Contributor

clenk commented Sep 8, 2023

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.

@kulbozz
Copy link

kulbozz commented Sep 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants