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
It sounds like this isn't a bug, just a configuration problem, but please correct me if I'm wrong. For questions about Go, see https://golang.org/wiki/Questions.
I'll leave this issue open for now, but this may be closed later if everything is Working As Intended.
I can build a elf from a cross compile toolchain for the target linux.
The cross comiler is from Realtek (RSDK Release 1.5 . It is the software
development kit for Realtek's in-house processor cores.)
The elf info is like that:
ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked, stripped
I think @cherrymui may be right. may be the target's CPU is not really the mips.
This looks like that the system is actually MIPS, big-endian. But MIPS-I is too old. It doesn't support newer instructions that we generate (not only floating point so softfloat doesn't help).
@shownb This might be one of those Lexra cores that should be almost full mips32 sans [L|S]WL/[L|S]WR support. Can you tray https://godbolt.org/z/VQLGir on your device to see if it crashes the same way?
Activity
cherrymui commentedon Mar 16, 2019
Does your machine support MIPS32R1 instruction set? We don't generate mips16 instructions.
Is your machine big-endian or little-endian? What is
uname -aoutput?/proc/cpuinfowould be also helpful.shownb commentedon Mar 16, 2019
i think i find the reason.
uname -a like that:
the rtl seems like that not the really mips
and you don't generate mips16 instructions.what's your suggestion?
katiehockman commentedon Mar 19, 2019
It sounds like this isn't a bug, just a configuration problem, but please correct me if I'm wrong. For questions about Go, see https://golang.org/wiki/Questions.
I'll leave this issue open for now, but this may be closed later if everything is Working As Intended.
shownb commentedon Mar 19, 2019
I can build a elf from a cross compile toolchain for the target linux.
The cross comiler is from Realtek (RSDK Release 1.5 . It is the software
development kit for Realtek's in-house processor cores.)
The elf info is like that:
ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked, stripped
I think @cherrymui may be right. may be the target's CPU is not really the mips.
cherrymui commentedon Mar 19, 2019
This looks like that the system is actually MIPS, big-endian. But MIPS-I is too old. It doesn't support newer instructions that we generate (not only floating point so softfloat doesn't help).
Maybe you could try gccgo.
draganmladjenovic commentedon Mar 20, 2019
@shownb This might be one of those Lexra cores that should be almost full mips32 sans [L|S]WL/[L|S]WR support. Can you tray https://godbolt.org/z/VQLGir on your device to see if it crashes the same way?