Re: git: 0817c8dc2a48 - main - Avoid adding -d to kernel module link command lines for lld >= 14

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 15 May 2022 04:34:45 UTC
On 2022-May-14, at 20:40, Mark Millard <marklmi@yahoo.com> wrote:

> On 2022-May-14, at 20:32, Mark Millard <marklmi@yahoo.com> wrote:
> 
>> After building, installing, and booting based on 0817c8dc2a48 I
>> attempted a self updating buildworld buildkernel, both non-debug
>> debug (via a script). The non-debug build got the following but
>> the debug build did not.
>> 
>> 
>> 
>> 
>> --- blacklistd.full ---
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:294 (/usr/main-src/contrib/blacklist/lib/bl.c:294)
>>>>>             bl.o:(bl_create) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> --- all_subdir_lib ---
>> --- all_subdir_lib/libblacklist ---
>> Building /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.so.0
>> --- all_subdir_usr.sbin ---
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:300 (/usr/main-src/contrib/blacklist/lib/bl.c:300)
>>>>>             bl.o:(bl_create) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:300 (/usr/main-src/contrib/blacklist/lib/bl.c:300)
>>>>>             bl.o:(bl_create) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:210 (/usr/main-src/contrib/blacklist/lib/bl.c:210)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:210 (/usr/main-src/contrib/blacklist/lib/bl.c:210)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:222 (/usr/main-src/contrib/blacklist/lib/bl.c:222)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:222 (/usr/main-src/contrib/blacklist/lib/bl.c:222)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:189 (/usr/main-src/contrib/blacklist/lib/bl.c:189)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:189 (/usr/main-src/contrib/blacklist/lib/bl.c:189)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:260 (/usr/main-src/contrib/blacklist/lib/bl.c:260)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:202 (/usr/main-src/contrib/blacklist/lib/bl.c:202)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:202 (/usr/main-src/contrib/blacklist/lib/bl.c:202)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:155 (/usr/main-src/contrib/blacklist/lib/bl.c:155)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:155 (/usr/main-src/contrib/blacklist/lib/bl.c:155)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:262 (/usr/main-src/contrib/blacklist/lib/bl.c:262)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:262 (/usr/main-src/contrib/blacklist/lib/bl.c:262)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:262 (/usr/main-src/contrib/blacklist/lib/bl.c:262)
>>>>>             bl.o:(bl_init) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:339 (/usr/main-src/contrib/blacklist/lib/bl.c:339)
>>>>>             bl.o:(bl_send) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:339 (/usr/main-src/contrib/blacklist/lib/bl.c:339)
>>>>>             bl.o:(bl_send) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>>>> defined in /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o)
>>>>> referenced by bl.c:347 (/usr/main-src/contrib/blacklist/lib/bl.c:347)
>>>>>             bl.o:(bl_send) in archive /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a
>> 
>> ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
>> --- all_subdir_usr.bin ---
>> --- all_subdir_usr.bin/xz ---
>> ===> usr.bin/xz (all)
>> --- all_subdir_lib ---
>> --- all_subdir_lib/ncurses ---
>> Building /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/ncurses/tinfo/curs_bkgd.3.gz
>> --- all_subdir_usr.sbin ---
>> cc: error: linker command failed with exit code 1 (use -v to see invocation)
>> --- all_subdir_lib ---
>> Building /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/ncurses/tinfo/curs_bkgrnd.3.gz
>> --- all_subdir_rescue ---
>> Building /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/rescue/rescue/usr/main-src/usr.bin/tar/line_reader.o
>> --- all_subdir_usr.sbin ---
>> *** [blacklistd.full] Error code 1
>> 
>> make[4]: stopped in /usr/main-src/usr.sbin/blacklistd
>> .ERROR_TARGET='blacklistd.full'
>> .ERROR_META_FILE='/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/usr.sbin/blacklistd/blacklistd.full.meta'
>> .MAKE.LEVEL='4'
>> MAKEFILE=''
>> .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
>> _ERROR_CMD='cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp -B/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -I/usr/main-src/contrib/blacklist/include -I/usr/main-src/contrib/blacklist/port -D_PATH_BLCONTROL=\"/usr/libexec/blacklistd-helper\" -DHAVE_CONFIG_H -DHAVE_DB_H -DHAVE_LIBUTIL_H -DHAVE_CLOCK_GETTIME -DHAVE_FGETLN -DHAVE_FPARSELN -DHAVE_GETPROGNAME -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRUCT_SOCKADDR_SA_LEN -DNDEBUG -fPIE -g -gz=zlib -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments  -L/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist -pie   -o blacklistd.full blacklistd.o conf.o run.o state.o support.o internal.o sockaddr_snprintf.o pidfile.o strtoi.o popenve.o   -lblacklist  -lutil ;'
>> .CURDIR='/usr/main-src/usr.sbin/blacklistd'
>> .MAKE='make'
>> .OBJDIR='/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/usr.sbin/blacklistd'
>> .TARGETS='all'
>> DESTDIR='/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp'
>> LD_LIBRARY_PATH=''
>> MACHINE='amd64'
>> MACHINE_ARCH='amd64'
>> MAKEOBJDIRPREFIX=''
>> MAKESYSPATH='/usr/main-src/share/mk'
>> MAKE_VERSION='20220418'
>> PATH='/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/bin:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/sbin:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/bin:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/legacy/bin:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin'
>> SRCTOP='/usr/main-src'
>> OBJTOP='/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64'
>> .MAKE.MAKEFILES='/usr/main-src/share/mk/sys.mk /usr/main-src/share/mk/local.sys.env.mk /usr/main-src/share/mk/src.sys.env.mk /usr/home/root/src.configs/src.conf.amd64-nodbg-clang.amd64-host /usr/main-src/share/mk/bsd.mkopt.mk /usr/main-src/share/mk/src.sys.obj.mk /usr/main-src/share/mk/auto.obj.mk /usr/main-src/share/mk/bsd.suffixes.mk /usr/home/root/src.configs/make.conf /usr/main-src/share/mk/local.sys.mk /usr/main-src/share/mk/src.sys.mk /dev/null /usr/main-src/usr.sbin/blacklistd/Makefile /usr/main-src/share/mk/bsd.prog.mk /usr/main-src/share/mk/bsd.init.mk /usr/main-src/share/mk/bsd.opts.mk /usr/main-src/share/mk/bsd.cpu.mk /usr/main-src/share/mk/local.init.mk /usr/main-src/share/mk/src.init.mk /usr/main-src/usr.sbin/blacklistd/../Makefile.inc /usr/main-src/share/mk/bsd.own.mk /usr/main-src/share/mk/bsd.compiler.mk /usr/main-src/share/mk/bsd.endian.mk /usr/main-src/share/mk/bsd.linker.mk /usr/main-src/share/mk/bsd.sanitizer.mk /usr/main-src/share/mk/bsd.libnames.mk /usr/main-src/share/mk/src.libnames.mk /usr/main-src/share/mk/src.opts.mk /usr/main-src/share/mk/bsd.nls.mk /usr/main-src/share/mk/bsd.confs.mk /usr/main-src/share/mk/bsd.files.mk /usr/main-src/share/mk/bsd.dirs.mk /usr/main-src/share/mk/bsd.incs.mk /usr/main-src/share/mk/bsd.links.mk /usr/main-src/share/mk/bsd.man.mk /usr/main-src/share/mk/bsd.dep.mk /usr/main-src/share/mk/bsd.clang-analyze.mk /usr/main-src/share/mk/bsd.obj.mk /usr/main-src/share/mk/bsd.subdir.mk /usr/main-src/share/mk/bsd.sys.mk'
>> .PATH='. /usr/main-src/usr.sbin/blacklistd /usr/main-src/contrib/blacklist/bin /usr/main-src/contrib/blacklist/port'
>> 1 error
>> 
> 
> For reference, lib/libblacklist/bl.o.meta content:
> 
> # Meta data file /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist/bl.o.meta
> CMD cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp -B/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/bin  -
> O2 -pipe -fno-common -I/usr/main-src/contrib/blacklist/include -I/usr/main-src/contrib/blacklist/port  -D_REENTRANT -DHAVE_CONFIG_H -DHAVE_DB_H -DHAVE_LIBUTIL_H  -DHAVE_CLOCK_GETTIME -DHAVE_FGETLN -DH
> AVE_GETPROGNAME  -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRUCT_SOCKADDR_SA_LEN   -DNDEBUG  -g -gz=zlib -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k
> -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested
> -externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable  -W
> no-thread-safety-analysis -Qunused-arguments    -c /usr/main-src/contrib/blacklist/lib/bl.c -o bl.o
> CMD
> CWD /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/lib/libblacklist
> TARGET bl.o
> -- command output --
> 
> -- filemon acquired metadata --
> # filemon version 5
> # Target pid 44920
> # Start 1652574961.127277
> V 5
> E 44923 /bin/sh
> R 44923 /etc/libmap.conf
> R 44923 /usr/local/etc/libmap.d
> R 44923 /usr/local/etc/libmap.d/mesa.conf
> R 44923 /var/run/ld-elf.so.hints
> R 44923 /lib/libedit.so.8
> R 44923 /lib/libc.so.7
> R 44923 /lib/libtinfow.so.9
> R 44923 /usr/share/locale/C.UTF-8/LC_CTYPE
> F 44923 44924
> E 44924 /usr/bin/cc
> R 44924 /etc/libmap.conf
> R 44924 /usr/local/etc/libmap.d
> R 44924 /usr/local/etc/libmap.d/mesa.conf
> R 44924 /var/run/ld-elf.so.hints
> R 44924 /lib/libz.so.6
> R 44924 /usr/lib/libexecinfo.so.1
> R 44924 /lib/libncursesw.so.9
> R 44924 /lib/libtinfow.so.9
> R 44924 /lib/libthr.so.3
> R 44924 /lib/libc++.so.1
> R 44924 /lib/libcxxrt.so.1
> R 44924 /lib/libm.so.5
> R 44924 /lib/libc.so.7
> R 44924 /lib/libelf.so.2
> R 44924 /lib/libgcc_s.so.1
> R 44924 /usr/main-src/contrib/blacklist/lib/bl.c
> R 44924 bl-cec00a40.o.tmp
> W 44924 bl-cec00a40.o.tmp
> R 44924 /usr/main-src/contrib/blacklist/port/config.h
> R 44924 /usr/main-src/contrib/blacklist/port/port.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/stdio.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/cdefs.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_null.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_types.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/machine/_types.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/x86/_types.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/machine/_limits.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/x86/_limits.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/inttypes.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/machine/_inttypes.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/x86/_inttypes.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/stdint.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/machine/_stdint.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/x86/_stdint.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_stdint.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/time.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_clock_id.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/timespec.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_timespec.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/xlocale/_time.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/stat.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/time.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_timeval.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/types.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/machine/endian.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/x86/endian.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_endian.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_pthreadtypes.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/select.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_sigset.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/netdb.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/param.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/syslimits.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/signal.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/machine/signal.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/x86/signal.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/machine/param.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/machine/_align.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/x86/_align.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/limits.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/socket.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_iovec.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_sockaddr_storage.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/un.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/string.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/strings.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/xlocale/_strings.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/xlocale/_string.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/syslog.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/signal.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/machine/ucontext.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/x86/ucontext.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_ucontext.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/fcntl.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/stdlib.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/unistd.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/unistd.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/stdint.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/stdbool.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/errno.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/stdarg.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/x86/stdarg.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_stdarg.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/netinet/in.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/netinet6/in6.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/pthread.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sched.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/sched.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/cpuset.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_cpuset.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/_bitset.h
> R 44924 /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/tmp/usr/include/sys/bitset.h
> R 44924 /usr/main-src/contrib/blacklist/include/bl.h
> R 44924 /usr/main-src/contrib/blacklist/include/blacklist.h
> M 44924 'bl-cec00a40.o.tmp' 'bl.o'
> X 44924 0 0
> X 44923 0 0
> # Stop 1652574961.274279
> # Bye bye
> 

Looks like some form of race: simply doing another META_MODE
style build completed okay without rebuilding bl.o or
libblacklist.a . But some stuff built twice, including
once after blacklistd messages. I ignore obj-lib32/ for the
below sequencing. I also omit the prefix text:

Building /usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/


The original failure typescript shows the ordering:

lib/libblacklist/libblacklist.so.0.full
lib/libblacklist/libblacklist.so.0.debug
lib/libblacklist/libblacklist.so.0
. . .
lib/libblacklist/libblacklist.so.0.full
usr.sbin/blacklistd/blacklistd.full
lib/libblacklist/libblacklist.so.0.debug
*** FAILURE HERE ***

The sequencing in the typescript of the rebuild
was:

lib/libblacklist/libblacklist.so.0.full
lib/libblacklist/libblacklist.so.0.debug
lib/libblacklist/libblacklist.so.0
. . .
usr.sbin/blacklistd/blacklistd.full
usr.sbin/blacklistd/blacklistd.debug
usr.sbin/blacklistd/blacklistd
lib/libblacklist/libblacklist.so.0.full
lib/libblacklist/libblacklist.so.0.debug
lib/libblacklist/libblacklist.so.0

(No failure.)




===
Mark Millard
marklmi at yahoo.com