Re: nss-3.90 breaks w/ earlier x86-64 CPUs (SIGILL)

John Paul Adrian Glaubitz <[email protected]> Wed, 07 Jun 2023 08:49:39 +0200
Newsgroups dev.linux.lists.distributions
Message-ID <880e5dc1bd772c843c8375c521516bfb70458754.camel@physik.fu-berlin.de>
Hi Sam!

On Tue, 2023-06-06 at 22:12 +0100, Sam James wrote:
> nss-3.90 unconditionally uses adcxq on x86-64 which breaks on <
> Broadwell.

Thanks for the heads-up! It's unfortunately a common problem with
the Mozilla codebase and has happened multiple times before.

Someone contributes new code to accelerate functionality using new
processor features and then they completely forget to guard this
code properly so it isn't used unconditionally.

Also, Mozilla's build system is rather complex which means adding
such guards as an external contributor is quite time consuming,
been there, done that.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913