2015-11-19 16:05 GMT+01:00 John Paul Adrian Glaubitz < [email protected]>: > > https://buildd.debian.org/status/fetch.php?pkg=libsigsegv&arch=sparc64&ver=2.10-4&stamp=1447500379 > If you have any idea on how to fix this issue, I would be more than > happy to integrate your patch :).
Armchair quarterbacking here, but from my old copy of linux 3.16, the registers from the windows are named mc_gregs not gregs. The definition of "ucontext_t" is in "linux-source-3.16/arch/sparc/include/uapi/asm/uctx.h". It's also not REG_O6 but MC_O6 apparently. So perhaps: #define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.mc_gregs[MC_O6] Cordially, -- Romain Dolbeau

