Skip to content

all.bash fails on master on Mac OS #36392

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

Closed
MichelHollands opened this issue Jan 5, 2020 · 1 comment
Closed

all.bash fails on master on Mac OS #36392

MichelHollands opened this issue Jan 5, 2020 · 1 comment

Comments

@MichelHollands
Copy link

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

$ go version
go version go1.13.5 darwin/amd64

Does this issue reproduce with the latest release?

It happens on master.

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

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/mholland/Library/Caches/go-build"
GOENV="/Users/mholland/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/mholland/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.13.5/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13.5/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/mholland/git/go/src/cmd/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 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/ft/dg1pz2zj0mb9bqbhp3r1q77r0000gq/T/go-build705702634=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

Ran ./all.bash in the go/src directory.
The test 'TestIssue33979' fails:

ok  	cmd/internal/src	0.009s
ok  	cmd/internal/test2json	0.083s
--- FAIL: TestIssue33979 (0.51s)
    link_test.go:250: got:
        main(__TEXT/__text): relocation target undefined not defined
        want:
        main(.text): relocation target undefined not defined
FAIL
FAIL	cmd/link	4.131s
ok  	cmd/link/internal/ld	7.899s
ok  	cmd/link/internal/sym	0.008s

The problem seems to be introduced in commit 8adc1e0 . For the previous commit all the tests pass.

What did you expect to see?

All tests to pass

What did you see instead?

See above.

@agnivade
Copy link
Contributor

agnivade commented Jan 5, 2020

Duplicate of #36389.

@agnivade agnivade closed this as completed Jan 5, 2020
@golang golang locked and limited conversation to collaborators Jan 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants