-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Closed
Labels
Description
by Sean.Stangl:
What steps will reproduce the problem?
1. Run the tests, for example by src/all.bash.
What is the expected output? What do you see instead?
The test does not pass; instead, the following error is reported:
---------------------------
--- cd ../misc/cgo/stdio
rm -rf *.[568vqo] *.a [568vq].out *.cgo[12].go *.cgo[34].c *.so _obj _test
_testmain.go hello fib chain run.out
cgo file.go
could not determine kind of name for C.CString
could not determine kind of name for C.puts
could not determine kind of name for C.fflushstdout
could not determine kind of name for C.free
throw: runtime·mapaccess1: key not in map
panic PC=0x7f2a0f239a08
throw+0x3e /home/sean/dev/go/src/pkg/runtime/runtime.c:74
throw(0x4de2cf, 0x0)
runtime·mapaccess1+0x74 /home/sean/dev/go/src/pkg/runtime/hashmap.c:769
runtime·mapaccess1(0xf1f18c0, 0x7f2a)
main·*Prog·loadDebugInfo+0xa88 /home/sean/dev/go/src/cmd/cgo/gcc.go:164
main·*Prog·loadDebugInfo(0xf261280, 0x7f2a)
main·main+0x352 /home/sean/dev/go/src/cmd/cgo/main.go:66
main·main()
mainstart+0xf /home/sean/dev/go/src/pkg/runtime/amd64/asm.s:55
mainstart()
goexit /home/sean/dev/go/src/pkg/runtime/proc.c:135
goexit()
make: *** [file.cgo1.go] Ошибка 2
---------------------------
What is your $GOOS? $GOARCH?
linux, amd64.
Which revision are you sync'ed to? (hg log -l 1)
3976:cf1b54c30bc1 (Tue Nov 10 20:11:16 2009 -0800)