This update spans the clang upgrade to 5.0.1 and ld is listed in _ERROR_CMD. But I've no direct evidence that these contributed. Cleaning out /usr/obj/amd64_clang/amd64.amd64/ and rebuilding instead of having an incremental build did not reproduce the problem. I provide the information anyway, in case others sometimes see similar examples.
--- all_subdir_cxgbe/t4_firmware --- *** [t4fw_cfg.txt.fwo] Error code 1 make[5]: stopped in /usr/src/sys/modules/cxgbe/t4_firmware .ERROR_TARGET='t4fw_cfg.txt.fwo' .ERROR_META_FILE='/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cxgbe/t4_firmware/t4fw_cfg.txt.fwo.meta' .MAKE.LEVEL='5' MAKEFILE='' .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' _ERROR_CMD='@echo t4fw_cfg.txt /usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt; @if [ -e t4fw_cfg.txt ]; then ld -b binary --no-warn-mismatch -d -warn-common -m elf_x86_64_fbsd -r -d -o t4fw_cfg.txt.fwo t4fw_cfg.txt; else ln -s /usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt t4fw_cfg.txt; ld -b binary --no-warn-mismatch -d -warn-common -m elf_x86_64_fbsd -r -d -o t4fw_cfg.txt.fwo t4fw_cfg.txt; rm t4fw_cfg.txt; fi;' .CURDIR='/usr/src/sys/modules/cxgbe/t4_firmware' .MAKE='make' .OBJDIR='/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cxgbe/t4_firmware' .TARGETS='all' DESTDIR='' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC/modules' MAKESYSPATH='/usr/src/share/mk' MAKE_VERSION='20170720' PATH='/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/legacy/usr/sbin:/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/legacy/usr/bin:/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/legacy/bin:/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/usr/sbin:/usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP='/usr/src' OBJTOP='/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC/modules/usr/src' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /root/src.configs/src.conf.amd64-clang.amd64-host /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/cxgbe/t4_firmware/Makefile /usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/sys/conf/kern.opts.mk /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/sys/conf/kern.mk' .PATH='. /usr/src/sys/modules/cxgbe/t4_firmware /usr/src/sys/dev/cxgbe/firmware /usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC' # less /usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cxgbe/t4_firmware/t4fw_cfg.txt.fwo.meta # Meta data file /usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cxgbe/t4_firmware/t4fw_cfg.txt.fwo.meta CMD @echo t4fw_cfg.txt /usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt CMD @if [ -e t4fw_cfg.txt ]; then ld -b binary --no-warn-mismatch -d -warn-common -m elf_x86_64_fbsd -r -d -o t4fw_cfg.txt.fwo t4fw_cfg.txt; else ln -s /usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt t4fw_cfg.txt; ld -b binary --no-warn-mismatch -d -warn-common -m elf_x86_64_fbsd -r -d -o t4fw_cfg.txt.fwo t4fw_cfg.txt; rm t4fw_cfg.txt; fi CWD /usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC/modules/usr/src/sys/modules/cxgbe/t4_firmware TARGET t4fw_cfg.txt.fwo -- command output -- t4fw_cfg.txt /usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt *** Error code 1 -- filemon acquired metadata -- # filemon version 5 # Target pid 99801 # Start 1514338319.353476 V 5 E 99829 /bin/sh R 99829 /etc/libmap.conf R 99829 /var/run/ld-elf.so.hints R 99829 /lib/libedit.so.7 R 99829 /lib/libc.so.7 R 99829 /lib/libncursesw.so.8 F 99829 99831 E 99831 /bin/ln R 99831 /etc/libmap.conf R 99831 /var/run/ld-elf.so.hints R 99831 /lib/libc.so.7 L 99831 '/usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt' 't4fw_cfg.txt' X 99831 0 0 F 99829 99835 E 99835 /usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/usr/bin/ld D 99835 t4fw_cfg.txt.fwo R 99835 t4fw_cfg.txt.fwo W 99835 t4fw_cfg.txt.fwo R 99835 t4fw_cfg.txt X 99835 1 0 X 99829 1 0 # Stop 1514338319.363473 # Bye bye The "L 99831 '/usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt' 't4fw_cfg.txt'" indicates execution of the (whitespace changed below): else ln -s /usr/src/sys/dev/cxgbe/firmware/t4fw_cfg.txt t4fw_cfg.txt; ld -b binary --no-warn-mismatch -d -warn-common -m elf_x86_64_fbsd -r -d -o t4fw_cfg.txt.fwo t4fw_cfg.txt; rm t4fw_cfg.txt; fi The "E 99835 /usr/obj/amd64_clang/amd64.amd64/usr/src/tmp/usr/bin/ld" indicates which ld was executed. "X 99835 1 0" indicates a non-zero status return if I understand right. There is no "D <????> t4fw_cfg.txt" line to match up with the "rm t4fw_cfg.txt", nor an "E" to match up with rm. # uname -apKU FreeBSD FBSDFS 11.1-STABLE FreeBSD 11.1-STABLE r326142 amd64 amd64 1101506 1101506 # svnlite info /usr/src/ | grep "Re[plv]" Relative URL: ^/stable/11 Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 327228 Last Changed Rev: 327228 # more ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh kldload -n filemon && \ script /typescripts/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-$(date +%Y-%m-%d:%H:%M:%S) \ env __MAKE_CONF="/root/src.configs/make.conf" SRCCONF="/dev/null" SRC_ENV_CONF="/root/src.configs/src.conf.amd64-clang.amd64-host" \ WITH_META_MODE=yes \ MAKEOBJDIRPREFIX="/usr/obj/amd64_clang/amd64.amd64" \ make $* # more /root/src.configs/src.conf.amd64-clang.amd64-host TO_TYPE=amd64 # KERNCONF=GENERIC TARGET=${TO_TYPE} .if ${.MAKE.LEVEL} == 0 TARGET_ARCH=${TO_TYPE} .export TARGET_ARCH .endif # WITH_META_MODE= #WITH_CROSS_COMPILER= WITH_SYSTEM_COMPILER= # WITH_LIBCPLUSPLUS= WITH_BINUTILS_BOOTSTRAP= WITH_ELFTOOLCHAIN_BOOTSTRAP= #WITH_CLANG_BOOTSTRAP= WITH_CLANG= WITH_CLANG_IS_CC= WITH_CLANG_FULL= WITH_CLANG_EXTRAS= #WITH_LLD= #WITHOUT_LLD_IS_LD= #WITH_LLVM_LIBUNWIND= #WITH_LLDB= #PORTS_MODULES=emulators/virtualbox-ose-additions # WITH_BOOT= WITH_LIB32= # WITHOUT_GCC_BOOTSTRAP= WITHOUT_GCC= WITHOUT_GCC_IS_CC= WITHOUT_GNUCXX= # NO_WERROR= #WERROR= MALLOC_PRODUCTION= # WITH_REPRODUCIBLE_BUILD= WITH_DEBUG_FILES= Ryzen Threadripper 1950X HW but FreeBSD -r327142 running under a Windows 10 Pro Hyper-V virtual machine. 110592 MB of RAM assigned. 29 virtual processors assigned. Physical hard disk used, not a virtual one. === Mark Millard markmi at dsl-only.net _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"