Re: objcopy exit with signal 10 trying to update to recent -CURRENT

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 18 Apr 2016 12:00:19 -0300
> On Apr 18, 2016, at 10:59, Renato Botelho do Couto <renato_at_netgate.com> wrote:
> 
> I’m trying to upgrade a -CURRENT amd64 installation from r297492 to r298203 and got:
> 
> c++ -O2 -pipe -I/usr/src/usr.bin/clang/llvm-tblgen/../../../contrib/llvm/include -I/usr/src/usr.bin/clang/llvm-tblgen/../../../contrib/llvm/tools/clang/include -I/usr/src/usr.bin/clang/llvm-tblgen/../../../contrib/llvm/utils/TableGen -I. -I/usr/src/usr.bin/clang/llvm-tblgen/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -g -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o llvm-tblgen.full  AsmMatcherEmitter.o AsmWriterEmitter.o AsmWriterInst.o Attributes.o CTagsEmitter.o CallingConvEmitter.o CodeEmitterGen.o CodeGenDAGPatterns.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 InstrInfoEmitter.o IntrinsicEmitter.o OptParserEmitter.o PseudoLoweringEmitter.o RegisterInfoEmitter.o SubtargetEmitter.o TableGen.o X86DisassemblerTables.o X86ModRMFilters.o X86RecognizableInstr.o /usr/obj/usr/src/tmp/usr/src/usr.bin/clang/llvm-tblgen/../../../lib/clang/libllvmtablegen/libllvmtablegen.a /usr/obj/usr/src/tmp/usr/src/usr.bin/clang/llvm-tblgen/../../../lib/clang/libllvmsupport/libllvmsupport.a  -lncursesw  -lpthread -legacy
> objcopy --only-keep-debug llvm-tblgen.full llvm-tblgen.debug
> objcopy --strip-debug --add-gnu-debuglink=llvm-tblgen.debug  llvm-tblgen.full llvm-tblgen
> *** Signal 10
> 
> I’ve already tried a fresh build after remove /usr/obj, same problem. Any ideas?

Fixed after I manually rebuilt usr.bin/elfcopy

--
Renato Botelho
Received on Mon Apr 18 2016 - 13:00:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:04 UTC