-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: TestFFLAGS fails #19080
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
Comments
That's odd, it looks like the gfortran command succeeded even though we gave it an unknown option. I see |
It does indeed:
Alex |
Probably related to the gcc version on the machine? I can reproduce the failure with an old compiler:
While the test succeeds when using, for example,
Next step (if this is really only an issue for very old gfortran versions) is to decide if we actually care about supporting gcc 4.something, or not. |
Alex |
CL https://golang.org/cl/37658 mentions this issue. |
What version of Go are you using (
go version
)?go version devel +e7ec06e Fri Feb 10 21:38:07 2017 +0000 linux/386
What operating system and processor architecture are you using (
go env
)?GOARCH="386"
GOBIN=""
GOEXE=""
GOHOSTARCH="386"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root"
GORACE=""
GOROOT="/root/go"
GOTOOLDIR="/root/go/pkg/tool/linux_386"
GCCGO="gccgo"
GO386=""
CC="gcc"
GOGCCFLAGS="-fPIC -m32 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build737276700=/tmp/go-build"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
What did you do?
cd $GOROOT/src/cmd/go
go test -v -run=FFLAGS
What did you expect to see?
Test PASS.
What did you see instead?
Perhaps unrelated, but I can also see file named "p" created in $GOROOT/src/cmd/go after command above completes.
Alex
The text was updated successfully, but these errors were encountered: