In case anyone wants a trivial illustration of the ucontext non-constant array bound error, just run gcc -c on this file: #include <sys/ucontext.h> int main() { return 0; }