Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2019 17:41:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 242523] security/nss 3.48 doesn't build on PowerPC
Message-ID:  <bug-242523-25139-dn2yztqBtQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242523-25139@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242523-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242523

--- Comment #16 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Jan Beich from comment #15)

Context FYI: old powerpc64 PowerMacs also predate what both -mvsx
and -mcypto enable (predate POWER7 and its 2.06 ISA). It is not
just a 32-bit powerpc issue for old PowerMacs.

I had written in comment 6:

QUOTE
The patch shows a check assigning something called ppc_crypto_support_
but I do not see anything analogous in the patch for the older VSX.
END QUOTE

So, as it was, adding -mvsx appeared to block use of old PowerMacs
(always enabled), even for powerc64. In essence, requiring POWER7
(2.06 ISA) or later as written.

After the old PowerMacs, POWER7 (2.06) has what is needed for -mvsx but
-mcrypto comes even later (2.07). So having crypto may imply VSX is
present, but having VSX present does not imply crypto is present.
Supporting -mvsx use on POWER7 would require testing PPC_FEATURE_HAS_VSX
explicitly and avoiding VSX code when not present.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242523-25139-dn2yztqBtQ>