-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
FrozenDueToAgeWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.
Description
What version of Go are you using (go version)?
$ go version go version go1.18.3 linux/amd64
Does this issue reproduce with the latest release?
Yes -> 1.19beta1
What operating system and processor architecture are you using (go env)?
go env Output
$ go env GOARCH="amd64" GOBIN="/workspace/src/GoLang/build/bin" GOCACHE="/workspace/src/GoLang/build/private/.cache/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="" GOPROXY="" GORACE="" GOROOT="/workspace/src/GoLang/build/lib" GOTMPDIR="" GOTOOLDIR="/workspace/src/GoLang/build/lib/pkg/tool/linux_amd64" GCCGO="gccgo" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build226727772=/tmp/go-build -gno-record-gcc-switches"
What did you do?
I was attempting to build go1.19beta1 on one of our older Linux distributions which has glibc 2.12. go1.18.3 builds work fine. It fails with:
##### Testing race detector # runtime/race runtime/race/race_linux_amd64.syso:gotsan.cpp:function __sanitizer::MonotonicNanoTime(): error: undefined reference to 'clock_gettime' collect2: error: ld returned 1 exit status FAIL runtime/race FAIL # runtime/race runtime/race/race_linux_amd64.syso:gotsan.cpp:function __sanitizer::MonotonicNanoTime(): error: undefined reference to 'clock_gettime' collect2: error: ld returned 1 exit status FAIL flag FAIL net FAIL os FAIL os/exec FAIL encoding/gob FAIL # runtime/race runtime/race/race_linux_amd64.syso:gotsan.cpp:function __sanitizer::MonotonicNanoTime(): error: undefined reference to 'clock_gettime' collect2: error: ld returned 1 exit status FAIL flag FAIL os/exec FAIL
Grabbing the previous version of race_linux_amd64.syso (prior to commit d6a1ffd) appears to allow the build to proceed. It seems this may be a recurrence of #37485. It appears to have a dependency on glibc 2.17 now, where as before it was glibc 2.12.
What did you expect to see?
Successful build of 1.19beta1
What did you see instead?
Failed race detector tests
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.