-
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
cmd/compile: mipsle: running error SIGILL: illegal instruction #27236
Comments
|
Did this work on go1.10? |
no, use go 1.10.3 |
Can you use gdb to disassemble the PC address shown in the error, so we can see what the illegal instruction is? Thanks. |
I cannot reproduce the exactly same binary, but I took your http_server.go and compiled with Go 1.11, at |
(gdb) disassemble 0xfbe08 |
This is a floating point instruction. Probably for some reason your softfloat setting didn't go through. Maybe you have installed the standard library compiled with hardfloat. Try
using |
Is GOMIPS=softfloat not part of the build ID cache key? |
From reading the code there may be a bug here: it looks like if |
Filed #27260 for the |
Change https://golang.org/cl/131378 mentions this issue: |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.11 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?build on : amd64 linux,
runing on: Linux OpenWrt 4.4.14 #1 Mon May 29 15:04:41 UTC 2017 mips GNU/Linux
What did you do?
file from:
https://github.com/eclipse/paho.mqtt.golang/tree/master/cmd/simple/main.go
build command:
env GOOS=linux GOARCH=mipsle GOMIPS=softfloat go build -ldflags "-s -w"
runing on openwrt system,32 bit os. router.
MT7620A 16M ROM, 128M RAM
The text was updated successfully, but these errors were encountered: