security/nss (from head -r515742): build failure for poudriere-devel based amd64->armv7 (cortex-a7) cross build, it tried to build aes-armv8.c and failed

Jan Beich jbeich at FreeBSD.org
Mon Oct 28 00:15:10 UTC 2019


Jan Beich <jbeich at FreeBSD.org> writes:

> Mark Millard <marklmi at yahoo.com> writes:
>
>> For some reason security/nss tried to build "-march=armv8-a -mfpu=crypto-neon-fp-armv8 aes-armv8.c"
>> material when targeting armv7 (cortex-a7). This did not go well . . .
>
> ARMv8 isn't limited to 64-bit mode. NSS 3.47 builds fine on 12.0 armv7, see
> http://www.ipv6proxy.net/go.php?u=http://beefy13.nyi.freebsd.org/data/120armv7-quarterly/515271/logs/nss-3.47.log

Also, the code in question is gated by arm_aes_support(). CPU features
are detected at runtime before being used (similar to x86).


More information about the freebsd-ports mailing list