[Bug 242523] security/nss 3.48 doesn't build on PowerPC

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242523

--- Comment #15 from Jan Beich <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.