Gentoo repo overlay for my PowerMac bug fixes and features. Includes patches to fix Node.js for older PowerPC CPUs. I'm working on big-endian bug fixes for Firefox and others.
The current version of "nss", used by Firefox and many others, generates some assembly code that requires POWER8 or newer CPUs (version 2.07 of Power ISA). The failure is an illegal instruction crash (SIGILL) when attempting to decode AES.
I've pushed a patched ebuild for this issue to my repo that adds "export NSS_DISABLE_ALTIVEC=1" if "cpu_flags_ppc_vsx2" is not set. Gentoo users on POWER8 or newer should be setting CPU_FLAGS_PPC to include "altivec", "vsx", and "vsx2" ("vsx3" is for POWER9).
I'm going to close this issue since I have a fix, but I still need to push this and my other fixes upstream to Gentoo. In this case, I don't need to submit a patch upstream.
The current version of "nss", used by Firefox and many others, generates some assembly code that requires POWER8 or newer CPUs (version 2.07 of Power ISA). The failure is an illegal instruction crash (SIGILL) when attempting to decode AES.
I've pushed a patched ebuild for this issue to my repo that adds "export NSS_DISABLE_ALTIVEC=1" if "cpu_flags_ppc_vsx2" is not set. Gentoo users on POWER8 or newer should be setting CPU_FLAGS_PPC to include "altivec", "vsx", and "vsx2" ("vsx3" is for POWER9).
More info here: https://gentoo.org/support/news-items/2019-09-11-cpu_flags_ppc-introduction.html