-
Notifications
You must be signed in to change notification settings - Fork 410
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
osx aarch64 binaries are in fact x86_64 binaries #1296
Comments
Yes, the file is just copied, as a hack to allow gradle/maven to find the file. As you saw, this is grpc/grpc-java#7690, so closing this one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I downloaded protoc-gen-grpc-java-1.64.0-osx-aarch_64.exe on my M2 Pro based Mac Mini system:
It doesn't work as it seems it's not an aarch64 binary:
Take a look:
It is
Mach-O 64-bit executable x86_64
.I have two identical systems available, so I installed Rosetta on the other one:
And now I can run the executable:
So, while e.g. my Java installation is Mach-0 arm64 executable:
Your osx aarch64 binary ain't:
It has been a long time I worked with Mac OS and it is the first time I work with Mach-O arm64 executables, so take my report with a grain of salt. All in all I would assume that when I download an osx-aarch64 binary I should be able to run it without Rosetta and it is not the case with your distribution.
The text was updated successfully, but these errors were encountered: