cmd/go: 'go test -race' fails with 'relocation target __popcountdi2 not defined' when GCC not installed #56937
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
RaceDetector
Milestone
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
OutputNOTE: this is running on an ubuntu-minimal lxd container (22.04.1) which does not have gcc installed.
What did you do?
There is a separate but possibly related problem #56755, which is why
-vet=off
is required. Without it:What did you expect to see?
Successful test execution.
Or: documentation that the race detector does not work without GCC. I checked here and here.
What did you see instead?
See above.
Possibly relates to #3261 (old ticket, but it does reference missing
__popcountdi2
explicitly)The text was updated successfully, but these errors were encountered: