stable/12 buildkernel broken?

From: Eugene Grosbein <eugen_at_grosbein.net>
Date: Fri, 16 Jul 2021 12:54:06 +0700
Hi!

I've just upgraded one of my 12.2-RELEASE/amd64 servers with gitup to 12.2-STABLE (commit db306b0b412a0d14c8a25ab5194c82106a09d0e2),
buildworld and buildkernel went OK (GENERIC kernel), installed and rebooted fine.

Now it cannot rebuild a kernel, even GENERIC one:

--------------------------------------------------------------
>>> stage 3.1: building everything
--------------------------------------------------------------
cd /usr/obj/usr/src/amd64.amd64/sys/GENERIC; MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE=native BUILD_
TOOLS_META=.NOMETA CC="cc -target x86_64-unknown-freebsd12.2 --sysroot=/usr/obj/usr/src/amd64.amd64
/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CXX="c++  -target x86_64-unknown-freebsd12.2 --sys
root=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CPP="cpp -target
x86_64-unknown-freebsd12.2 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd6
4/tmp/usr/bin" AS="as" AR="ar" LD="ld" LLVM_LINK="" NM=nm OBJCOPY="objcopy" RANLIB=ranlib STRINGS=
SIZE="size" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr
/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/
usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/sbin:/bin:/usr/s
bin:/usr/bin make  -m /usr/src/share/mk  KERNEL=kernel all -DNO_MODULES_OBJ
Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC/genoffset.o
Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC/offset.inc
Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC/genassym.o
In file included from /usr/src/sys/amd64/amd64/genassym.c:44:
In file included from /usr/src/sys/sys/systm.h:130:
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

I re-cloned src with gitup -c -w db306b0b412a0d14c8a25ab5194c82106a09d0e2 and still same error.
I tried to clean /usr/obj, disable META_MODE etc., still same error.

Is it known problem?
Received on Fri Jul 16 2021 - 05:54:06 UTC

Original text of this message