Created attachment 234988 [details] Patch for nettle This patch backports upstream commit d4c7597e4236f746434c9a1a24f6191f7ff870cd to fix compilation with aarch64 assembly code and mikael@ provided glue for runtime detection of hardware features/instructions Tested on RockPro64 with GnuTLS (13.1-RELEASE)
Friendly ping
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a8ebe6902a15a11102372d0575c18cc9a01f19b1 commit a8ebe6902a15a11102372d0575c18cc9a01f19b1 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-07-11 13:51:34 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-11 13:51:34 +0000 security/nettle: Fix build of assembly code on aarch64 PR: 264946 Reported by: diizzy Tested by: diizzy (RockPro64 with GnuTLS on 13.1-RELEASE) Obtained from: https://git.lysator.liu.se/nettle/nettle/-/commit/d4c7597e4236f746434c9a1a24f6191f7ff870cd security/nettle/Makefile | 4 - .../files/patch-arm64-chacha-4core.asm (new) | 146 +++++++++++++++++++++ security/nettle/files/patch-fat-arm64.c (new) | 27 ++++ .../patch-powerpc64-p7-chacha-4core.asm (new) | 130 ++++++++++++++++++ .../files/patch-s390x-vf-chacha-4core.asm (new) | 130 ++++++++++++++++++ 5 files changed, 433 insertions(+), 4 deletions(-)
Committed. Thanks!