clang 20 needs the real linker name
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Sep 2025 05:30:35 UTC
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 see https://reviews.freebsd.org/D52330 -Wolfram -- Wolfram Schneider <wosch@FreeBSD.org> https://wolfram.schneider.org