DF-5639 / build.log
== PoC build (baseline guest, stock kernel) == + cc -O1 -o /tmp/tls_noncanon /tmp/tls_noncanon.c && chown nobody /tmp/tls_noncanon BUILD_OK (no diagnostics) == PoC build (patched guest) == + cc -O1 -o /tmp/tls_noncanon /tmp/tls_noncanon.c && cc -O1 -o /tmp/tls_edge /tmp/tls_edge.c BUILD_OK (gcc: one benign implicit-declaration warning for syscall(2) in the ad-hoc gscheck.c only; PoC proper compiles clean with -O1) == Fix kernel build (in guest, patched /usr/src) == + cd /usr/src && patch -p1 < /tmp/fix.diff Patching file sys/platform/pc64/x86_64/tls.c using Plan A: Hunk #1 succeeded at 101. Patching file sys/platform/pc64/x86_64/machdep.c using Plan A: Hunk #1 succeeded at 923. PATCH_APPLIED + make -j6 nativekernel KERNCONF=X86_64_GENERIC (first attempt: plain buildkernel refused -- "You must buildworld before buildkernel"; snapshot has no built world tools; nativekernel is the documented alternative) ... full kernel compile, -Werror, no errors ... NATIVEKERNEL_DONE + make installkernel KERNCONF=X86_64_GENERIC INSTALL_DONE + reboot -> uname -a: DragonFly dfbsd 6.5-DEVELOPMENT #1: Fri Oct 9 03:00:09 UTC 2026 root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64