git branch stable/14, 14.1-STABLE stable/14-n267682-626ee3cac845 GENERIC amd64 host cpu ryzen 5950 has no avx512 extension I've got the same error with march=native flag while trying to build ports which using system CC (chrome, libreoffice) https://github.com/llvm/llvm-project/issues/91719 Please merge patch from upstream https://github.com/llvm/llvm-project/commit/87f3407856e61a73798af4e41b28bc33b5bf4ce6
This is reported fixed in 18.1.6 while I'll update to shortly.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b74e0482275ebf33f39cc5db20a61d8744d490e1 commit b74e0482275ebf33f39cc5db20a61d8744d490e1 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-05-20 20:51:59 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-05-20 21:29:35 +0000 devel/llvm18: 18.1.6 release Included changes are in the release annoucment: https://discourse.llvm.org/t/18-1-6-released/79068 This includes a fix for -march=native which was broken in 18.1.5. Also includs a fix for OpenMP child processes. PR: 278843, 279131 devel/llvm18/Makefile | 2 +- devel/llvm18/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
Tested, all ok, thanks!