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/link: go.dwarf.info.runtime.symtab: cannot find elf name .debug_abbrev #15166

Closed
gyuho opened this issue Apr 7, 2016 · 3 comments
Closed
Milestone

Comments

@gyuho
Copy link
Contributor

gyuho commented Apr 7, 2016

I think a037c73 broke something with go build. We didn't see this error before this commit.

What version of Go are you using (go version)?
go version devel +b17b953 Thu Apr 7 04:17:26 2016 +0000 linux/amd64
What operating system and processor architecture are you using (go env)?
go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/gyuho/go"
GORACE=""
GOROOT="/home/gyuho/go-master/go"
GOTOOLDIR="/home/gyuho/go-master/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build034386466=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
What did you do?
git clone git@github.com:coreos/etcd.git
cd ./etcd
./build

# or 

CGO_ENABLED=0 go build -installsuffix cgo -ldflags "-s -X github.com/coreos/etcd/version.GitSHA=GitNotFound" -o bin/etcd github.com/coreos/etcd/cmd
What did you expect to see?

No error message.

What did you see instead?
go.dwarf.info.runtime.symtab: cannot find elf name .debug_abbrev

Thanks all!

@gyuho
Copy link
Contributor Author

gyuho commented Apr 7, 2016

Sorry that I didn't give enough information. I am not expert on this. Please let me know
if there's anything I can do to help you investigate on this. I will keep trying to get simplest code
that can fail from this change.

@bradfitz bradfitz added this to the Go1.7 milestone Apr 7, 2016
@crawshaw
Copy link
Member

crawshaw commented Apr 7, 2016

@ribrdb can you take a look at this? I would guess this is related to -X.

@gyuho
Copy link
Contributor Author

gyuho commented Apr 7, 2016

Confirmed that it is fixed in etcd side. Thanks a lot!

@golang golang locked and limited conversation to collaborators Apr 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants