Skip to content

all: make.bash fails at go_bootstrap install -v std on darwin/arm64 #76106

@remyleone

Description

@remyleone

Go version

go version go1.25.3 darwin/arm64

Output of go env in your module/workspace:

❯ go env
AR='ar'
CC='cc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='c++'
GCCGO='gccgo'
GO111MODULE=''
GOARCH='arm64'
GOARM64='v8.0'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/Users/rleone/Library/Caches/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/Users/rleone/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/gl/fv8pvjvx3szccjj8nrcxytwh0000gn/T/go-build902681710=/tmp/go-build -gno-record-gcc-switches -fno-common'
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMOD='/dev/null'
GOMODCACHE='/Users/rleone/go/pkg/mod'
GOOS='darwin'
GOPATH='/Users/rleone/go'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/homebrew/opt/go/libexec'
GOSUMDB='sum.golang.org'
GOTELEMETRY='on'
GOTELEMETRYDIR='/Users/rleone/Library/Application Support/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/homebrew/opt/go/libexec/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.25.3'
GOWORK=''
PKG_CONFIG='pkg-config'

What did you do?

I'm trying to run gotip download but I get an error that is not very explicit.

./make.bash -v

...

Building packages and commands for darwin/arm64.
runtime/cgo: /Users/rleone/sdk/gotip/pkg/tool/darwin_arm64/cgo: exit status 2
go tool dist: FAILED: /Users/rleone/sdk/gotip/pkg/tool/darwin_arm64/go_bootstrap install -v std: exit status 1

What did you see happen?

I see that the process exit but I don't think gotip is successfully installed and I don't understand what the problem is.

What did you expect to see?

I would expect gotip to be installed or to have an explicit error

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions