We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
go version
$ go version go version go1.20.1 linux/riscv64
Yes
go env
$ go env GO111MODULE="" GOARCH="riscv64" GOBIN="" GOCACHE="/root/.cache/go-build" GOENV="/root/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="riscv64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/root/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/root/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/lib/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/go/pkg/tool/linux_riscv64" GOVCS="" GOVERSION="go1.20.1" GCCGO="gccgo" AR="ar" CC="riscv64-unknown-linux-gnu-gcc" CXX="riscv64-unknown-linux-gnu-g++" CGO_ENABLED="1" GOMOD="/dev/null" GOWORK="" CGO_CFLAGS="-O2 -g" CGO_CPPFLAGS="" CGO_CXXFLAGS="-O2 -g" CGO_FFLAGS="-O2 -g" CGO_LDFLAGS="-O2 -g" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2295547135=/tmp/go-build -gno-record-gcc-switches"
I just run
go test -race
It run.
-race is not supported on linux/riscv64
Is there any plan to let race support riscv64?
The text was updated successfully, but these errors were encountered:
According to https://github.com/llvm/llvm-project/blob/aa56e66bf7520512fd1209cbb7d099604a5f6277/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake#L63-L64, ThreadSanitizer for riscv64 is not supported in LLVM. We need to wait for upstream support for this feature.
Sorry, something went wrong.
Closing because this isn't something that the Go project can fix.
No branches or pull requests
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I just run
What did you expect to see?
It run.
What did you see instead?
Is there any plan to let race support riscv64?
The text was updated successfully, but these errors were encountered: