https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113143
--- Comment #8 from Alexander von Gluck <kallisti5 at unixzen dot com> --- Not at all a dumb question :-) I'm working through compiling libgo / gccgo on Haiku. We have our own lovely libc which tests posix compliant. Some historic consideration behind us not having ucontext.h is here: https://dev.haiku-os.org/ticket/5324 We have around 3000 ports (including an old (c)go 1.4, rust, gcc, ruby, etc) none of which have complained about a missing ucontext.h. This is kinda why I feel like it's an anti-pattern to require it in libgo. Even Google's go doesn't consider ucontext.h a requirement on non-bsd platforms. Here's the guys of our libc for context: https://cgit.haiku-os.org/haiku/tree/headers/posix