Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2022 01:30:11 +0200
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 8fc6b69f47e7 - main - security/putty: fix aarch64 build on clang 10.
Message-ID:  <54005c9e-9850-52ef-9ef2-97e0dccd4ca2@FreeBSD.org>
In-Reply-To: <202210112217.29BMHKD5023982@gitrepo.freebsd.org>
References:  <202210112217.29BMHKD5023982@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54005c9e-9850-52ef-9ef2-97e0dccd4ca2>