-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.arch-loong64Issues solely affecting the loongson architecture.Issues solely affecting the loongson architecture.
Milestone
Description
What version of Go are you using (go version)?
581a822 in the Go 1.20 development tree
What operating system and processor architecture are you using (go env)?
linux/loong64, observed on the trybots for CL 448016 PS 1
What did you do?
I've been enabling dist tests for cgo on more architectures where it's not clear why they're disabled. One of the misc/cgo/test static build configurations crashes on linux/loong64. It's unfortunately not easy to extract tests from dist (something I'm hoping to improve), but I believe this is what the test is doing:
cd $GOROOT/misc/cgo/test
CGO_LDFLAGS="-static -pthread" go test -short=true -count=1 -run= -tags=static .What did you expect to see?
Test passes.
What did you see instead?
Test crashes with "signal: bus error" (trybot log)
/cc @golang/loong64
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.arch-loong64Issues solely affecting the loongson architecture.Issues solely affecting the loongson architecture.