New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime: tests fail to build when CGO_ENABLED=0 on Windows #22680
Comments
Change https://golang.org/cl/77430 mentions this issue: |
My fault. Does https://go-review.googlesource.com/#/c/go/+/77430 fixes your problem? @bradfitz I am surprised we have no CGO_ENABLED=0 windows builder. We have 3 amd64 builders, should we convert one into CGO_ENABLED=0 builder? Thank you Alex |
@alexbrainman Yes, that worked. I downloaded your CL and ran
|
Cool, thank you. Alex |
Filed #22705 for the builder omission. |
Thank you. Alex |
What operating system and processor architecture are you using (
go env
)?set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Chris\AppData\Local\go-build
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\Chris\Go
set GORACE=
set GOROOT=F:\GoTip\go
set GOTMPDIR=
set GOTOOLDIR=F:\GoTip\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=0
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -fmessage-length=0
What did you do?
What did you expect to see?
All tests pass.
What did you see instead?
Build failure in test code.
@alexbrainman I believe this problem was introduced in this commit: 923299a.
The text was updated successfully, but these errors were encountered: