I updated the system from 12.1-RELEASE-p1 to 12.1-RELEASE-p2 using the next commands: freebsd-update fetch freebsd-update install After that, I started rebuilding the GENERIC kernel with next commands: cd /usr/src/ make buildkernel KERNCONF=GENERIC Kernel rebuild aborts with the following error: In file included from /usr/src/sys/amd64/amd64/genassym.c:44: In file included from /usr/src/sys/sys/systm.h:126: In file included from /usr/src/sys/sys/kpilite.h:33: ./offset.inc:13:26: error: array is too large (18446744073709550697 elements) u_char pad_td_epochnest[0xf9 - (0x48c + sizeof(u_int))]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src What is it? And how to fix it?
I found the cause of the error. I accidentally replaced awk with gawk. Sorry.