<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - link error: undefined symbols for architecture x86_64"
   href="http://llvm.org/bugs/show_bug.cgi?id=20866">20866</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>link error: undefined symbols for architecture x86_64
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kevin@hzsystems.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>still investigating, but wanted to get this filed...after updating for
<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Remove JIT from LLDB's posix makefile dependencies"
   href="show_bug.cgi?id=20864">bug#20864</a>:


$ ../llvm/configure --prefix=/Volumes/foil/_buildtoolchain/llvm35/build/_root
--enable-targets=host,cpp,x86_64,x86,arm,arm64,aarch64,powerpc,xcore,msp430
$ make -j8
[...]
llvm[3]: Linking Debug+Asserts Shared Library liblldb.dylib
clang++   -Wl,-install_name  -Wl,"@rpath/liblldb.dylib" -Wl,-dead_strip
-rdynamic -Wl,-rpath -Wl,@executable_path/../lib
-L/Volumes/foil/_buildtoolchain/llvm35/build/Debug+Asserts/lib
-L/Volumes/foil/_buildtoolchain/llvm35/build/Debug+Asserts/lib   -m64 
-dynamiclib -mmacosx-version-min=10.9 -o
/Volumes/foil/_buildtoolchain/llvm35/build/Debug+Asserts/lib/liblldb.dylib  \
      -llldbAPI -llldbBreakpoint -llldbCommands -llldbCore -llldbDataFormatters
-llldbExpression -llldbHostCommon -llldbInitAndLog -llldbInterpreter
-llldbPluginABIMacOSX_arm -llldbPluginABIMacOSX_arm64
-llldbPluginABIMacOSX_i386 -llldbPluginABISysV_x86_64
-llldbPluginABISysV_hexagon -llldbPluginDisassemblerLLVM
-llldbPluginDynamicLoaderStatic -llldbPluginDynamicLoaderPOSIX
-llldbPluginDynamicLoaderHexagon -llldbPluginEmulateInstructionARM
-llldbPluginEmulateInstructionARM64
-llldbPluginLanguageRuntimeCPlusPlusItaniumABI
-llldbPluginLanguageRuntimeObjCAppleObjCRuntime
-llldbPluginObjectContainerBSDArchive -llldbPluginObjectFileELF
-llldbPluginObjectFileJIT -llldbPluginSymbolVendorELF
-llldbPluginObjectFilePECOFF -llldbPluginOperatingSystemPython
-llldbPluginPlatformGDBServer -llldbPluginProcessGDBRemote
-llldbPluginSymbolFileDWARF -llldbPluginSymbolFileSymtab
-llldbPluginUnwindAssemblyInstEmulation -llldbPluginUnwindAssemblyx86
-llldbPluginUtility -llldbSymbol -llldbTarget -llldbUtility -lclangAnalysis
-lclangAST -lclangBasic -lclangCodeGen -lclangFrontend -lclangDriver
-lclangEdit -lclangLex -lclangParse -lclangSema -lclangSerialization
-lLLVMMCDisassembler -lLLVMObjCARCOpts -lLLVMProfileData
-llldbPluginPlatformMacOSX -llldbPluginPlatformLinux
-llldbPluginPlatformWindows -llldbPluginPlatformFreeBSD
-llldbPluginPlatformPOSIX -llldbPluginPlatformKalimba -llldbHostMacOSX
-llldbHostPosix -llldbPluginDynamicLoaderMacOSX
-llldbPluginDynamicLoaderDarwinKernel -llldbPluginObjectContainerUniversalMachO
-llldbPluginObjectFileMachO -llldbPluginSymbolVendorMacOSX
-llldbPluginProcessDarwin -llldbPluginProcessMachCore
-llldbPluginSystemRuntimeMacOSX -llldbPluginProcessElfCore
-llldbPluginJITLoaderGDB -lLLVMOption -lLLVMLinker -lLLVMMCJIT
-lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMIRReader -lLLVMipo
-lLLVMVectorize -lLLVMInstrumentation -lLLVMBitWriter -lLLVMAsmParser
-lLLVMCppBackendCodeGen -lLLVMCppBackendInfo -lLLVMX86Disassembler
-lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMObject -lLLVMBitReader
-lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMARMDisassembler
-lLLVMARMCodeGen -lLLVMARMAsmParser -lLLVMARMDesc -lLLVMARMInfo
-lLLVMARMAsmPrinter -lLLVMAArch64Disassembler -lLLVMAArch64CodeGen
-lLLVMAArch64AsmParser -lLLVMAArch64Desc -lLLVMAArch64Info
-lLLVMAArch64AsmPrinter -lLLVMAArch64Utils -lLLVMPowerPCDisassembler
-lLLVMPowerPCCodeGen -lLLVMPowerPCAsmParser -lLLVMPowerPCDesc -lLLVMPowerPCInfo
-lLLVMPowerPCAsmPrinter -lLLVMXCoreDisassembler -lLLVMMCDisassembler
-lLLVMXCoreCodeGen -lLLVMXCoreDesc -lLLVMXCoreInfo -lLLVMXCoreAsmPrinter
-lLLVMMSP430CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser
-lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa
-lLLVMAnalysis -lLLVMTarget -lLLVMCore -lLLVMMSP430Desc -lLLVMMSP430Info
-lLLVMMSP430AsmPrinter -lLLVMMC -lLLVMSupport -Wl,-all_load
-F/System/Library/Frameworks -F/System/Library/PrivateFrameworks -framework
Foundation -framework CoreFoundation -framework CoreServices -framework Carbon
-framework Security -framework DebugSymbols
-L/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config
-ldl -framework CoreFoundation -lpython2.7 -lobjc -lxml2 -ledit -lpanel
-lcurses -Wl,-install_name -Wl,"@executable_path/../lib/liblldb.dylib" -lz
-lpthread -ledit -lcurses -lm 
Undefined symbols for architecture x86_64:
  "lldb_private::MemoryHistoryASan::Terminate()", referenced from:
      lldb_private::Terminate() in liblldbInitAndLog.a(lldb.o)
  "lldb_private::MemoryHistoryASan::Initialize()", referenced from:
      lldb_private::Initialize() in liblldbInitAndLog.a(lldb.o)
 
"lldb_private::TypeValidatorImpl::TypeValidatorImpl(lldb_private::TypeValidatorImpl::Flags
const&)", referenced from:
     
lldb_private::TypeValidatorImpl_CXX::TypeValidatorImpl_CXX(std::__1::function<lldb_private::TypeValidatorImpl::ValidationResult
(lldb_private::ValueObject*)>, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >,
lldb_private::TypeValidatorImpl::Flags const&) in
liblldbDataFormatters.a(TypeValidator.o)
  "vtable for lldb_private::TypeValidatorImpl_CXX", referenced from:
     
lldb_private::TypeValidatorImpl_CXX::TypeValidatorImpl_CXX(std::__1::function<lldb_private::TypeValidatorImpl::ValidationResult
(lldb_private::ValueObject*)>, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >,
lldb_private::TypeValidatorImpl::Flags const&) in
liblldbDataFormatters.a(TypeValidator.o)
  NOTE: a missing vtable usually means the first non-inline virtual member
function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: ***
[/Volumes/foil/_buildtoolchain/llvm35/build/Debug+Asserts/lib/liblldb.dylib]
Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>