From owner-freebsd-current@freebsd.org Mon Jan 15 07:21:17 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 534ECEB4D3F for ; Mon, 15 Jan 2018 07:21:17 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-x244.google.com (mail-yb0-x244.google.com [IPv6:2607:f8b0:4002:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DD9583C74 for ; Mon, 15 Jan 2018 07:21:17 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-x244.google.com with SMTP id h62so4087394ybi.11 for ; Sun, 14 Jan 2018 23:21:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kAnGwFMVCWko3GRC4826wrFHpU/uLH1b40EU+1G7+Gs=; b=TOuvZlGQYCg355vTxVG+1JU3zxj8pAtKmJMHXbHIgo23BegJOSJFf7HnTbUR3gbw9c m8037vc27AABxG+jZPqa7FKxNnMjxG7XRdRhBq902zYwIew6Nak2mFNXpbF30o4Iwt67 sHQ2lYaheC+uqlrCG1KNM6H5ksBb7v4ekWLmvaHvOS4auAnCwuZgnW6Ahz49gayiI6xA P/2rq90oScTiFIiV58v155lQsTYJbhAV3FMNzXFmms+xIQ8HgIUQHYNtflBalXVgYZqg RvV2MNcZTE+5jcdMnjNCnOGU1RTf/VXdxb3kVcNQ86LimaSQ+gzxUE7FBBFUOokZfa2D oPDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kAnGwFMVCWko3GRC4826wrFHpU/uLH1b40EU+1G7+Gs=; b=dqwTmr3Bjg0gzNv5V1kcEokDUtxW7WYLm4fdkTsO/zBhN3TmunRCaGeC+1Koa4Zl00 ifuhjyT02Wyi4L3xcOfQn3gN3bUFH62ikDDz5uvQ7nrG6TfmwhjnM5zd5Eejke+9CI1I qkcG5OFqThw0FOT9Cv/DFsZy+UbbiPD8pyJvsQ1bkoJzyc8m3AmKITdLBdlQ9rCFWjsf Z+dnUZwe9iI+ibv9Fwk+s7Y+wyrQ/sCJasoukhyWETlnH8UVq7A6t/9cD3sEio6pjhT7 CY4NOnIZ9q78ELeo0x+YiH/gtCxo5QCw7ewY5xm/Np3MrO55vt5GYQRF+2Ec2dijFXk1 7a9A== X-Gm-Message-State: AKwxytdbJ+ZJESoN84bnQamKFEbp/6D97gsn2bv11AD6CYoLVvAaPEpR xPdwn0AHYPVzHWwuAl0uML+r2gq3wCnilw/Pld8I77cd X-Google-Smtp-Source: ACJfBouI2Z69r5BupIo8yGNDNkXjB9h/QTttoTCj42yhqjpj52Ms0Err3jAeVen9hRfVLypHnNK1njM7bNOdK8e8wxE= X-Received: by 10.37.130.143 with SMTP id r15mr2131654ybk.261.1516000875840; Sun, 14 Jan 2018 23:21:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.74.214 with HTTP; Sun, 14 Jan 2018 23:21:15 -0800 (PST) In-Reply-To: <20180115074244.72264055@freyja.zeit4.iv.bundesimmobilien.de> References: <20180115074244.72264055@freyja.zeit4.iv.bundesimmobilien.de> From: Ultima Date: Sun, 14 Jan 2018 23:21:15 -0800 Message-ID: Subject: Re: CURRENT: can't buildworld; /usr/bin/ld: error: cannot open crt1.o: To: "O. Hartmann" Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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 07:21:17 -0000 Try updating? just upgraded to r327991 and it was smooth sailing. On Sun, Jan 14, 2018 at 10:42 PM, O. Hartmann wrote: > 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >