-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
Segmentation fault on 'go get' on Ubuntu LTS #15429
Comments
It looks like your using Ubuntu's go cgo installation, was that what you intended? On Ubuntu the name of the go distribution is golang-go
|
Thanks for the quick response. My intention was to install the 'go' command. Looks like gccgo-go was installed by default to resolve this dependency. I've removed gccgo-go and installed golang-go instead as you suggested and the segfault went away. |
Sorry about that, I know it's not ideal.
|
So there's not a bug? Already fixed in gccgo? |
The problem is still there in Ubuntu 14.04 LTS. But I was convinced that it's an issue with apt-get's recommendation for golang (gccgo-go package picked instead of golang-go) rather than a bug with Go itself. The segfault occurs only with gccgo-go |
If you do [sudo] apt-get install golang-go That will solve the problem. However, unless you have the trusty-backports On Mon, Apr 25, 2016 at 6:13 PM, Andrey Makarov [email protected]
|
go version
)?go version xgcc (Ubuntu 4.9.3-0ubuntu4) 4.9.3 linux/amd64
go env
)?GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/username/GoProjects"
GORACE=""
GOROOT="/usr"
GOTOOLDIR="/usr/lib/gccgo/tool"
TERM="dumb"
CC="gcc"
GOGCCFLAGS="-g -O2 -fPIC -m64 -pthread"
CXX="g++"
CGO_ENABLED="1"
go get github.com/linkedin/burrow
Get an installed package
Segmentation Fault
Core dump
The text was updated successfully, but these errors were encountered: