-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
SIGILL: illegal instruction on any go tool under macOS #37459
Comments
I suspect you are right. My machine, despite the fact I am running macOS 10.14.6 Mojave, is actually pretty ancient (early 2009), but has been tweaked to within an inch of its life (4,1 > 5,1 firmware patch and dosdude mojave patch). I ran up against the AVX issue before with some music software (Native Instruments - Massive which would not run on my machine. Luckily I only tried the demo!). Here are the specs... |
Change https://golang.org/cl/221057 mentions this issue: |
Change https://golang.org/cl/221058 mentions this issue: |
@gopherbot Please open a backport for 1.14. This is a regression in 1.14, and it is a serious problem (program doesn't run on affected hardware) without a workaround. |
Backport issue(s) opened: #37478 (for 1.14). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://golang.org/wiki/MinorReleases. |
In CL 219131 we inserted a VZEROUPPER instruction on darwin/amd64. The instruction is not available on pre-AVX machines. Guard it with CPU feature. Updates #37459. Fixes #37478. Change-Id: I9a064df277d091be4ee594eda5c7fd8ee323102b Reviewed-on: https://go-review.googlesource.com/c/go/+/221057 Run-TryBot: Cherry Zhang <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Keith Randall <[email protected]> (cherry picked from commit c46ffdd) Reviewed-on: https://go-review.googlesource.com/c/go/+/221058 Run-TryBot: Dmitri Shuralyov <[email protected]>
I am facing a similar issue on McOS Catalina 10.15.4 on MacBook Pro 2017.
|
@pm-harshad-mane That looks like a different issue. Can you open a new one? |
This fixes SIGILLs on older macOS machines (golang/go#37459).
What version of Go are you using (
go version
)?Theoretically: Go 1.14
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?macOS 10.14.6 Mojave
I cannot run any of the go tools to get any go information.
go env
OutputWhat did you do?
I removed the previous version of Golang using
sudo rm -rf /usr/local/go
, and then installed Go 1.14 - released 25.02.2020.[1] I then first tried
go version
.[2] Followed by
go run path.go
to a verified location.What did you expect to see?
[1] I expected to see comforting words confirming that Go 1.14 was indeed installed.
[2] I expected my simple utility app
path.go
to be recompiled and to run.What did you see instead?
The last 15 or so version upgrades to Golang have happened without a hitch. What is different this time?
The text was updated successfully, but these errors were encountered: