-
Notifications
You must be signed in to change notification settings - Fork 274
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
protoc-3.0.0-osx-x86_64.exe": error=86, Bad CPU type in executable on Mac M1 #543
Comments
Run This issue is unrelated to the gradle plugin. https://github.com/protocolbuffers/protobuf would be the more appropriate location. Look again at the title: x86_64, Mac M1, Bad CPU type. The problem is trying to run a x86_64 binary on the ARM M1. Newer builds of protobuf have "aarch_64" versions, but they are actually just copies of the x86_64 binaries. See protocolbuffers/protobuf#8557 . To my knowledge, there aren't yet actual ARM builds of protoc available yet, but you can use the current builds with Rosetta without much problem. |
@ejona86 Thank you very much! |
Seems like this is resolved. If not, comment, and it can be reopened. |
The root cause: There was no Rosetta installed on the Mac. It leads to that strange errors. How to fix: To install Rosetta use Terminal app |
Hi! Help will be very appreciated.
I have the issue on one of my dev's Mac. The full error is
I believe that Mac must not run *.exe files. Because it is windows executable.
Mac can run binary files with no extension like protoc-3.0.0-osx-x86_64.
Please provide a glue -
I am not very common with the potoc for Android. The issues is very rare because for other devs all fine.
Thank you in advance!
The text was updated successfully, but these errors were encountered: