Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2025 07:30:35 +0200
From:      Wolfram Schneider <wosch@freebsd.org>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   clang 20 needs the real linker name
Message-ID:  <CAMWY7CBgB_SOumitzbf9xuO15nqeafeqOZW80c0FexxrGgpL4w@mail.gmail.com>

index | next in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMWY7CBgB_SOumitzbf9xuO15nqeafeqOZW80c0FexxrGgpL4w>