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

Open
Dentrax opened this issue Jun 29, 2020 · 1 comment
Open

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

Dentrax opened this issue Jun 29, 2020 · 1 comment

Comments

@Dentrax
Copy link

@Dentrax 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

@ianlancetaylor ianlancetaylor commented Jun 29, 2020

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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.