Date: Sun, 15 Dec 2019 14:52:02 +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-lye2ys2Mcd@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 #15 from Jan Beich <jbeich@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 alwa= ys 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 corr= ect 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. --=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-lye2ys2Mcd>