<div dir="ltr">Great, glad you got it sorted out.<div><br></div><div>But it did highlight a few related issues, which I'll try to address this week.</div><div><br></div><div>thanks...</div><div>don</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 14, 2017 at 2:57 PM, Jack Howarth <span dir="ltr"><<a href="mailto:howarth.mailing.lists@gmail.com" target="_blank">howarth.mailing.lists@gmail.com</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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Sat, Oct 14, 2017 at 4:37 PM, Don Hinton <span dir="ltr"><<a href="mailto:hintonda@gmail.com" target="_blank">hintonda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Yes, you tried your exact options (except for python etc...), but LLVM_ENABLE_ASSERTIONS defaults to OFF for Release builds anyway.<div><br></div><div>In fact I tried every combinations I could think of. For some reason, it looks like you have a release build that doesn't pass -DNDEBUG to clang++, which I cannot explain.</div></div></blockquote><div><br></div><div><br></div></span><div>Don,</div><div> My mistake. The llvm fink packaging files we are using had a build script with...</div><div><br></div><div> # Do not want -DNDEBUG, cause linker errors (undef symbols)</div><div> # LLVM_ENABLE_ASSERTIONS:ON should have removed -DNDEBUG</div><div> # but it doesn't, so hack it out of cmake file</div><div> test "$enable_assertions" = OFF ||</div><div> sed -i.orig -e '/-DNDEBUG/s|.*|#&|' cmake/modules/<wbr>HandleLLVMOptions.cmake</div><div><br></div><div> which isn't problematic but later in stage1 the script used...</div><div><br></div><div><div> # kill -DNDEBUG with fire</div><div> sed -i.orig -e 's| -DNDEBUG||g' CMakeCache.txt</div></div><div><br></div><div>Changing that to...</div><div><br></div><div><div> # kill -DNDEBUG with fire</div><div> test "$enable_assertions" = OFF || sed -i.orig -e 's| -DNDEBUG||g' CMakeCache.txt</div></div><div><br></div><div>eliminated that particular build failure in llvm trunk.</div><div><div class="h5"><div> Jack</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="m_6935116388757422224gmail-HOEnZb"><div class="m_6935116388757422224gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 14, 2017 at 1:32 PM, Jack Howarth <span dir="ltr"><<a href="mailto:howarth.mailing.lists@gmail.com" target="_blank">howarth.mailing.lists@gmail.c<wbr>om</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Sat, Oct 14, 2017 at 4:22 PM, Don Hinton <span dir="ltr"><<a href="mailto:hintonda@gmail.com" target="_blank">hintonda@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Jack:<div><br></div><span><div>The only way I could reproduce the problem you are seeing was to rerun cmake with -DCMAKE_BUILD_TYPE=Debug in a build directory previously configured with -DCMAKE_BUILD_TYPE=Release. I can fix that, but not sure if it's what you are seeing.<br></div><div><br></div><div>If this isn't your case, could you send me the actual commands you ran? </div><div><br></div><div>In the meantime, you can add -DLLVM_FOURCE_ENABLE_DUMP=ON to your cmake invocation which should guarantee LLVM_ENABLE_DUMP is defined.</div><div><br></div><div>hth...</div><span class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-HOEnZb"><font color="#888888"><div>don</div></font></span></span></div><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-HOEnZb"><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-h5"><div class="gmail_extra"><br></div></div></div></blockquote><div><br></div><div>Don,</div><div> Did you try a build with -DLLVM_ENABLE_ASSERTIONS:BOOL=<wbr>OFF -DCMAKE_BUILD_TYPE:STRING=<wbr>Release?</div><div><div class="m_6935116388757422224gmail-m_-416926683219210632h5"><div> Jack</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-HOEnZb"><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-h5"><div class="gmail_extra"><div class="gmail_quote">On Sat, Oct 14, 2017 at 9:36 AM, Jack Howarth <span dir="ltr"><<a href="mailto:howarth.mailing.lists@gmail.com" target="_blank">howarth.mailing.lists@gmail.c<wbr>om</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Sat, Oct 14, 2017 at 11:38 AM, Don Hinton <span dir="ltr"><<a href="mailto:hintonda@gmail.com" target="_blank">hintonda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Sorry, <span style="font-size:12.8px;font-variant-ligatures:no-common-ligatures">LLVM_FORCE_ENABLE_DUMP is the variable, which is used along with LLVM_ENABLE_ASSERTIONS to set LLVM_ENABLE_DUMP.</span><div><span style="font-size:12.8px;font-variant-ligatures:no-common-ligatures"><br></span></div><div>Again, I'm working on a fix, but could you also provide your cmake command? Looks like we aren't handling your use case correctly.</div><div><br></div><div>thanks..</div><span class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-HOEnZb"><font color="#888888"><div>don</div></font></span></div></blockquote><div><br></div></span>% grep -R LLVM_FORCE_ENABLE_DUMP *<br>CMakeCache.txt:LLVM_FORCE_ENAB<wbr>LE_DUMP:BOOL=OFF<br>CMakeCache.txt.orig:LLVM_FORCE<wbr>_ENABLE_DUMP:BOOL=OFF<br>include/llvm/Config/llvm-confi<wbr>g.h:/* Defined in debug builds and release builds if LLVM_FORCE_ENABLE_DUMP<div><br></div><div>is what I see from a cmake options of...</div><div><br></div>-DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DCOMPILER_RT_ENABLE_IOS:BOOL=<wbr>OFF -DLLVM_ENABLE_FFI=ON -DFFI_INCLUDE_DIR=/sw/include -DFFI_LIBRARY_DIR=/sw/lib -DLLVM_LIT_ARGS:STRING=-v -DPYTHON_EXECUTABLE:FILEPATH=/<wbr>sw/bin/python2.7 -DLIBOMP_OSX_ARCHITECTURES=x86<wbr>_64;i386 -DLLVM_ENABLE_ASSERTIONS:BOOL=<wbr>OFF -DCMAKE_OSX_SYSROOT:STRING=/ -DCMAKE_OSX_DEPLOYMENT_TARGET:<wbr>STRING= -DLLVM_TARGETS_TO_BUILD=X86;Po<wbr>werPC;ARM -DCMAKE_INSTALL_PREFIX:PATH=/s<wbr>w/opt/llvm-6.0 -DCMAKE_BUILD_TYPE:STRING=Rele<wbr>ase -DCMAKE_C_FLAGS=-fno-common -DLLVM_BUILD_EXTERNAL_COMPILER<wbr>_RT:BOOL=ON -DCMAKE_CXX_FLAGS=-fno-common -DCMAKE_SHARED_LINKER_FLAGS= -L/sw/lib -DCMAKE_MODULE_LINKER_FLAGS= -L/sw/lib -DCMAKE_EXE_LINKER_FLAGS= -L/sw/lib<div><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381h5"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-HOEnZb"><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 14, 2017 at 8:32 AM, Jack Howarth <span dir="ltr"><<a href="mailto:howarth.mailing.lists@gmail.com" target="_blank">howarth.mailing.lists@gmail.c<wbr>om</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Sat, Oct 14, 2017 at 11:25 AM, Don Hinton <span dir="ltr"><<a href="mailto:hintonda@gmail.com" target="_blank">hintonda@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Jack:<div><br></div><span><div>Yes, I was just looking at that. Seems like TableGen wasn't done along with the rest of llvm. I'll work up a complete patch shortly.</div><div><br></div><div>Btw, I'm curious how this happened. Do you have a stale CMakeCache.txt by any chance? You might check the value for LLVM_ENABLE_DUMP and see if it's consistent.</div><div><br></div><div>Again, I'll gen up a complete patch shortly -- sorry for delay, had to walk my dog first...</div><div><br></div><div>thanks...</div><span class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-m_-7510759867357370728m_-8760066631629551925gmail-HOEnZb"><font color="#888888"><div>don</div></font></span></span></div></blockquote><div><br></div><div>There are no instances of <span style="color:rgb(0,0,0);white-space:pre-wrap">LLVM_ENABLE_DUMP being emitted during the stage1 build (which is where the failure </span><font color="#000000"><span style="white-space:pre-wrap">occurs). Greping for </span></font><span style="color:rgb(0,0,0);white-space:pre-wrap">LLVM_ENABLE_DUMP in </span> the stage1 build directory only shows...</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">% grep -R LLVM_ENABLE_DUMP *</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">include/llvm/Config/llvm-confi<wbr>g.h:/* #undef LLVM_ENABLE_DUMP */</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Binary file utils/TableGen/CMakeFiles/obj.<wbr>llvm-tblgen.dir/SubtargetEmitt<wbr>er.cpp.o matches</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"> Jack</span></div><div><span style="font-variant-ligatures:no-common-ligatures">ps A more general grep for DUMP in CMakeCacne.txt shows...</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><div>% grep DUMP CMakeCache.txt</div><div>CMAKE_OBJDUMP:FILEPATH=/usr/bi<wbr>n/objdump</div><div>LLVM_FORCE_ENABLE_DUMP:BOOL=OF<wbr>F</div><div>LLVM_TOOL_LLVM_CXXDUMP_BUILD:B<wbr>OOL=ON</div><div>LLVM_TOOL_LLVM_DWARFDUMP_BUILD<wbr>:BOOL=ON</div><div>LLVM_TOOL_LLVM_OBJDUMP_BUILD:B<wbr>OOL=ON</div><div>//ADVANCED property for variable: CMAKE_OBJDUMP</div><div>CMAKE_OBJDUMP-ADVANCED:INTERNA<wbr>L=1</div><div>//ADVANCED property for variable: LLVM_TOOL_LLVM_CXXDUMP_BUILD</div><div>LLVM_TOOL_LLVM_CXXDUMP_BUILD-A<wbr>DVANCED:INTERNAL=1</div><div>//ADVANCED property for variable: LLVM_TOOL_LLVM_DWARFDUMP_BUILD</div><div>LLVM_TOOL_LLVM_DWARFDUMP_BUILD<wbr>-ADVANCED:INTERNAL=1</div><div>//ADVANCED property for variable: LLVM_TOOL_LLVM_OBJDUMP_BUILD</div><div>LLVM_TOOL_LLVM_OBJDUMP_BUILD-A<wbr>DVANCED:INTERNAL=1</div><div><br></div></span></div><div><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-m_-7510759867357370728h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-m_-7510759867357370728m_-8760066631629551925gmail-HOEnZb"><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-m_-7510759867357370728m_-8760066631629551925gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 14, 2017 at 8:06 AM, Jack Howarth <span dir="ltr"><<a href="mailto:howarth.mailing.lists@gmail.com" target="_blank">howarth.mailing.lists@gmail.c<wbr>om</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-m_-7510759867357370728m_-8760066631629551925gmail-m_8719105757705235872h5">On Sat, Oct 14, 2017 at 10:25 AM, Don Hinton <span dir="ltr"><<a href="mailto:hintonda@gmail.com" target="_blank">hintonda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><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.<wbr>cpp b/utils/TableGen/InfoByHwMode.<wbr>cpp</div><div>index 7e1e1864356..8d3636432aa 100644</div><div>--- a/utils/TableGen/InfoByHwMode.<wbr>cpp</div><div>+++ b/utils/TableGen/InfoByHwMode.<wbr>cpp</div><div>@@ -98,14 +98,16 @@ void ValueTypeByHwMode::writeToStre<wbr>am(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(Rec<wbr>ord *Rec,</div><div> const CodeGenHwModes &CGH) {</div><div>-#ifndef NDEBUG</div><div>+#ifdef LLVM_ENABLE_DUMP</div><div> if (!Rec->isSubClassOf("ValueType<wbr>"))</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></blockquote><div><br></div></div></div><div>The patch seems to be incomplete as it moves the failure to...</div><span><div><br></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/TableGe<wbr>n && /sw/bin/cmake -E cmake_link_script CMakeFiles/llvm-tblgen.dir/lin<wbr>k.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-availability<wbr>-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_nam<wbr>es -L/sw/lib -Wl,-dead_strip CMakeFiles/obj.llvm-tblgen.dir<wbr>/AsmMatcherEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/AsmWriterEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/AsmWriterInst.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/Attributes.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CallingConvEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeEmitterGen.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenDAGPatterns.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenHwModes.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenInstruction.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenMapTable.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenRegisters.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenSchedule.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenTarget.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DAGISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DAGISelMatcherEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DAGISelMatcherGen.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DAGISelMatcherOpt.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DAGISelMatcher.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DFAPacketizerEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DisassemblerEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/FastISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/FixedLenDecoderEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/GlobalISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/InfoByHwMode.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/InstrInfoEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/IntrinsicEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/OptParserEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/PseudoLoweringEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/RegisterBankEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/RegisterInfoEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/SearchableTableEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/SubtargetEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/SubtargetFeatureInfo.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/TableGen.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/Types.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/X86DisassemblerTables.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/X86EVEX2VEXTablesEmitter.cpp.<wbr>o CMakeFiles/obj.llvm-tblgen.dir<wbr>/X86FoldTablesEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/X86ModRMFilters.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/X86RecognizableInstr.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/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></span><span><div> "llvm::SubtargetFeatureInfo::d<wbr>ump() const", referenced from:</div><div> (anonymous namespace)::AsmMatcherInfo::bu<wbr>ildInfo() in AsmMatcherEmitter.cpp.o</div><div> "(anonymous namespace)::MatchableInfo::dum<wbr>p() 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/llv<wbr>m-tblgen.dir/all] Error 2</div><div>make: *** [all] Error 2</div><div><br></div></span><span class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-m_-7510759867357370728m_-8760066631629551925gmail-m_8719105757705235872HOEnZb"><font color="#888888"><div> Jack</div></font></span><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-m_-7510759867357370728m_-8760066631629551925gmail-m_8719105757705235872m_-1900973537025040623gmail-h5">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></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div class="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-m_-7510759867357370728m_-8760066631629551925gmail-m_8719105757705235872m_-1900973537025040623gmail-h5"><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/TableGe<wbr>n && /sw/bin/cmake -E cmake_link_script CMakeFiles/llvm-tblgen.dir/lin<wbr>k.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-availability<wbr>-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_nam<wbr>es -L/sw/lib -Wl,-dead_strip CMakeFiles/obj.llvm-tblgen.dir<wbr>/AsmMatcherEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/AsmWriterEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/AsmWriterInst.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/Attributes.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CallingConvEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeEmitterGen.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenDAGPatterns.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenHwModes.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenInstruction.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenMapTable.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenRegisters.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenSchedule.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/CodeGenTarget.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DAGISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DAGISelMatcherEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DAGISelMatcherGen.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DAGISelMatcherOpt.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DAGISelMatcher.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DFAPacketizerEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/DisassemblerEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/FastISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/FixedLenDecoderEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/GlobalISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/InfoByHwMode.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/InstrInfoEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/IntrinsicEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/OptParserEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/PseudoLoweringEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/RegisterBankEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/RegisterInfoEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/SearchableTableEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/SubtargetEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/SubtargetFeatureInfo.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/TableGen.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/Types.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/X86DisassemblerTables.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/X86EVEX2VEXTablesEmitter.cpp.<wbr>o CMakeFiles/obj.llvm-tblgen.dir<wbr>/X86FoldTablesEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/X86ModRMFilters.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/X86RecognizableInstr.cpp.o CMakeFiles/obj.llvm-tblgen.dir<wbr>/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(llv<wbr>m::Record*, llvm::CodeGenHwModes const&) in InfoByHwMode.cpp.o</div><div> "llvm::SubtargetFeatureInfo::d<wbr>ump() const", referenced from:</div><div> (anonymous namespace)::AsmMatcherInfo::bu<wbr>ildInfo() in AsmMatcherEmitter.cpp.o</div><div> "(anonymous namespace)::MatchableInfo::dum<wbr>p() 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/llv<wbr>m-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="m_6935116388757422224gmail-m_-416926683219210632m_777931980503510049gmail-m_1410952177415007381m_-3894050367003746681gmail-m_-7510759867357370728m_-8760066631629551925gmail-m_8719105757705235872m_-1900973537025040623gmail-m_-5941297470198756964HOEnZb"><font color="#888888"><div> Jack</div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">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>
</blockquote></span></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>