Paolo Bonzini <bonz...@gnu.org> writes: > On 12/14/2011 04:00 PM, Ian Lance Taylor wrote: >> >> The other Go compiler already supports OpenBSD, so it must be possible >> in some sense. > > Do they have specialised code for OpenBSD? I said "it cannot work" in > the sense that: > > - *context functions are not there;
The other Go compiler does not use the *context functions--it doesn't use libc at all. It uses assembler code which has a similar effect. > - sigaltstack always returns EINVAL when using threads; That is odd. sigaltstack is very useful when using threads. > - the threads are identified by the runtime from their stack pointer, > so you risk confusing the runtime very much if you switch between > coroutines. I'm not sure what this means--I'm not sure which runtime you're referring to here. Ian