--- ./lib/sigsegv.c.orig 2021-05-29 12:41:18.000000000 -0700 +++ ./lib/sigsegv.c 2021-05-29 12:43:06.000000000 -0700 @@ -562,7 +562,7 @@ - 'ucontext_t' and 'struct __darwin_ucontext' in , - 'struct __darwin_mcontext64' in , and - 'struct __darwin_x86_thread_state64' in . */ -# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext->__ss.__rsp +# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext->ss.rsp # elif defined __i386__ @@ -570,7 +570,7 @@ - 'ucontext_t' and 'struct __darwin_ucontext' in , - 'struct __darwin_mcontext32' in , and - 'struct __darwin_i386_thread_state' in . */ -# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext->__ss.__esp +# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext->ss.esp # elif defined __arm64__ @@ -586,7 +586,7 @@ - 'ucontext_t' and 'struct __darwin_ucontext' in , - 'struct __darwin_mcontext' in , and - 'struct __darwin_ppc_thread_state' in . */ -# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext->__ss.__r1 +# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext->ss.r1 # endif