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: sw_64cpu compile failed #37877
Comments
I used the riscv64 instruction set to compile, and the environment variable was set to export GOHOSTARCH=riscv64, export GO_GCFLAGS=all=-d=checkptr=0 |
Thanks for the report. Some questions. Can you share the source code that you were compiling? Does the error happen reliably, or only once? If I read correctly, you were compiling on your riscv64 machine. How did you bootstrap the toolchain that you were using? |
cc @4a6f656c |
I was in the bid kirin, sw_64 CPU, compiled go1.14, I changed the code in the CMD /dist/main.go file, detected sw_64 arch, set it to riscv64 instruction set, and then execute.Every time it happens, it's inevitable. |
Yes, it is at Sunway architecture. I would like to ask you how to solve the compilation problem that I am currently encountering. Is there any solution? @4a6f656c |
@4a6f656c Do you know how to compile go source code on Sunway CPU? |
You might be able to use gccgo on your platform. Presumably gcc works? |
I recently in the winning ShenWei CPU compilation go1.14 kirin system source code, compile problem: go1.14 / SRC/runtime/runtime1. Go: 162-22: internal compiler error: 'check' : panic during opt while compiling the check:
Runtime error: floating point error
Please take a look at it for me. Thank you very much!!!
The text was updated successfully, but these errors were encountered: