-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: value v78 still has 1 uses #18169
Comments
@cherrymui Probably just need to find the last store explicitly. |
Ahh, sorry, you need to install bzr to go get some of the code, evidently. |
@randall77 Yes, it looks like the order of storeWBs is the bug. We should find the last store explicitly. I'll make a fix. |
CL https://golang.org/cl/33915 mentions this issue. |
Change https://golang.org/cl/33909 mentions this issue: |
Please answer these questions before submitting your issue. Thanks!
What did you do?
go get github.com/rogpeppe/godeps
go get github.com/juju/juju/...
cd $GOPATH/src/github.com/juju/juju
git checkout ef17f71281d245540a9e5ed54a00095610ac0797
godeps -u dependencies.tsv
go test github.com/juju/juju/worker/uniter/runner/jujuc -run=xxx
What did you expect to see?
ok github.com/juju/juju/worker/uniter/runner/jujuc 2.145s [no tests to run]
What did you see instead?
# github.com/juju/juju/worker/uniter/runner/jujuc_test
./relation-ids_test.go:138: internal compiler error: value v78 still has 1 uses
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
/home/nate/go/src/runtime/debug/stack.go:24 +0x79
cmd/compile/internal/gc.Fatalf(0xab2af4, 0x1a, 0xc421c746a0, 0x2, 0x2)
/home/nate/go/src/cmd/compile/internal/gc/subr.go:165 +0x226
cmd/compile/internal/gc.(*ssaExport).Fatalf(0xdcbcf5, 0x9e7, 0xab2af4, 0x1a, 0xc421c746a0, 0x2, 0x2)
/home/nate/go/src/cmd/compile/internal/gc/ssa.go:4976 +0x5d
cmd/compile/internal/ssa.(*Config).Fatalf(0xc4224d8000, 0xc4000009e7, 0xab2af4, 0x1a, 0xc421c746a0, 0x2, 0x2)
/home/nate/go/src/cmd/compile/internal/ssa/config.go:343 +0x6e
cmd/compile/internal/ssa.(*Func).Fatalf(0xc42347c900, 0xab2af4, 0x1a, 0xc421c746a0, 0x2, 0x2)
/home/nate/go/src/cmd/compile/internal/ssa/func.go:413 +0x6b
cmd/compile/internal/ssa.(*Func).freeValue(0xc42347c900, 0xc4224da2d0)
/home/nate/go/src/cmd/compile/internal/ssa/func.go:128 +0x391
cmd/compile/internal/ssa.writebarrier(0xc42347c900)
/home/nate/go/src/cmd/compile/internal/ssa/writebarrier.go:193 +0x1659
cmd/compile/internal/ssa.Compile(0xc42347c900)
/home/nate/go/src/cmd/compile/internal/ssa/compile.go:68 +0x304
cmd/compile/internal/gc.buildssa(0xc42180dc20, 0x0)
/home/nate/go/src/cmd/compile/internal/gc/ssa.go:177 +0x8fe
cmd/compile/internal/gc.compile(0xc42180dc20)
/home/nate/go/src/cmd/compile/internal/gc/pgen.go:362 +0x204
cmd/compile/internal/gc.funccompile(0xc42180dc20)
/home/nate/go/src/cmd/compile/internal/gc/dcl.go:1292 +0xdc
cmd/compile/internal/gc.Main()
/home/nate/go/src/cmd/compile/internal/gc/main.go:460 +0x1f0d
main.main()
/home/nate/go/src/cmd/compile/main.go:50 +0xfe
FAIL github.com/juju/juju/worker/uniter/runner/jujuc [build failed]
Does this issue reproduce with the latest release (go1.7.4)?
Nope, compiles fine w/ 1.7.4.
System details
The text was updated successfully, but these errors were encountered: