Created attachment 233325 [details] patch Backport of the same patch for llvm-devel.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a7c192dc40b51cc8d08f04ffe69cee13637c4f6 commit 3a7c192dc40b51cc8d08f04ffe69cee13637c4f6 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2022-04-20 23:17:01 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2022-04-20 23:17:01 +0000 devel/llvm14: enable COMPILER_RT on riscv64 Also use the base system unwind.h when appropriate. PR: 262707, 263414 Submitted by: pkubaj devel/llvm14/Makefile | 43 +++++++++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 10 deletions(-)