-
Notifications
You must be signed in to change notification settings - Fork 951
SIGILL: illegal instruction on MacOS Catalina 10.15.5 on 2 GHz Intel Core 2 Duo #1210
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
Comments
Related? golang/go#37459 |
What version is this? |
Actually yeah, that Go issue would have to be it. The next release should use a newer version of Go with the fix. For now, you should be able to build from source using Go |
|
Trying from sources.
Trying to figure out where this bindings/go/README.txt is for me to read it and try to get it to build from sources on my machine. |
Yes, it looks like our previous release was built with the buggy Go version.
No, that's a misleading error message from upstream LLVM. TinyGo uses LLVM in a different way. The easiest option is usually to install LLVM from Homebrew. It should usually work, but some people have reported issues with it. Please let us know how it goes. brew install llvm@10
go install # in the tinygo directory |
I am afraid of having a second LLVM. I guess I will have to wait for the next tinygo binary release :-( In the meantime I will take a look at Gobot and MicroScheme :) Thanks!! |
We should release a v0.13.2 that is built with a newer Go probably. What do you think @aykevl ? |
I believe installing LLVM via Homebrew is pretty safe and should not interfere with Xcode. Alternatively, you can build it yourself, see https://tinygo.org/getting-started/macos/#with-a-self-built-llvm (but that will take a while, especially on this older CPU). Building LLVM yourself will not affect the existing installation.
I think we should just be doing a v0.14 soon, which will automatically fix this. I've added the next-release tag, because whatever we do it will automatically be fixed with the next release. |
What is the ETA for 0.14? |
This was released with v0.14.0 so now closing. Please reopen if needed. Thanks! |
Still fails for me , tinygo 0.16:
|
I am unable to reopen this issue. But the problem persists. |
It looks like it needs to be built with Go 1.14.10: pgaskin/kepubify@b860308 |
The install went ok, but it crashes:
Mac mini (Early 2009)
2 GHz Intel Core 2 Duo
8 GB 1333 MHz DDR3
NVIDIA GeForce 9400 256 MB
The text was updated successfully, but these errors were encountered: