We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What version of Go are you using (go version)? What operating system and processor architecture are you using (go env)?
go version
go env
go version go1.6 darwin/amd64
What did you do? What did you see instead?
$ go tool link -B '' panic: runtime error: index out of range goroutine 1 [running]: panic(0x236380, 0x82040e0f0) /usr/local/go/src/runtime/panic.go:464 +0x3e6 cmd/link/internal/ld.addbuildinfo(0x7fff5fbffb50, 0x0) /usr/local/go/src/cmd/link/internal/ld/elf.go:1205 +0x98d cmd/internal/obj.fn1.Set(0x2dc1f0, 0x7fff5fbffb50, 0x0, 0x0, 0x0) /usr/local/go/src/cmd/internal/obj/flag.go:116 +0x3c flag.(*FlagSet).parseOne(0x82047c000, 0x8204a0b80, 0x0, 0x0) /usr/local/go/src/flag/flag.go:881 +0xdd9 flag.(*FlagSet).Parse(0x82047c000, 0x8204a0b90, 0x2, 0x3, 0x0, 0x0) /usr/local/go/src/flag/flag.go:900 +0x6e flag.Parse() /usr/local/go/src/flag/flag.go:928 +0x6f cmd/internal/obj.Flagparse(0x2dc2a0) /usr/local/go/src/cmd/internal/obj/flag.go:49 +0x2d cmd/link/internal/ld.Ldmain() /usr/local/go/src/cmd/link/internal/ld/pobj.go:149 +0x14cc cmd/link/internal/amd64.Main() /usr/local/go/src/cmd/link/internal/amd64/obj.go:44 +0x19 main.main() /usr/local/go/src/cmd/link/main.go:27 +0x36f
What did you expect to see?
I'd expect no panic, and an error message of -B argument must start with 0x:.
-B argument must start with 0x:
The text was updated successfully, but these errors were encountered:
CL https://golang.org/cl/20211 mentions this issue.
Sorry, something went wrong.
3375974
No branches or pull requests
go version go1.6 darwin/amd64
I'd expect no panic, and an error message of
-B argument must start with 0x:
.The text was updated successfully, but these errors were encountered: