[Bug 291232] x11/nvidia-kmod: On recent CURRENT : link_elf_obj: symbol nv_kthread_q_schedule_q_item undefined

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 27 Nov 2025 14:41:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291232

--- Comment #10 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to O. Hartmann from comment #9)
What I've mentioned is not only "sync src and pkg tree", but also /src/obj/
needed to be cleaned after rolling back the tree.

This is because if *.o (including *.pico) already built with updated source
files are left in /usr/obj/, they can be skipped to be built using rolled back
source, thus, things does not change or even worse. This is what I've be betten
before.

And (IIRC) *.depends and *.meta generated by compiler for records are not
cleaned by usual `make clean` (including cleanworld and cleankernel).
For *.depends, `make cleandepends` would work (IIRC, not worked as expected for
kernel, unlike for world, though). But IIRC, there's not `cleanmeta` target to
clean *.meta.

After bitten by it, and as I'm using Root-on-ZFS installation, I've started to
take snapshot (independent dataset for me) of /usr/obj having the commit used
in snapshot names everytime buildworld and buildkernel succeeded. So I'm not
bothered for clean rebuilds. Just roll back to known working commit and install
from there.

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