+14
−2
+7
−0
Loading
clang's __builtin_setjmp saves the FPRs with stfd even under -msoft-float, so every thread start on powerpc e500v2 (no classic FPU) died with SIGILL in sys::thread::_start since 427d6789. Off x86_64 sys::thread now uses systempp's own _setjmp/_longjmp (arch/<arch>/setjmp.S: integer callee-saved registers only) with a jmp_buf-sized _exitjmp. x86_64 is unchanged. Checked under qemu-ppc (e500v2): a C pthread_create/join program and Rust programs with threads run again. Co-Authored-By:Claude Opus 5.5 <noreply@anthropic.com>