I tried to cross compile FreeBSD on macOS. I choose the clang20 from homebrew and got the error message:
- libsys.so.7.full ---
Building shared library libsys.so.7
[...]
clang: error: invalid linker name in argument '--ld-path=lld'
- [libsys.so.7.full] Error code 1
Apparently, the workaround in share/mk/bsd.sys.mk with mapping ld.lld -> lld no longer works