> OpenBSD allows making syscalls from static binaries as well.
Do you have a source for this? My Google searches and personal recollections say that OpenBSD does not have a stable syscall ABI in the way that Linux does and the proper/supported way to make syscalls on OpenBSD is through dynamically linked libc; statically linking libc, or invoking the syscall mechanism it uses directly, results in binaries that can be broken on future OpenBSD versions.
I upvoted for the great links, but I still don't think a static binary that will break in the future is meeting the expectations many have when static linking.
> we here at OpenBSD are the kings of ABI-instability
> Program to the API rather than the ABI. When we see benefits, we change the ABI more often than the API.
> I have altered the ABI. Pray I do not alter it further.
The term ABI here though is a little imprecise. I believe it just refers to the syscall ABI. So, it should be possible to make an "almost static" binary by statically linking everything except libc, and that binary should continue to work in future versions of OpenBSD.
OpenBSD allows making syscalls from static binaries as well. If Go binaries are static, it shouldn't cause any problems.