[Bug 280171] make buildkernel on arm64 leaves stale symlink opt_bhyve_snapshot.h in /usr/obj

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Jul 2024 12:39:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280171

            Bug ID: 280171
           Summary: make buildkernel on arm64 leaves stale symlink
                    opt_bhyve_snapshot.h in /usr/obj
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: wosch@FreeBSD.org

I built a kernel FreeBSD 15.0-CURRENT/arm64. It will create a stale symlink
opt_bhyve_snapshot.h  in /usr/obj

I don't know if this breaks anything but it looks strange.

how to repeat:

cd /usr/src
make -j$(nproc) buildkernel
ls -lL
/usr/obj/usr/src/arm64.aarch64/sys/GENERIC/modules/usr/src/sys/modules/vmm/opt_bhyve_snapshot.h
lrwxr-xr-x  1 root wheel 63 Jul  6 17:02
/usr/obj/usr/src/arm64.aarch64/sys/GENERIC/modules/usr/src/sys/modules/vmm/opt_bhyve_snapshot.h
-> /usr/obj/usr/src/arm64.aarch64/sys/GENERIC/opt_bhyve_snapshot.h

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