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

plugin: issue25756/plugin failed on macOS #25836

Closed
YoshikiShibata opened this issue Jun 11, 2018 · 1 comment
Closed

plugin: issue25756/plugin failed on macOS #25836

YoshikiShibata opened this issue Jun 11, 2018 · 1 comment

Comments

@YoshikiShibata
Copy link

Please answer these questions before submitting your issue. Thanks!

What did you do?

Rebuild the latest tip version from the source cod with all.bash

What did you expect to see?

No error with all.bash

What did you see instead?

##### ../misc/cgo/testplugin
PASS
something
1.5
# issue25756/plugin
/Users/yoshiki.shibata/tools/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
Undefined symbols for architecture x86_64:
  "__cgoexp_1e283c4f53fb_GoStart", referenced from:
      _GoStart in 000000.o
  "__cgoexp_1e283c4f53fb_GoWait", referenced from:
      _GoWait in 000000.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

2018/06/12 07:42:24 Failed: exit status 2
2018/06/12 07:42:25 FAILED

Does this issue reproduce with the latest release (go1.10.3)?

N/A

System details

go version devel +d0d47bb94f Mon Jun 11 22:09:14 2018 +0000 darwin/amd64
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/yoshiki.shibata/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/yoshiki.shibata/gocode"
GORACE=""
GOROOT="/Users/yoshiki.shibata/tools/go"
GOTMPDIR=""
GOTOOLDIR="/Users/yoshiki.shibata/tools/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
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/g5/3v328m31769f1hylbmcvt6x00000gp/T/go-build873518271=/tmp/go-build -gno-record-gcc-switches -fno-common"
GOROOT/bin/go version: go version devel +d0d47bb94f Mon Jun 11 22:09:14 2018 +0000 darwin/amd64
GOROOT/bin/go tool compile -V: compile version devel +d0d47bb94f Mon Jun 11 22:09:14 2018 +0000
uname -v: Darwin Kernel Version 17.6.0: Tue May  8 15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64
ProductName:	Mac OS X
ProductVersion:	10.13.5
BuildVersion:	17F77
lldb --version: lldb-902.0.79.7
  Swift-4.1
@randall77
Copy link
Contributor

Dup of #25827

@golang golang locked and limited conversation to collaborators Jun 11, 2019
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