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

dwarf: missing type: type.runtime.eface #41559

Closed
dotnixd opened this issue Sep 22, 2020 · 2 comments
Closed

dwarf: missing type: type.runtime.eface #41559

dotnixd opened this issue Sep 22, 2020 · 2 comments

Comments

@dotnixd
Copy link

@dotnixd dotnixd commented Sep 22, 2020

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

$ go version
go version go1.15.2 linux/amd64

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

OS: Ataraxia Linux
Arch: amd64
Libc: musl

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/root/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="/usr/lib/ccache/bin/gcc"
CXX="/usr/lib/ccache/bin/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 -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build523840654=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Tried to compile snapd.

What did you expect to see?

Build successful.

What did you see instead?

# github.com/snapcore/snapd/cmd/snap
/usr/lib/go/pkg/tool/linux_amd64/link: dwarf: missing type: type.runtime.eface
@thanm
Copy link
Member

@thanm thanm commented Sep 22, 2020

I am unable to reproduce this on my work machine (Debian/amd64) using Go 1.15.2. Is there anything unusual about your configuration? The error in question seems very improbable; "eface" is a key type used in the Go runtime -- if the linker can't find a type descriptor for it, this suggests a damaged/corrupted installation (bad runtime.a).

@gopherbot
Copy link

@gopherbot gopherbot commented Oct 23, 2020

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@gopherbot gopherbot closed this Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.