system/m4: FTBFS: error: 'mcontext_t' {aka 'struct <anonymous>'} has no member named 'uc_regs'; did you mean 'gregs'?
Related to #443 (closed).
...
sigsegv.c: In function 'sigsegv_handler':
sigsegv.c:223:75: error: 'mcontext_t' {aka 'struct <anonymous>'} has no member named 'uc_regs'; did you mean 'gregs'?
# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1]
^~~~~~~
sigsegv.c:938:43: note: in expansion of macro 'SIGSEGV_FAULT_STACKPOINTER'
uintptr_t old_sp = (uintptr_t) (SIGSEGV_FAULT_STACKPOINTER);
^~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:2866: sigsegv.o] Error 1