<div dir="ltr">Hi Jack:<div><br></div><div>Looks like I missed this one in my recent change.<br></div><div><br></div><div>Please let me know if this solves your problem:</div><div><br></div><div><div>$ git diff</div><div>diff --git a/utils/TableGen/InfoByHwMode.cpp b/utils/TableGen/InfoByHwMode.cpp</div><div>index 7e1e1864356..8d3636432aa 100644</div><div>--- a/utils/TableGen/InfoByHwMode.cpp</div><div>+++ b/utils/TableGen/InfoByHwMode.cpp</div><div>@@ -98,14 +98,16 @@ void ValueTypeByHwMode::writeToStream(raw_ostream &OS) const {</div><div> OS << '}';</div><div> }</div><div><br></div><div>+#ifdef LLVM_ENABLE_DUMP</div><div> LLVM_DUMP_METHOD</div><div> void ValueTypeByHwMode::dump() const {</div><div> dbgs() << *this << '\n';</div><div> }</div><div>+#endif</div><div><br></div><div> ValueTypeByHwMode llvm::getValueTypeByHwMode(Record *Rec,</div><div> const CodeGenHwModes &CGH) {</div><div>-#ifndef NDEBUG</div><div>+#ifdef LLVM_ENABLE_DUMP</div><div> if (!Rec->isSubClassOf("ValueType"))</div><div> Rec->dump();</div><div> #endif</div></div><div><br></div><div><br></div><div>thanks...</div><div>don</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 14, 2017 at 6:06 AM, Jack Howarth via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is anyone else seeing this bootstrap failure on current svn trunk?<div><br></div><div><div>[ 6%] Linking CXX executable ../../bin/llvm-tblgen</div><div>cd /sw/src/fink.build/llvm60-6.0.<wbr>0-1/build/stage1/utils/<wbr>TableGen && /sw/bin/cmake -E cmake_link_script CMakeFiles/llvm-tblgen.dir/<wbr>link.txt --verbose=1</div><div>/sw/src/fink.build/llvm60-6.0.<wbr>0-1/opt-bin/ccclang++ -fno-common -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-<wbr>availability-new -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -O3 -Wl,-search_paths_first -Wl,-headerpad_max_install_<wbr>names -L/sw/lib -Wl,-dead_strip CMakeFiles/obj.llvm-tblgen.<wbr>dir/AsmMatcherEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/AsmWriterEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/AsmWriterInst.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/Attributes.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/CallingConvEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/CodeEmitterGen.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/CodeGenDAGPatterns.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/CodeGenHwModes.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/CodeGenInstruction.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/CodeGenMapTable.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/CodeGenRegisters.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/CodeGenSchedule.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/CodeGenTarget.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/DAGISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/DAGISelMatcherEmitter.cpp.<wbr>o CMakeFiles/obj.llvm-tblgen.<wbr>dir/DAGISelMatcherGen.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/DAGISelMatcherOpt.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/DAGISelMatcher.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/DFAPacketizerEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/DisassemblerEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/FastISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/FixedLenDecoderEmitter.<wbr>cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/GlobalISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/InfoByHwMode.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/InstrInfoEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/IntrinsicEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/OptParserEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/PseudoLoweringEmitter.cpp.<wbr>o CMakeFiles/obj.llvm-tblgen.<wbr>dir/RegisterBankEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/RegisterInfoEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/SearchableTableEmitter.<wbr>cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/SubtargetEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/SubtargetFeatureInfo.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/TableGen.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/Types.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/X86DisassemblerTables.cpp.<wbr>o CMakeFiles/obj.llvm-tblgen.<wbr>dir/X86EVEX2VEXTablesEmitter.<wbr>cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/X86FoldTablesEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/X86ModRMFilters.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/X86RecognizableInstr.cpp.o CMakeFiles/obj.llvm-tblgen.<wbr>dir/CTagsEmitter.cpp.o -o ../../bin/llvm-tblgen -Wl,-rpath,@loader_path/../lib ../../lib/libLLVMSupport.a ../../lib/libLLVMTableGen.a ../../lib/libLLVMSupport.a -lcurses -lz -lm ../../lib/libLLVMDemangle.a </div><div>Undefined symbols for architecture x86_64:</div><div> "llvm::Record::dump() const", referenced from:</div><div> llvm::getValueTypeByHwMode(<wbr>llvm::Record*, llvm::CodeGenHwModes const&) in InfoByHwMode.cpp.o</div><div> "llvm::SubtargetFeatureInfo::<wbr>dump() const", referenced from:</div><div> (anonymous namespace)::AsmMatcherInfo::<wbr>buildInfo() in AsmMatcherEmitter.cpp.o</div><div> "(anonymous namespace)::MatchableInfo::<wbr>dump() const", referenced from:</div><div> (anonymous namespace)::AsmMatcherEmitter:<wbr>:run(llvm::raw_ostream&) in AsmMatcherEmitter.cpp.o</div><div>ld: symbol(s) not found for architecture x86_64</div><div>clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div>make[2]: *** [bin/llvm-tblgen] Error 1</div><div>make[1]: *** [utils/TableGen/CMakeFiles/<wbr>llvm-tblgen.dir/all] Error 2</div><div>make: *** [all] Error 2</div></div><div><br></div><div>This is on x86_64-apple-darwin16 with Xcode 9.0.</div><span class="HOEnZb"><font color="#888888"><div> Jack</div></font></span></div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>