From owner-freebsd-current@freebsd.org Mon Jan 15 06:43:10 2018 Return-Path: Delivered-To: freebsd-current@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 D11D3EB2C1B for ; Mon, 15 Jan 2018 06:43:10 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F833823B0 for ; Mon, 15 Jan 2018 06:43:09 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from freyja.zeit4.iv.bundesimmobilien.de ([87.138.105.249]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MexFh-1eCzPg2aO9-00OY1A for ; Mon, 15 Jan 2018 07:43:01 +0100 Date: Mon, 15 Jan 2018 07:42:50 +0100 From: "O. Hartmann" To: freebsd-current Subject: CURRENT: can't buildworld; /usr/bin/ld: error: cannot open crt1.o: Message-ID: <20180115074244.72264055@freyja.zeit4.iv.bundesimmobilien.de> Organization: Walstatt MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:4G/I59pYfOFE57I2P9zSUFCw3eXOCEQkVLg3zyTn7QXURXtM8yo Nm20YS4Gv4F3RtNO6z9xdOIY9BQ8IKBk0NHN+6RUw4T8nllEEd1Xb4YYF/Ud3BwPxGUMkH9 HE1glXIRsPxiaGjL6/kot5I1c1KPlevXIkH6UeRS5uWoaCb86+z5XNZF2zrCjIzcEn1zzRd KT1dGptTMzOEIbtQzqTxA== X-UI-Out-Filterresults: notjunk:1;V01:K0:IffBKX7bs1c=:109EeK/UeduNPvzilOTHWA 7gulyaegSPInYrl8NRSl9M8pBQouKDrfGMKkaDkMpYQhniK22xlwTwV4S+j0eD211mMXnhXOX SK58/hNCHW540sQCVcQXev8GWe3gxevRI9vm/lTL2MhfLzrnfG7VscB5pvMEp63VOuOGtznoI kcEAkDkiOZFEVxIk9T24nll+4//mYcsGbxQ5oaH49XfX9uTJONj0rodzWk2/HFxjL5dTgwPyB 2reHbHI/OmBuFHwzC0KmFF5crc/UYbOICLVOoOJt2+Kr3dBolt+apMHRGpIZOfNNGEjCGLLjq jqNkc3Sq6rhXSg2/cBiHJ8I2tsCPVlSYvhvDcDQHP/JrKqq9ZPOGgL7xaBm/uymblsk765wSa syYnmyo91hpGWEgq/mOTYFQZ1gv2WRPmigAl5ar1qVMYdI/YoVJN3c+Phuu72z2/ZM/vhLZFK eoOHlY1obFXbeMnqMB6OcFBAmtF+GopXDw0SUtBstniKfmJ9ak9gpWOUiX0Iik7fV0oVS6tMP lUsLORvWyh0y4CJtXFvD9JTStDPH5dbu8q/J2VydDgSk4KvT9qsxccWuEdoGDgfIDbMnsHg5X 19vNTvs4ipanlhD4wDGXYTJk9OsqYjBM2gvSewww1bCO5oxdsKNp5uF8M8ovcu8SR5ol95qD1 I3zqkoFGb02BCo6S9CL+IOrCoLwPl37/YXO6j4Dg4S8UuEQNkUFUqRpgSuiIE3htWbmPPZhzm I0Aha0v1qq6OqBqlKcmDLhSpJK7epb0Mv2hwA/6LncY/F7AhI7BGMGZe6GjTflSVt83BYctAx Pk+5szromAhceS3dbmpJ2vP7Hl3J+KMXMU89omupBwTOhNeIqk= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2018 06:43:10 -0000 One of our CURRENT boxes is repeateadly disobeying to build "buildworld" (make buildkernel seems to work as I did several kernels right now). The hosts's world is as of Wednesday, 10th January, the kernel's revison is FreeBSD 12.0-CURRENT #0 r327871: Fri Jan 12 12:18:19 CET 2018 amd64. I did, as a test, Friday, 12th Jan, as you can see, the last kernel build. The host in question also carries a variety of release, package an jail builds in separate source trees (CURRENT in most cases, to keep them away from the host's source tree). Those separate source trees also reject to build. After performing a "make cleanworld" to startover (even this morning, when I watched LLVM/CLANG 6.0.0 has slipped in), I face still the same error: /usr/bin/ld: error: cannot open crt1.o: No such file or directory More details see below. The last installation of the system was performed with WITH_LLD_IS_LD and WITH_BOOTSTRAP_LLD set, if this is of importance. I still have WITH_LLD_IS_LD=YES set in /usr/src.conf. An we use WITH_META_MODE, just for the record. I have other machines which didn't get updated on Wednesday, 10th January and they perform well and without problems (with the same settings in /etc/src.conf and also WITH_META_MODE). Can someone give me some hints? How to fix the problem? Thanks ins advance, Oliver [...] -------------------------------------------------------------- >>> stage 1.1: legacy release compatibility shims -------------------------------------------------------------- cd /usr/src; INSTALL="sh /usr/src/tools/install.sh" TOOLS_PREFIX=/usr/obj/usr/src/amd64.amd64/tmp PATH=/usr/obj/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:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/amd64.amd64/tmp MAKEFLAGS="-m /usr/src/tools/build/mk -m /usr/src/share/mk" make -f Makefile.inc1 DESTDIR= OBJTOP='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools' OBJROOT='${OBJTOP}/' MAKEOBJDIRPREFIX= BOOTSTRAPPING=1200055 BWPHASE=legacy SSP_CFLAGS= MK_HTML=no NO_LINT=yes MK_MAN=no -DNO_PIC MK_PROFILE=no -DNO_SHARED -DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no MK_CLANG_EXTRAS=no MK_CLANG_FULL=no MK_LLDB=no MK_TESTS=no MK_LLD=yes MK_INCLUDES=yes legacy ===> tools/build (obj,includes,all,install) Building /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/tools/build/_libinstall -------------------------------------------------------------- >>> stage 1.2: bootstrap tools -------------------------------------------------------------- cd /usr/src; INSTALL="sh /usr/src/tools/install.sh" TOOLS_PREFIX=/usr/obj/usr/src/amd64.amd64/tmp PATH=/usr/obj/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:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/amd64.amd64/tmp MAKEFLAGS="-m /usr/src/tools/build/mk -m /usr/src/share/mk" make -f Makefile.inc1 DESTDIR= OBJTOP='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools' OBJROOT='${OBJTOP}/' MAKEOBJDIRPREFIX= BOOTSTRAPPING=1200055 BWPHASE=bootstrap-tools SSP_CFLAGS= MK_HTML=no NO_LINT=yes MK_MAN=no -DNO_PIC MK_PROFILE=no -DNO_SHARED -DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no MK_CLANG_EXTRAS=no MK_CLANG_FULL=no MK_LLDB=no MK_TESTS=no MK_LLD=yes MK_INCLUDES=yes bootstrap-tools ===> lib/clang/libllvmminimal (obj,all,install) Building /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/Support/ConvertUTFWrapper.o Building /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/Support/Debug.o [...] Building /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/clang/llvm-tblgen/X86RecognizableInstr.o Building /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/clang/llvm-tblgen/llvm-tblgen /usr/bin/ld: error: cannot open crt1.o: No such file or directory c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[3]: stopped in /usr/src/usr.bin/clang/llvm-tblgen .ERROR_TARGET='llvm-tblgen' .ERROR_META_FILE='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/clang/llvm-tblgen/llvm-tblgen.meta' .MAKE.LEVEL='3' MAKEFILE='' .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' _ERROR_CMD='c++ -O2 -pipe -O3 -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/amd64.amd64/tmp\" -ffunction-sections -fdata-sections -DNDEBUG -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -Wl,--gc-sections -static -L/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/lib -o llvm-tblgen AsmMatcherEmitter.o AsmWriterEmitter.o AsmWriterInst.o Attributes.o CTagsEmitter.o CallingConvEmitter.o CodeEmitterGen.o CodeGenDAGPatterns.o CodeGenHwModes.o CodeGenInstruction.o CodeGenMapTable.o CodeGenRegisters.o CodeGenSchedule.o CodeGenTarget.o DAGISelEmitter.o DAGISelMatcher.o DAGISelMatcherEmitter.o DAGISelMatcherGen.o DAGISelMatcherOpt.o DFAPacketizerEmitter.o DisassemblerEmitter.o FastISelEmitter.o FixedLenDecoderEmitter.o GlobalISelEmitter.o InfoByHwMode.o InstrDocsEmitter.o InstrInfoEmitter.o IntrinsicEmitter.o OptParserEmitter.o PseudoLoweringEmitter.o RegisterBankEmitter.o RegisterInfoEmitter.o SDNodeProperties.o SearchableTableEmitter.o SubtargetEmitter.o SubtargetFeatureInfo.o TableGen.o Types.o X86DisassemblerTables.o X86EVEX2VEXTablesEmitter.o X86FoldTablesEmitter.o X86ModRMFilters.o X86RecognizableInstr.o /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvmminimal/libllvmminimal.a -L/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/ncurses/ncursesw -lncursesw -L/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/libthr -lpthread -legacy;' .CURDIR='/usr/src/usr.bin/clang/llvm-tblgen' .MAKE='make' .OBJDIR='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/clang/llvm-tblgen' .TARGETS='all' DESTDIR='' LD_LIBRARY_PATH='' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='' MAKESYSPATH='/usr/src/share/mk' MAKE_VERSION='20171028' PATH='/usr/obj/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:/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP='/usr/src' OBJTOP='/usr/obj/usr/src/amd64.amd64/tmp/obj-tools' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk /etc/make.conf /usr/local/etc/ports.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/usr.bin/clang/llvm-tblgen/Makefile /usr/src/usr.bin/clang/llvm.prog.mk /usr/src/lib/clang/llvm.pre.mk /usr/src/lib/clang/llvm.build.mk /usr/src/tools/build/mk/bsd.prog.mk /usr/src/share/mk/bsd.prog.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/usr.bin/clang/llvm-tblgen/../Makefile.inc /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk /usr/src/usr.bin/clang/llvm-tblgen/../../Makefile.inc /usr/src/share/mk/bsd.own.mk /usr/src/share /mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.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/share/mk/bsd.sys.mk /usr/src/tools/build/mk/Makefile.boot' .PATH='. /usr/src/usr.bin/clang/llvm-tblgen /usr/src/contrib/llvm/utils/TableGen' *** Error code 1