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

x/tools/gopls: unsupported version 0 of Verneed record #54453

Closed
Mr1X opened this issue Aug 15, 2022 · 3 comments
Closed

x/tools/gopls: unsupported version 0 of Verneed record #54453

Mr1X opened this issue Aug 15, 2022 · 3 comments
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@Mr1X
Copy link

Mr1X commented Aug 15, 2022

gopls version

v0.9.3

go env

go env Output
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/linux/.cache/go-build"
GOENV="/home/linux/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOMODCACHE="/home/linux/.go/pkg/mod"
GOOS="linux"
GOPATH="/home/linux/.go"
GOPROXY="https://mirrors.aliyun.com/goproxy/,direct"
GOROOT="/home/linux/sdk/go1.19"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/linux/sdk/go1.19/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOWORK=""
CGO_CFLAGS="-I/home/linux/rocksdb/include"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-L/home/linux/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2598684643=/tmp/go-build -gno-record-gcc-switches"

What did you do?

gopls version or vscode code tips

What did you expect to see?

gopls version or code tips

What did you see instead?

unsupported version 0 of Verneed record

Editor and settings

  • vscode

  • "go.useLanguageServer": true,

Logs

@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Aug 15, 2022
@gopherbot gopherbot added this to the Unreleased milestone Aug 15, 2022
@findleyr
Copy link
Contributor

Hi, this looks like some corruption of your gopls binary (compare #46680).

How did you install and update gopls? Did you use go get, or something else? If you installed from the command line, which command exactly did you execute?

@findleyr findleyr added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Aug 15, 2022
@Mr1X
Copy link
Author

Mr1X commented Aug 16, 2022

Hi, this looks like some corruption of your gopls binary (compare #46680).

How did you install and update gopls? Did you use go get, or something else? If you installed from the command line, which command exactly did you execute?

I tried three methods

  1. go install golang.org/x/tools/gopls@latest
  2. go install golang.org/x/tools/gopls@v0.9.3
  3. vscode Go Install/Update tools

The three results are the same

@findleyr
Copy link
Contributor

I don't think this is related to gopls. It looks like this is some form of corruption of your shared libraries. For example:
https://bugzilla.redhat.com/show_bug.cgi?id=203311

Sorry, I don't think we'll be able to help you debug this. Please reopen if you think there is something gopls or go specific that is leading to this error.

@golang golang locked and limited conversation to collaborators Aug 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants