Re: git: c59a47dc6c01 - main - src.opts.mk: Enable LLDB by default globally
Date: Thu, 29 Jan 2026 23:59:57 UTC
On 28 Jan 2026, at 23:14, Ed Maste <emaste@FreeBSD.org> wrote: > The branch main has been updated by emaste: > > URL: https://cgit.FreeBSD.org/src/commit/?id=c59a47dc6c016dff74466cecb160459980a5d782 > > commit c59a47dc6c016dff74466cecb160459980a5d782 > Author: Ed Maste <emaste@FreeBSD.org> > AuthorDate: 2026-01-22 19:10:12 +0000 > Commit: Ed Maste <emaste@FreeBSD.org> > CommitDate: 2026-01-28 23:13:52 +0000 > > src.opts.mk: Enable LLDB by default globally > > Previously it was enabled for all architectures except but RISC-V. > Upstream made significant progress on RISC-V support over the last > year[1], and although there's still some FreeBSD-specific work to do we > can start building it now. > > [1] https://jonasdevlieghere.com/post/lldb-2025/ > > Sponsored by: The FreeBSD Foundation Hi Ed, Did you test this? It broke the riscv64 build job in CI: 02:54:34 ld: error: undefined reference: lldb_private::process_freebsd::NativeRegist= 02:54:34 erContextFreeBSD::CreateHostNativeRegisterContextFreeBSD(lldb_private::Arch= 02:54:34 Spec const&, lldb_private::process_freebsd::NativeThreadFreeBSD&) 02:54:34 >>> referenced by /usr/obj/usr/src/riscv.riscv64/lib/clang/liblldb/libpriva= 02:54:34 telldb.so (disallowed by --no-allow-shlib-undefined) 02:54:34 c++: error: linker command failed with exit code 1 (use -v to see invocatio= 02:54:34 n) 02:54:34 *** [lldb.full] Error code 1 So I’m not convinced our in-tree LLDB version is ready for this. Jessica