https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113143
--- Comment #1 from Alexander von Gluck <kallisti5 at unixzen dot com> --- $ grep -R ucontext.h gcc/libgo gcc/libgo/configure:#include <ucontext.h> gcc/libgo/configure.ac:#include <ucontext.h> gcc/libgo/go/runtime/runtime2.go:// _sizeof_ucontext_t is defined by mkrsysinfo.sh from <ucontext.h>. gcc/libgo/misc/cgo/testsanitizers/testdata/tsan_shared.go:#include <ucontext.h> gcc/libgo/runtime/go-signal.c:#include <ucontext.h> gcc/libgo/runtime/runtime.h:#include <ucontext.h> gcc/libgo/sysinfo.c:#include <ucontext.h> gcc/libgo/sysinfo.c:// From sys/ucontext.h pretty much all of these references can be replaced with a signal.h include... (or wrapped with HAVE_U_CONTEXT_H or whatever if concerned about backwards compatibility to posix 2004.