Date: Sun, 8 Jun 2025 20:21:20 +0300 From: Rozhuk Ivan <rozhuk.im@gmail.com> To: Dimitry Andric <dim@FreeBSD.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: HEADS UP: libllvm, libclang, and liblldb converted into shared libraries Message-ID: <20250608202120.7ba0e4c3@rimwks.local> In-Reply-To: <B44B37E9-16C8-46B2-95CA-2A9072174FFF@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
On Sat, 26 Apr 2025 18:06:54 +0200 Dimitry Andric <dim@FreeBSD.org> wrote: > In https://cgit.freebsd.org/src/commit/?id=2e47f35be5dc I committed a > change to convert libllvm, libclang, and liblldb into private shared > libraries. This means that tools like clang, lld, lldb, and more are > now quite a bit smaller, as all the common functionality is located > in those shared libraries. > > Note that these shared libraries are not the same as upstream's, and > are _not_ ABI compatible, which is why they are installed as private > shared libraries. If you need ABI compatibility and/or the > llvm-config tools, please use one of the devel/llvm ports. > ... > Please let me know if you encounter any problems resulting due to this > change, as I intend to MFC it. For example, I tried covering all > incremental build scenarios, but I may have missed some corner case. > It is dramatically increase configure time, and build time. Before commit: root@rimwksv:/usr/ports/net/ssdpd# /usr/bin/time -h make configure ... -- Build files have been written to: /tmp/ports/usr/ports/net/ssdpd/work/.build 3.03s real 1.80s user 1.28s sys root@rimwksv:/usr/ports/net/ssdpd# /usr/bin/time -h cc -v FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) Target: x86_64-unknown-freebsd14.3 Thread model: posix InstalledDir: /usr/bin 0.01s real 0.00s user 0.01s sys root@rimwksv:/usr/ports/net/ssdpd# /usr/bin/time -h cc -v FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) Target: x86_64-unknown-freebsd14.3 Thread model: posix InstalledDir: /usr/bin 0.01s real 0.00s user 0.00s sys root@rimwksv:/usr/ports/net/ssdpd# /usr/bin/time -h cc -v FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) Target: x86_64-unknown-freebsd14.3 Thread model: posix InstalledDir: /usr/bin 0.01s real 0.00s user 0.01s sys Build world+kernell: ~13m After: root@rimwksv:/usr/ports/net/ssdpd# /usr/bin/time -h make configure ... -- Build files have been written to: /tmp/ports/usr/ports/net/ssdpd/work/.build 12.79s real 11.99s user 0.85s sys root@rimwksv:/usr/ports/net/ssdpd# /usr/bin/time -h cc -v FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) Target: x86_64-unknown-freebsd14.3 Thread model: posix InstalledDir: /usr/bin 0.16s real 0.15s user 0.00s sys root@rimwksv:/usr/ports/net/ssdpd# /usr/bin/time -h cc -v FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) Target: x86_64-unknown-freebsd14.3 Thread model: posix InstalledDir: /usr/bin 0.16s real 0.15s user 0.01s sys root@rimwksv:/usr/ports/net/ssdpd# /usr/bin/time -h cc -v FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) Target: x86_64-unknown-freebsd14.3 Thread model: posix InstalledDir: /usr/bin 0.16s real 0.14s user 0.02s sys Build world+kernell: ~1hhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250608202120.7ba0e4c3>
