Date: Tue, 24 Aug 2021 20:59:56 -0400 From: mike tancsa <mike@sentex.net> To: Warner Losh <imp@bsdimp.com> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: strange buildworld issue on RELENG_12 (resolved) Message-ID: <77524047-004a-1373-d816-ecae1b9c423c@sentex.net> In-Reply-To: <CANCZdfrSNi8CmukL7-=Fx1TLvthF34M9Ty5eWjyNk%2BCVr8n5Nw@mail.gmail.com> References: <2763c126-a7ca-31fb-c0fe-12f5859433c2@sentex.net> <CANCZdfrSNi8CmukL7-=Fx1TLvthF34M9Ty5eWjyNk%2BCVr8n5Nw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/24/2021 8:46 PM, Warner Losh wrote: > There was an awk bug that caused that. It was only a few days several > weeks ago, but you wouldn't see it until the upgrade. You may need to > rebuild it. > Ahhh, thanks Warner!! That was it. After buildworld # cd /usr/src/usr.bin/awk # make install and now buildkernel works. Thanks! =C2=A0=C2=A0=C2=A0 ---Mike > Warner=C2=A0 > > On Tue, Aug 24, 2021, 6:37 PM mike tancsa <mike@sentex.net > <mailto:mike@sentex.net>> wrote: > > I have a number of RELENG_12 boxes I track via svn and git but on o= ne > cannot build a kernel for some reason. I blew away /usr/obj and > checked > out a fresh copy of the tree, but buildkernel still fails with > > .... > -------------------------------------------------------------- > >>> stage 3.1: building everything > -------------------------------------------------------------- > cd /usr/obj/usr/src/amd64.amd64/sys/GENERIC; MACHINE_ARCH=3Damd64 > MACHINE=3Damd64 CPUTYPE=3D CC=3D"cc -target x86_64-unknown-freebsd1= 2.2 > --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp > -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CXX=3D"c++=C2=A0 -targe= t > x86_64-unknown-freebsd12.2 --sysroot=3D/usr/obj/usr/src/amd64.amd64= /tmp > -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CPP=3D"cpp -target > x86_64-unknown-freebsd12.2 --sysroot=3D/usr/obj/usr/src/amd64.amd64= /tmp > -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" AS=3D"as" AR=3D"ar" LD=3D= "ld" > LLVM_LINK=3D"" NM=3Dnm OBJCOPY=3D"objcopy" RANLIB=3Dranlib STRINGS=3D= > SIZE=3D"size" > INSTALL=3D"sh /usr/src/tools/install.sh" > PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/us= r/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/leg= acy/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.= amd64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin > make=C2=A0 -m /usr/src/share/mk=C2=A0 KERNEL=3Dkernel all -DNO_MODU= LES_OBJ > machine -> /usr/src/sys/amd64/include > x86 -> /usr/src/sys/x86/include > cc -target x86_64-unknown-freebsd12.2 > --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp > -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe > -fno-strict-aliasing -g -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD > -MF.depend.genoffset.o -MTgenoffset.o > -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include > -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -mcmodel=3Dke= rnel > -mno-red-zone -mno-mmx -mno-sse -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fwrapv > -fstack-protector > -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy= pes > -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef > -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ > -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragm= as > -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body > -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function > -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value > -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes > -mno-avx > -std=3Diso9899:1999 -fcommon /usr/src/sys/kern/genoffset.c > NM=3D'nm' NMFLAGS=3D'' sh /usr/src/sys/kern/genoffset.sh genoffset.= o > > offset.inc > cc -target x86_64-unknown-freebsd12.2 > --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp > -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe > -fno-strict-aliasing -g -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD > -MF.depend.genassym.o -MTgenassym.o > -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include > -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -mcmodel=3Dke= rnel > -mno-red-zone -mno-mmx -mno-sse -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding -fwrapv > -fstack-protector > -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy= pes > -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef > -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ > -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragm= as > -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body > -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function > -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value > -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes > -mno-avx > -std=3Diso9899:1999 -fcommon /usr/src/sys/amd64/amd64/genassym.c > 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) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 u_char=C2=A0 pad_td_epoc= hnest[0xf9 - (0x48c + sizeof(u_int))]; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~ > 1 error generated. > *** Error code 1 > > Stop. > make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC > *** Error code 1 > *** Error code 1 > > > Any idea what might be going on ? Nothing in make.conf and src.conf= > > Previous buildworld was from > > #0 r370122: Mon Jul 12 09:18:15 EDT 2021 > > =C2=A0=C2=A0=C2=A0 ---Mike > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77524047-004a-1373-d816-ecae1b9c423c>