We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
go version
go version go1.4.3 linux/amd64
go env
GOARCH="amd64" GOBIN="" GOCHAR="6" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/usr/local" GORACE="" GOROOT="/usr/local/go" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" CC="gcc" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0" CXX="g++" CGO_ENABLED="1"
go get -u golang.org/x/tools/cmd/oracle
# golang.org/x/tools/go/loader /usr/local/src/golang.org/x/tools/go/loader/cgo14.go:122: assignment count mismatch: 3 = 2
It looks like golang/tools@84e7bc0 didn't also update cgo14.go.
cgo14.go
I was able to compile using the below patch, but I am not sure I did it correctly.
diff --git a/go/loader/cgo14.go b/go/loader/cgo14.go index d484c7d..230d0cb 100644 --- a/go/loader/cgo14.go +++ b/go/loader/cgo14.go @@ -119,12 +119,11 @@ func runCgo(bp *build.Package, pkgdir, tmpdir string) (files, displayFiles []str _, cgoexeCFLAGS, _, _ := cflags(bp, false) if len(bp.CgoPkgConfig) > 0 { - pcCFLAGS, pcLDFLAGS, err := pkgConfigFlags(bp) + pcCFLAGS, err := pkgConfigFlags(bp) if err != nil { return nil, nil, err } cgoCPPFLAGS = append(cgoCPPFLAGS, pcCFLAGS...) - cgoLDFLAGS = append(cgoLDFLAGS, pcLDFLAGS...) } // Allows including _cgo_export.h from .[ch] files in the package.
The text was updated successfully, but these errors were encountered:
Go 1.4 is no longer supported.
Sorry, something went wrong.
No branches or pull requests
go version
)?go version go1.4.3 linux/amd64
go env
)?No output, meaning success.
It looks like golang/tools@84e7bc0 didn't also update
cgo14.go
.I was able to compile using the below patch, but I am not sure I did it correctly.
The text was updated successfully, but these errors were encountered: