I'm getting SIGILL on S390 when running xpcshell during packaging, when generating startup cache. What seems to happen is that some compiler optimizations are breaking the NS_InvokeByIndex assembly. Compiling xptcinvoke_linux_s390.cpp without optimization makes xptcinvoke work. However, the function call convention on s390 is pretty straightforward, and can actually be implemented in pure C like we have on e.g. x86-64 or ARM.
Created attachment 568673 [details] [diff] [review] Reimplement NS_InvokeByIndex in C on S390 Linux
Attachment #568673 - Flags: review?(benjamin)
Comment on attachment 568673 [details] [diff] [review] Reimplement NS_InvokeByIndex in C on S390 Linux rubberstamping port-specific code, I'm not really interested in reviewing it anyway.
Attachment #568673 - Flags: review?(benjamin) → review+
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in before you can comment on or make changes to this bug.