Date: Sat, 18 Feb 2023 07:41:36 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Jeffrey Bouquet <jbtakk@iherebuywisely.com> Cc: current <current@freebsd.org> Subject: Re: buildworld failure Message-ID: <Y/DxsDqMZR7/cmy1@troutmask.apl.washington.edu> In-Reply-To: <E1pTIed-0003yH-82@rmmprod05.runbox> References: <E1pTIed-0003yH-82@rmmprod05.runbox>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 18, 2023 at 12:33:11AM -0800, Jeffrey Bouquet wrote: > Building /usr/obj/usr/src/amd64.amd64/tools/build/test-includes/sys_bitco= unt.c > Building /usr/obj/usr/src/amd64.amd64/tools/build/test-includes/sys_bitco= unt.o > sys_bitcount.c:1:10: fatal error: 'sys/bitcount.h' file not found > #include <sys/bitcount.h> > ^~~~~~~~~~~~~~~~ > 1 error generated. > *** Error code 1 >=20 > Stop. > make[3]: stopped in /usr/src/tools/build/test-includes > .ERROR_TARGET=3D'sys_bitcount.o' > .ERROR_META_FILE=3D'/usr/obj/usr/src/amd64.amd64/tools/build/test-include= s/sys_bitcount.o.meta' > .MAKE.LEVEL=3D'3' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' > _ERROR_CMD=3D'/usr/local/bin/clang14 -O2 -pipe -fno-common -g -gz=3Dzl= ib -std=3Dgnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/local= /llvm14/lib/clang/14.0.6/include -fstack-protector-strong -Wsystem-headers = -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-stri= ngs -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wn= ested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissin= g-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-in= t -Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable -Qunused= -arguments -c sys_bitcount.c -o sys_bitcount.o; ;' > .CURDIR=3D'/usr/src/tools/build/test-includes' > .MAKE=3D'make' > .OBJDIR=3D'/usr/obj/usr/src/amd64.amd64/tools/build/test-includes' > .TARGETS=3D'test-includes' > DESTDIR=3D'/usr/obj/usr/src/amd64.amd64/tmp' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'amd64' > MACHINE_ARCH=3D'amd64' > MAKEOBJDIRPREFIX=3D'' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20220208' > PATH=3D'/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64= /tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd= 64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bi= n:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/= tmp/legacy/usr/libexec::/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/s= rc/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/o= bj/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/sr= c/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin' > SRCTOP=3D'/usr/src' > OBJTOP=3D'/usr/obj/usr/src/amd64.amd64 > ..................................... >=20 > Anyone see/know anything causing this error?=20 > Also, the buildworld command most likely to build the most amd64 componen= ts from scratch?=20 I'm seeing a different buildworld problem. =3D=3D=3D> usr.bin/nm (obj,all,install) = =20 cc -O2 -pipe -fno-common -I/usr/src/contrib/elftoolchain/libelftc -I/usr/sr= c/con trib/elftoolchain/common -std=3Dgnu99 -Wno-format-zero-length -Wsy= stem-headers -Wa ll -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-pr= ototypes -Wmissing-protot ypes -Wpointer-arith -Wreturn-type -Wcast-qual= -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wch= ar-subscripts -Wnested-externs -Wold-style- definition -Wno-pointer-sign= -Wdate-time -Wmissing-variable-declarations -Wthrea d-safety -Wno-empty= -body -Wno-string-plus-int -Wno-unused-const-variable -Wno-er ror=3Dunus= ed-but-set-variable -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tm = p/legacy/usr/include -Wl,-zrelro -static -L/usr/obj/usr/src/amd64.amd64= /tmp/l egacy/usr/lib -o nm nm.o -L/usr/obj/usr/src/amd64.amd64/tmp/obj-= tools/lib/libdw arf -ldwarf -L/usr/obj/usr/src/amd64.amd64/tmp/obj-tools= /lib/libelf -lelf -L/usr /obj/usr/src/amd64.amd64/tmp/obj-tools/lib/libz= -lz -L/usr/obj/usr/src/amd64.amd 64/tmp/obj-tools/lib/libelftc -lelftc_= pie -L/usr/obj/usr/src/amd64.amd64/tmp/obj -tools/lib/libelf -lelf -leg= acy =20 PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include = the crash backtrace. Stack dump: 0. Program arguments: /usr/bin/ld --eh-frame-hdr -Bstatic -o nm /usr/l= ib/crt1.o /usr/lib/crti.o /usr/lib/crtbeginT.o -L/usr/obj/usr/src/amd64.amd= 64/tmp/legacy/usr/lib -L/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/libd= warf -L/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/libelf -L/usr/obj/usr= /src/amd64.amd64/tmp/obj-tools/lib/libz -L/usr/obj/usr/src/amd64.amd64/tmp/= obj-tools/lib/libelftc -L/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/lib= elf -L/usr/lib -zrelro nm.o -ldwarf -lelf -lz -lelftc_pie -lelf -legacy -lg= cc -lgcc_eh -lc -lgcc -lgcc_eh /usr/lib/crtend.o /usr/lib/crtn.o #0 0x000000000164f1c1 (/usr/bin/ld+0x164f1c1) #1 0x000000000164d4a5 (/usr/bin/ld+0x164d4a5) #2 0x000000000164f8e0 (/usr/bin/ld+0x164f8e0) #3 0x0000000827446a60 (/lib/libthr.so.3+0x19a60) #4 0x000000082744601f (/lib/libthr.so.3+0x1901f) #5 0x000000082362e8a3 ([vdso]+0x2d3) #6 0x0000000000cf4830 (/usr/bin/ld+0xcf4830) #7 0x0000000000cf7b89 (/usr/bin/ld+0xcf7b89) #8 0x0000000000cf55a3 (/usr/bin/ld+0xcf55a3) #9 0x0000000000cf5217 (/usr/bin/ld+0xcf5217) #10 0x0000000000dabe23 (/usr/bin/ld+0xdabe23) #11 0x0000000000da7754 (/usr/bin/ld+0xda7754) #12 0x0000000000cf4ec5 (/usr/bin/ld+0xcf4ec5) #13 0x0000000000cc6e83 (/usr/bin/ld+0xcc6e83) #14 0x0000000000cbe4bc (/usr/bin/ld+0xcbe4bc) #15 0x0000000000cbccda (/usr/bin/ld+0xcbccda) cc: error: unable to execute command: Segmentation fault (core dumped) cc: error: linker command failed due to signal (use -v to see invocation) *** Error code 254 % uname -a FreeBSD hotrats 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n260094-906c312bb= f74: Fri Feb 3 21:28:39 PST 2023 kargl@hotrats:/usr/obj/usr/src/amd64.= amd64/sys/HOTRATS amd64 The above is likely=20 --=20 Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y/DxsDqMZR7/cmy1>