You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded your code but can't reproduce the issue on my M1 mac.
Oh weird... I figured it was probably a somewhat niche error because I couldn't find much for it on the internet but honestly not even sure how to go about fixing...
Closing. Just tried this in another shell (bash) instead of my default (zsh) and it worked, so evidently I have some non-standard compiler or linker in my path.
Thank you!
EDIT: For completeness sake; it was a Homebrew version of LLVM that I had included in my PATH, removing this caused everything to work correctly. export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Created a trivial project and attempted to build it on M1 Mac (darwin/arm64) with
go build
.Please see here: https://github.com/SamJakob/go_test_project
What did you expect to see?
Successful build.
What did you see instead?
The text was updated successfully, but these errors were encountered: