Found in the code:
const int S=sizeof(char*);      // 4 = x86, 8 = x86-64
if (*(char*)&t!=0x78 || (S!=4 && S!=8))                                        
    error("JIT supported only for x86-32 and x86-64");

Yet the arch check code is not strong, it lets ppc through and then fails.
It also seems to have "invalid instruction" code detection but that only works 
on x86 as well.

TL;DR Jit in zpac isn't good for non x86.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669069

Title:
  lrzip dies on ppc64el when using zpaq

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lrzip/+bug/1669069/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to