cmd/link: RISC-V mapping symbols aren't handled correctly #73591
Labels
arch-riscv
Issues solely affecting the riscv64 architecture.
BugReport
Issues describing a possible bug in the Go implementation.
compiler/runtime
Issues related to the Go compiler and/or runtime.
Go version
go version go1.24.2 linux/riscv64
Output of
go env
in your module/workspace:What did you do?
Build test.go,
which makes use of CGO with Clang and Golang internal linker
What did you see happen?
The file successfully compiles and the resulted binary runs correctly.
What did you expect to see?
These symbols with type equal to zero are "mapping symbols" specified in RISC-V psABI. They aren't correctly handled (IOW, ignored), causing crazy errors.
The text was updated successfully, but these errors were encountered: