[Bug 242523] security/nss 3.48 doesn't build on PowerPC
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 15 14:52:03 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242523
--- Comment #15 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Piotr Kubaj from comment #8)
> We would need to probably change differentiate powerpc64
> from powerpc and powerpcspe
powerpcspe doesn't support -maltivec according to base r307761.
(In reply to Mark Millard from comment #3)
> Use of -mvsx would prevent use of PowerMacs and such as far as I can tell:
Shouldn't be a problem if the file built with -mvsx is never called on a CPU
that lacks VSX. Looking at FreeBSD kernel code, PPC_FEATURE_HAS_VSX is always
available when PPC_FEATURE2_HAS_VEC_CRYPTO is.
> Old PowerMacs and such predate POWER7 and predate v2.06 of the Power ISA.
Is it possible to run FreeBSD powerpc (or only userland) on modern
powerpc64-capable hardware akin to running FreeBSD i386 (or only userland) on
modern x86_64-capable hardware? If so then -mcrypto -maltivec usage is correct
even on 32-bit powerpc.
At least lib/freebl/gcm-ppc.c (with USE_PPC_CRYPTO defined) builds fine with
Clang -target powerpc-unknown-freebsd13.0.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list