[Bug 242523] security/nss 3.48 doesn't build on PowerPC
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 15 17:41:04 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242523
--- Comment #16 from Mark Millard <marklmi26-fbsd at 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list