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

Bad CPU type #221

Open
Imzxhir opened this issue May 19, 2024 · 3 comments
Open

Bad CPU type #221

Imzxhir opened this issue May 19, 2024 · 3 comments
Labels
bug Something isn't working needs testing

Comments

@Imzxhir
Copy link

Imzxhir commented May 19, 2024

Description: I tried to run the x86_64 version of goldwarden on macOS, but I kept getting an error message that said exec: Failed to execute process '/usr/local/bin/goldwarden': Bad CPU type in executable., even though I have an intel iMac.

@quexten
Copy link
Owner

quexten commented May 19, 2024

goldwarden_macos_x86_64: Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE|HAS_TLV_DESCRIPTORS> Seems like the CI pipeline somehow ran on arm64.

@quexten quexten added bug Something isn't working needs triage labels May 19, 2024
@augustozanellato
Copy link

goldwarden_macos_x86_64: Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE|HAS_TLV_DESCRIPTORS> Seems like the CI pipeline somehow ran on arm64.

It appears that macos-latest switched to being arm64 by default. Go should probably be configured to crossbuild to amd64.

@quexten
Copy link
Owner

quexten commented May 25, 2024

Updated this to macos-13 in the pipeline. Switching to cross-compliation will likely lead to disabling fido2 support. I tried enabling cross-compilation of the C lib with the zig compiler too, but failed to achieve this. So until mac x86 runners are EOL, I'd prefer to keep the builds on them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs testing
Projects
None yet
Development

No branches or pull requests

3 participants