Created attachment 243531 [details] Unbreak aarch64 Some work was done to fixes it upstream but it continues to fail on aarch64. --- error: integer value 31 is outside the valid range of values [0, 15] for the enumeration type 'AddressingMode' [-Wenum-constexpr-conversion] --- Inspired by: https://cgit.freebsd.org/ports/commit/?id=ee3e6d5a17a0c78bb56f8d5719de82b8dd49950d
See also: https://chromium.googlesource.com/v8/v8.git/+/d15d49b09dc7aef9edcc4cf6a0cb2b77a0db203f
(In reply to Nuno Teixeira from comment #1) (...) Forgot error log: https://people.freebsd.org/~eduardo/logs/node18/node18-18.16.1.log
Created attachment 243594 [details] Use COMPILER_VERSION check - Use '.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 && ${ARCH} == aarch64' rather than depending on only OSVERSION
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a315d93d509a19c72ad9bf76a9b903e8f4cb6f80 commit a315d93d509a19c72ad9bf76a9b903e8f4cb6f80 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2023-07-25 06:46:11 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-07-25 06:48:01 +0000 www/node18: Fix build with llvm16 on aarch64 PR: 272645 Approved by: portmgr (blanket) www/node18/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
Committed.