Re: git: 8fc6b69f47e7 - main - security/putty: fix aarch64 build on clang 10.

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Tue, 11 Oct 2022 23:30:11 UTC
Am 12.10.22 um 00:17 schrieb Matthias Andree:
> The branch main has been updated by mandree:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=8fc6b69f47e7ee7da005f8b59fc10522d287740b
>
> commit 8fc6b69f47e7ee7da005f8b59fc10522d287740b
> Author:     Matthias Andree <mandree@FreeBSD.org>
> AuthorDate: 2022-10-11 22:12:57 +0000
> Commit:     Matthias Andree <mandree@FreeBSD.org>
> CommitDate: 2022-10-11 22:17:18 +0000
>
>      security/putty: fix aarch64 build on clang 10.
>      
> ...
> +--- crypto/CMakeLists.txt.orig	2022-09-21 23:42:30 UTC
> ++++ crypto/CMakeLists.txt
> +@@ -192,7 +192,7 @@ if(neon)
> +       volatile poly128_t r;
> +       volatile poly64_t a, b;
> +       volatile poly64x2_t u, v;
> +-      int main(void) { r = vmull_p64(a, b); r = vmull_high_p64(u, v); }"
> ++      int main(void) { r = vmull_p64(a, b); r = vmull_high_p64(u, v); r = vaddq_p128(r, r); }"
> +     ADD_SOURCES_IF_SUCCESSFUL aesgcm-neon.c)
> +
> +   # The 'sha3' architecture extension, despite the name, includes

Apparently this also excludes NEON-accelerated aesgcm crypto on 13.1, 
which was not the intention of this patch, and may slow down crypto on 
capable ARM64 (aarch64) systems, but it should also get putty back 
onboard 12.3-based NEON-capable ARM systems.

Am currently building QEMU-based stable/13 jail to debug in more detail.