Date: Sun, 14 Jan 2018 23:21:15 -0800 From: Ultima <ultima1252@gmail.com> To: "O. Hartmann" <ohartmann@walstatt.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: CURRENT: can't buildworld; /usr/bin/ld: error: cannot open crt1.o: Message-ID: <CANJ8om4fPvTQTNWnvtbnUb-Hfu9V=ubwmE%2BM29zHe3MDt4LAJg@mail.gmail.com> In-Reply-To: <20180115074244.72264055@freyja.zeit4.iv.bundesimmobilien.de> References: <20180115074244.72264055@freyja.zeit4.iv.bundesimmobilien.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Try updating? just upgraded to r327991 and it was smooth sailing. On Sun, Jan 14, 2018 at 10:42 PM, O. Hartmann <ohartmann@walstatt.org> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANJ8om4fPvTQTNWnvtbnUb-Hfu9V=ubwmE%2BM29zHe3MDt4LAJg>