git: kernel: Disable build-ID for vkernel(7) and fix build

Aaron LI aly at crater.dragonflybsd.org
Tue Jul 28 05:24:59 PDT 2026


commit 4a85e644e69bbb018e1f3278494a6574421ac400
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Jul 28 20:15:50 2026 +0800

    kernel: Disable build-ID for vkernel(7) and fix build
    
    Vkernel(7) doesn't use a linker script, so it's not easy to define
    __build_id_{start,end} for it.
    
    A solution would be to locate the ELF in memory, parse and walk the
    program headers to find the ".note.gnu.build-id" section.
    
    Reported-by: Michael Neumann

Summary of changes:
 sys/kern/kern_mib.c | 9 +++++++++
 1 file changed, 9 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4a85e644e69bbb018e1f3278494a6574421ac400


-- 
DragonFly BSD source repository


More information about the Commits mailing list