Skip to content
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

cmd/go2go: "Failed: exit status 1" while compiling "dev.go2go" branch #39914

Closed
Dentrax opened this issue Jun 29, 2020 · 2 comments
Closed

cmd/go2go: "Failed: exit status 1" while compiling "dev.go2go" branch #39914

Dentrax opened this issue Jun 29, 2020 · 2 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@Dentrax
Copy link

Dentrax commented Jun 29, 2020

What version of Go are you using (go version)?

$ go version
go version go1.13.8 darwin/amd64

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""

GOARCH="amd64"

GOBIN=""

GOCACHE="/Users/ft/Library/Caches/go-build"

GOENV="/Users/ft/Library/Application Support/go/env"

GOEXE=""

GOFLAGS=""

GOHOSTARCH="amd64"

GOHOSTOS="darwin"

GONOPROXY=""

GONOSUMDB=""

GOOS="darwin"

GOPATH="/Users/ft/go"

GOPRIVATE=""

GOPROXY="https://proxy.golang.org,direct"

GOROOT="/usr/local/Cellar/go/1.13.8/libexec"

GOSUMDB="off"

GOTMPDIR=""

GOTOOLDIR="/usr/local/Cellar/go/1.13.8/libexec/pkg/tool/darwin_amd64"

GCCGO="gccgo"

AR="ar"

CC="clang"

CXX="clang++"

CGO_ENABLED="0"

GOMOD="/Users/ft/go/src/goroot/src/go.mod"

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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/nq/vxjjn3311fg4q263qsxrghpcpzgp66/T/go-build598399094=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

Trying to compile Go 2 from dev.go2go branch as described in the installation guide.

CGO_ENABLED=0 ./all.bash

I checked dmesg and memory usage as described by @bradfitz this message and I couldn't see anything there. I've checked the memory values while it was compiling, and still had 50% free RAM to use. I couldn't see a killed process in dmesg either.

But unlike all.bash,./make.bash exits with 0. Builds succeeds.

What did you expect to see?

Supposed to be build succeeds.

What did you see instead?

go tool dist: Failed: exit status 1

@ianlancetaylor
Copy link
Contributor

Please show us the last 100 lines or so of output. Thanks.

@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Jun 29, 2020
@ianlancetaylor ianlancetaylor added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jun 29, 2020
@ianlancetaylor ianlancetaylor changed the title cmd/dist: "Failed: exit status 1" while compiling "dev.go2go" branch cmd/go2go: "Failed: exit status 1" while compiling "dev.go2go" branch Jun 29, 2020
@Dentrax
Copy link
Author

Dentrax commented May 22, 2021

I was able to compile dev.go2go branch with success using both of Go 1.15 and 1.16. I was opened the issue without implementing the full output. That's my mistake. I think we can close this issue. 🙏

@Dentrax Dentrax closed this as completed May 22, 2021
@golang golang locked and limited conversation to collaborators May 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants