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

cmd/compile: internal compiler error: missing posbase #34581

Closed
toglader opened this issue Sep 27, 2019 · 4 comments
Closed

cmd/compile: internal compiler error: missing posbase #34581

toglader opened this issue Sep 27, 2019 · 4 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@toglader
Copy link

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

go version go1.11.6 linux/arm


Does this issue reproduce with the latest release?

With Latest Raspbian lite distro

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

go env Output
GOARCH="arm"
GOBIN=""
GOCACHE="/home/pi/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/pi/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go-1.11"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.11/pkg/tool/linux_arm"
GCCGO="gccgo"
GOARM="6"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -marm -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build107027772=/tmp/go-build -gno-record-gcc-switches"

What did you do?

pi@raspberrypi2:~ $ go get github.com/bettercap/bettercap

What did you expect to see?


What did you see instead?

github.com/bettercap/bettercap/tls

go/src/github.com/bettercap/bettercap/tls/cert.go:135:22: internal compiler error: missing posbase

Please file a bug report including a short program that triggers the error.
https://golang.org/issue/new

@randall77
Copy link
Contributor

@mdempsky

@mdempsky
Copy link
Member

I'm not able to immediately reproduce this on linux/amd64, with either current Go or the Go 1.11.6 tag. (Aside: Go 1.11 is also outside of our support window, and is no longer receiving security fixes.)

If you can try running go clean -cache -testcache -modcache and then running go get github.com/bettercap/bettercap again, that would be interesting to see if you can reproduce the issue.

@mdempsky mdempsky changed the title internal compiler error: missing posbase cmd/compile: internal compiler error: missing posbase Sep 27, 2019
@mdempsky mdempsky added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Sep 27, 2019
@toglader
Copy link
Author

toglader commented Sep 28, 2019

Uh?

pi@raspberrypi2:~ $ go get -u github.com/bettercap/bettercap
go tool compile: signal: segmentation fault

Must be something wrong with my raspberry. I have to try reinstall os if it helps. Probably nothing wrong in go, so case can be closed?

@mdempsky
Copy link
Member

@toglader Yeah, hardware failure or at least SD corruption seems likely here, unfortunately. :(

I'll go ahead and close the issue. If you investigate further and start suspecting it is a Go issue (eg, reinstall and everything but Go is working normally), please let us know and we can resume looking into it.

@golang golang locked and limited conversation to collaborators Sep 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants