[Bug 279005] Cannot build 14-STABLE kernel due to ld: error: undefined symbol: ktrcapfail (ktrace)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 15 May 2024 11:37:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279005

            Bug ID: 279005
           Summary: Cannot build 14-STABLE kernel due to ld: error:
                    undefined symbol: ktrcapfail (ktrace)
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jakub_lach@mailplus.pl

Hello, 

I'm on FreeBSD 14.1-STABLE #0 stable/14-91df7d335 with custom kernel with
KTRACE removed, after updating git I wanted to rebuild the same kernel and
world, kernel failed with:

--- kernel ---
linking kernel
ld: error: undefined symbol: ktrcapfail
>>> referenced by vfs_lookup.c
>>>               vfs_lookup.o:(namei)
>>> referenced by vfs_lookup.c
>>>               vfs_lookup.o:(namei_setup)
>>> referenced by vfs_lookup.c
>>>               vfs_lookup.o:(vfs_lookup)
>>> referenced 3 more times
*** [kernel] Error code 1

I suspect recent ktrace changes.

-- 
You are receiving this mail because:
You are the assignee for the bug.