From owner-freebsd-stable@freebsd.org Wed Dec 27 03:10:21 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 159D2E9D304 for ; Wed, 27 Dec 2017 03:10:21 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-101.reflexion.net [208.70.210.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C685973C61 for ; Wed, 27 Dec 2017 03:10:19 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 22177 invoked from network); 27 Dec 2017 03:03:33 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 27 Dec 2017 03:03:33 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Tue, 26 Dec 2017 22:03:33 -0500 (EST) Received: (qmail 11430 invoked from network); 27 Dec 2017 03:03:33 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 27 Dec 2017 03:03:33 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 5A087EC7B31; Tue, 26 Dec 2017 19:03:32 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: 11.1-STABLE for amd64: jumping from -r326142 to -r327228: all_subdir_cxgbe/t4_firmware failed to build Message-Id: <05A0A079-EF5A-4BAE-B2E9-97142D50A1D1@dsl-only.net> Date: Tue, 26 Dec 2017 19:03:31 -0800 To: FreeBSD Toolchain , FreeBSD-STABLE Mailing List X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2017 03:10:21 -0000 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=3D't4fw_cfg.txt.fwo' = .ERROR_META_FILE=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC/m= odules/usr/src/sys/modules/cxgbe/t4_firmware/t4fw_cfg.txt.fwo.meta' .MAKE.LEVEL=3D'5' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'@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=3D'/usr/src/sys/modules/cxgbe/t4_firmware' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC/modules/us= r/src/sys/modules/cxgbe/t4_firmware' .TARGETS=3D'all' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'amd64' MACHINE_ARCH=3D'amd64' = MAKEOBJDIRPREFIX=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC/m= odules' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20170720' = PATH=3D'/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_clan= g/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:/sbi= n:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC/modules/usr= /src' .MAKE.MAKEFILES=3D'/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=3D'. /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/m= odules/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/m= odules/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/m= odules/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=20 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. =20 # 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=20 kldload -n filemon && \ script = /typescripts/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-hos= t-$(date +%Y-%m-%d:%H:%M:%S) \ env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.amd64-clang.amd64-host" \ WITH_META_MODE=3Dyes \ MAKEOBJDIRPREFIX=3D"/usr/obj/amd64_clang/amd64.amd64" \ make $* # more /root/src.configs/src.conf.amd64-clang.amd64-host=20 TO_TYPE=3Damd64 # KERNCONF=3DGENERIC TARGET=3D${TO_TYPE} .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # WITH_META_MODE=3D #WITH_CROSS_COMPILER=3D WITH_SYSTEM_COMPILER=3D # WITH_LIBCPLUSPLUS=3D WITH_BINUTILS_BOOTSTRAP=3D WITH_ELFTOOLCHAIN_BOOTSTRAP=3D #WITH_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D #WITH_LLD=3D #WITHOUT_LLD_IS_LD=3D #WITH_LLVM_LIBUNWIND=3D #WITH_LLDB=3D #PORTS_MODULES=3Demulators/virtualbox-ose-additions # WITH_BOOT=3D WITH_LIB32=3D # WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GCC_IS_CC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D #WERROR=3D MALLOC_PRODUCTION=3D # WITH_REPRODUCIBLE_BUILD=3D WITH_DEBUG_FILES=3D 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. =3D=3D=3D Mark Millard markmi at dsl-only.net