void-packages/srcpkgs/LuaJIT/files/patches/ppc64/fix-vm-jit-ppc64.patch
q66 da1f946705 LuaJIT: don't apply ppc64 patchset for ppc (breaks JIT)
There is something in the ppc64 patch that breaks 32-bit ppc in
some scenarios (it appears to work but segfaults e.g. when
building neovim). So until that is investigated and fixed,
conditionalize this.
2019-10-12 10:51:13 +02:00

11 lines
345 B
Diff

--- src/vm_ppc.dasc 2019-06-03 19:41:50.214671731 +0200
+++ src/vm_ppc.dasc 2019-06-03 19:44:40.229686143 +0200
@@ -2774,7 +2774,7 @@
|
|->vm_exit_handler:
|.if JIT
- | addi sp, TMP0, sp, -(EXIT_OFFSET+32*8+32*PSIZE)
+ | addi sp, sp, -(EXIT_OFFSET+32*8+32*PSIZE)
| saver 3 // CARG1
| saver 4 // CARG2
| saver 5 // CARG3