-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
rhel-9.7
-
None
-
No
-
None
-
4
-
rhel-sst-pt-llvm-rust-go
-
ssg_platform_tools
-
3
-
False
-
False
-
-
None
-
PT LLVMRustGo 2025 S5, PT LLVMRustGo 2025 S6, PT LLVMRustGo 2025 S7, PT LLVMRustGo 2025 S8
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
s390x
-
None
When built with LLVM 20, the testcase "runtime/race" from golang testsuite fails consistently as follows:
##### Testing race detector
# go tool dist test -run=^runtime/race:race$
--- FAIL: TestOutput (1.02s)
output_test.go:83: failed test case simple, expect:
==================
WARNING: DATA RACE
Write at 0x[0-9,a-f]+ by goroutine [0-9]:
main\.store\(\)
.+/main\.go:14 \+0x[0-9,a-f]+
main\.racer\(\)
.+/main\.go:23 \+0x[0-9,a-f]+
Previous write at 0x[0-9,a-f]+ by main goroutine:
main\.store\(\)
.+/main\.go:14 \+0x[0-9,a-f]+
main\.main\(\)
.+/main\.go:10 \+0x[0-9,a-f]+
Goroutine [0-9] \(running\) created at:
main\.startRacer\(\)
.+/main\.go:19 \+0x[0-9,a-f]+
main\.main\(\)
.+/main\.go:9 \+0x[0-9,a-f]+
==================
Found 1 data race\(s\)
exit status 66
got:
==================
WARNING: DATA RACE
Write at 0x0�c000010238 by goroutine 6:
main.store()
/tmp/TestOutput1605837037/002/main.go:14 +0x75
main.racer()
/tmp/TestOutput1605837037/002/main.go:23 +0x42
Previous write at 0x01c000010238 by main goroutine:
main.store()
/tmp/TestOutput1605837037/002/main.go:14 +0xaf
main.main()
/tmp/TestOutput1605837037/002/main.go:10 +0x9c
Goroutine 6 (running) created at:
main.startRacer()
/tmp/TestOutput1605837037/002/main.go:19 +0xd9
main.main()
/tmp/TestOutput1605837037/002/main.go:9 +0x9b
==================
Found 1 data race(s)
exit status 66
FAIL
FAIL runtime/race 1.069s
FAIL
A full scratch build using llvm-20.1.0-1.el9 can be found in https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=67116030.
When doing the same build with LLVM 19 it succeeds (https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=67101128)