-
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
runtime: illegal instruction on mipsel (mipsle) platform #18880
Comments
Is kernel FPU emulation enabled on the target machine? That is required for running go1.8 on mipsle:
|
OpenWrt: |
Yeah, definitely a FPU problem.
|
What version of Go are you using (
go version
)?go1.8rc3.linux-amd64
DL:https://storage.googleapis.com/golang/go1.8rc3.linux-amd64.tar.gz
What operating system and processor architecture are you using (
go env
)?All use default.
What did you do?
1.Create a test.go:
2.Buid to mipsle:
3.use "file test" output:
4.Copy the file to OpenWrt router(kernel:4.4.14):
---cat /proc/cpuinfo---
5.use "test" in router output:
Illegal instruction
What did you expect to see?
output:
Hello world!
What did you see instead?
output:
Illegal instruction
The text was updated successfully, but these errors were encountered: