I'm trying to cross compile @system to sparc64 and it stops at dev-libs/libsigsegv-2.14-r1::gentoo Reproducible: Always Steps to Reproduce: # sparc64-unknown-linux-gnu-emerge --ask --verbose --update --deep --changed-use @system
Created attachment 906953 [details] # sparc64-unknown-linux-gnu-emerge --info '=dev-libs/libsigsegv-2.14-r1::gentoo'
Created attachment 906954 [details] /usr/sparc64-unknown-linux-gnu/tmp/portage/dev-libs/libsigsegv-2.14-r1/temp/build.log
https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=commitdiff;h=2918accda83436dc75518d0a294d28573c6b1a27 may fix it, although I thought I'd backported all of those patches, apparently I didn't.
(In reply to Sam James from comment #3) > https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=commitdiff; > h=2918accda83436dc75518d0a294d28573c6b1a27 may fix it, although I thought > I'd backported all of those patches, apparently I didn't. I think this one fixes another problem. My patch is different: # cat /usr/sparc64-unknown-linux-gnu/etc/portage/patches/dev-libs/libsigsegv-2.14-r1/fix_compile.patch diff '--color=auto' -Nru libsigsegv-2.14/src/handler-unix.c libsigsegv-2.14_/src/handler-unix.c --- libsigsegv-2.14/src/handler-unix.c 2024-10-27 08:38:31.882019389 -0000 +++ libsigsegv-2.14_/src/handler-unix.c 2024-10-27 08:45:08.915747688 -0000 @@ -356,7 +356,7 @@ int emergency = (old_sp >= stk_extra_stack && old_sp <= stk_extra_stack + stk_extra_stack_size); - stackoverflow_context_t context = (SIGSEGV_FAULT_CONTEXT); + stackoverflow_context_t context = (stackoverflow_context_t)(SIGSEGV_FAULT_CONTEXT); #else int emergency = 0; stackoverflow_context_t context = (void *) 0;