Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Dec 2025 15:24:15 +0000
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: f8c53a64a7d1 - stable/15 - src.opts.mk: Enable LLDB for 32-bit arm
Message-ID:  <69383f1f.328d5.3d0a63bb@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help

The branch stable/15 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=f8c53a64a7d1f599f0710454faeeefa469cee56a

commit f8c53a64a7d1f599f0710454faeeefa469cee56a
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-09-21 14:31:05 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-12-09 15:24:00 +0000

    src.opts.mk: Enable LLDB for 32-bit arm
    
    It was previously disabled when we built for older 32-bit arm targets
    which lack 64-bit atomics.  As we now support armv7 at a minimum there
    is no need to disable LLDB.
    
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D52668
    
    (cherry picked from commit 69415879e9e493cba78b3a4afb1a78d813a2eb8a)
---
 share/man/man5/src.conf.5 | 6 +++---
 share/mk/src.opts.mk      | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5
index 0d304a6b4667..ba8b79b7c5bd 100644
--- a/share/man/man5/src.conf.5
+++ b/share/man/man5/src.conf.5
@@ -1,5 +1,5 @@
 .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
-.Dd October 1, 2025
+.Dd October 22, 2025
 .Dt SRC.CONF 5
 .Os
 .Sh NAME
@@ -956,12 +956,12 @@ Do not build LLVM's lld linker.
 Do not build the LLDB debugger.
 .Pp
 This is a default setting on
-arm/armv7 and riscv/riscv64.
+riscv/riscv64.
 .It Va WITH_LLDB
 Build the LLDB debugger.
 .Pp
 This is a default setting on
-amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and powerpc/powerpc64le.
+amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc64 and powerpc/powerpc64le.
 .It Va WITHOUT_LLD_BOOTSTRAP
 Do not build the LLD linker during the bootstrap phase of
 the build.
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index c8c3d89873fb..91ea9534fcd6 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -302,7 +302,7 @@ __DEFAULT_NO_OPTIONS+=FDT
 __DEFAULT_YES_OPTIONS+=FDT
 .endif
 
-.if ${__T:Marm*} == "" && ${__T:Mriscv64*} == ""
+.if ${__T:Mriscv64*} == ""
 __DEFAULT_YES_OPTIONS+=LLDB
 .else
 __DEFAULT_NO_OPTIONS+=LLDB



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69383f1f.328d5.3d0a63bb>