Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:
Run "go version" and compare against
http://golang.org/doc/devel/release.html If a newer version of Go exists,
install it and retry what you did to reproduce the problem.
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Running openbsd snapshot from 1/14/2013, amd64
2. Pulled tip and tried to build with ./make.bash
What is the expected output?
Build the toolchain.
What do you see instead?
SIGSYS: bad system call
syscall.Stat(0xf840062a20, 0xf80000001a, 0xf840078090, 0x0, 0x0, ...)
os.Stat(0xf840062a20, 0xf80000001a, 0x0, 0x0, 0x0, ...)
os/exec.findExecutable(0xf840062a20, 0x7f7f0000001a, 0x14, 0x5b45d4, 0x2f000000$
os/exec.LookPath(0x5be764, 0x6763636700000005, 0xf840056060, 0xf84006f550, 0x0,
goroutine 2 [runnable]:
created by runtime.main
Which compiler are you using (5g, 6g, 8g, gccgo)?
Which operating system are you using?
Which version are you using? (run 'go version')
Please provide any additional information below.
The text was updated successfully, but these errors were encountered:
This is rather bizarre - none of the OpenBSD syscalls have changed since September 2012
and the sys_stat syscall has remained unchanged since 2004. I have not been able to
reproduce the issue here. The reporter is attempting to gather some additional
I built a -current kernel, deleted my go src tree, did a fresh pull and things are
working. I did find out what was causing the issue and it looks like maybe I pulled
-release instead of -tip.
6167 go_bootstrap CALL #251 (obsolete rfork)()
6167 go_bootstrap PSIG SIGSYS caught handler=0x44655b mask=0<>
6167 go_bootstrap RET #251 (obsolete rfork) -1 errno 78 Function not implemented
Even though I tried doing an hg up tip, and verified I was on tip, there must have been
some stale binary laying around that had that in it? This can be closed. Thanks