Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2019 01:15:08 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        ports-list freebsd <freebsd-ports@freebsd.org>
Subject:   Re: 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
Message-ID:  <7e4p-lo8j-wny@FreeBSD.org>
In-Reply-To: <36fd-oiar-wny@FreeBSD.org> (Jan Beich's message of "Mon, 28 Oct 2019 00:55:08 %2B0100")
References:  <B486E2E0-8880-48B3-9525-6AA9769B3BB5.ref@yahoo.com> <B486E2E0-8880-48B3-9525-6AA9769B3BB5@yahoo.com> <36fd-oiar-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich <jbeich@FreeBSD.org> writes:

> Mark Millard <marklmi@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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7e4p-lo8j-wny>