Hello,
I am having trouble trying to build a shared library of my code using go1.5 rc1.
> go install -buildmode=shared ./...
multiple roots /home/aaronb/go/pkg/linux_amd64_dynlink & /home/aaronb/gosrc/pkg/linux_amd64_dynlink
'go build -buildmode=shared ./...' works just fine.
This fails in the same way using the HEAD of the master branch of the go repository.
I do have multiple versions of go installed on this machine since I am trying out go1.5. I switch between them by modifying PATH so that my desired go binary comes up first.
Here is the output of go env when I am using my compiled version the head of the go repostitory:
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/aaronb/go"
GORACE=""
GOROOT="/home/aaronb/gosrc"
GOTOOLDIR="/home/aaronb/gosrc/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT=""
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
Any help would be appreciated.
Thanks,
Aaron