distributions.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* nss-3.90 breaks w/ earlier x86-64 CPUs (SIGILL)
@ 2023-06-06 21:12 Sam James
  2023-06-07  6:49 ` John Paul Adrian Glaubitz
  0 siblings, 1 reply; 2+ messages in thread
From: Sam James @ 2023-06-06 21:12 UTC (permalink / raw)
  To: distributions

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

nss-3.90 unconditionally uses adcxq on x86-64 which breaks on <
Broadwell.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1836925. There's
an upstream patch to just rip it out for now, but you need a
pre-requisite patch too.

Patches:
1. https://github.com/nss-dev/nss/commit/c07c4e073d95a25343cbf56b4a830a71e432869e
2. https://phabricator.services.mozilla.com/D180068?download=true

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 377 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nss-3.90 breaks w/ earlier x86-64 CPUs (SIGILL)
  2023-06-06 21:12 nss-3.90 breaks w/ earlier x86-64 CPUs (SIGILL) Sam James
@ 2023-06-07  6:49 ` John Paul Adrian Glaubitz
  0 siblings, 0 replies; 2+ messages in thread
From: John Paul Adrian Glaubitz @ 2023-06-07  6:49 UTC (permalink / raw)
  To: Sam James; +Cc: distributions

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-07  6:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-06 21:12 nss-3.90 breaks w/ earlier x86-64 CPUs (SIGILL) Sam James
2023-06-07  6:49 ` John Paul Adrian Glaubitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).