<html>
    <head>
      <base href="https://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 --- - fails to build with &quot;undefined reference to 'lldb_private::ScriptInterpreterNone::Initialize()'&quot;" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24332&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=DDUMf06MYELAe1Nlv7KChiwJLLHbYha4jtK_AOiWqwQ&m=Ua3YPCqrw1xby9VvzIRFn_MmH004jNlCHkOlxxMOR9g&s=rM2oxruJM4D6ccIjU0gOkF4Rli4Z1qtje9Q5abrd8Qk&e=">24332</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>fails to build with "undefined reference to 'lldb_private::ScriptInterpreterNone::Initialize()'"
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </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>sylvestre@debian.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>With Debian jessie and some other Ubuntu version, the build is failing with:

llvm[5]: Linking Release Shared Library liblldb.so
g++-4.9 -std=c++0x -g -O2 -Wl,-R -Wl,'$ORIGIN' -Wl,--gc-sections -rdynamic
-L/tmp/buildd/llvm-toolchain-snapshot-3.8~svn243822/build-llvm/Release/lib
-L/tmp/buildd/llvm-toolchain-snapshot-3.8~svn243822/build-llvm/Release/lib
-fuse-ld=gold   -shared -o
/tmp/buildd/llvm-toolchain-snapshot-3.8~svn243822/build-llvm/Release/lib/liblldb.so
 \
  -Wl,--whole-archive -llldbAPI -llldbBreakpoint -llldbCommands -llldbCore
-llldbDataFormatters -llldbExpression -llldbInitialization -llldbHost
-llldbBase -llldbInterpreter -llldbPluginABIMacOSX_arm
-llldbPluginABIMacOSX_arm64 -llldbPluginABIMacOSX_i386 -llldbPluginABISysV_arm
-llldbPluginABISysV_arm64 -llldbPluginABISysV_ppc -llldbPluginABISysV_ppc64
-llldbPluginABISysV_mips -llldbPluginABISysV_mips64 -llldbPluginABISysV_i386
-llldbPluginABISysV_x86_64 -llldbPluginABISysV_hexagon
-llldbPluginDisassemblerLLVM -llldbPluginDynamicLoaderStatic
-llldbPluginDynamicLoaderPosixDYLD -llldbPluginDynamicLoaderHexagon
-llldbPluginDynamicLoaderMacOSXDYLD -llldbPluginDynamicLoaderWindowsDYLD
-llldbPluginInstructionARM -llldbPluginInstructionARM64
-llldbPluginInstructionMIPS -llldbPluginInstructionMIPS64
-llldbPluginInstrumentationRuntimeAddressSanitizer -llldbPluginCXXItaniumABI
-llldbPluginAppleObjCRuntime -llldbPluginRenderScriptRuntime
-llldbPluginMemoryHistoryASan -llldbPluginObjectContainerBSDArchive
-llldbPluginObjectContainerMachOArchive -llldbPluginObjectFileELF
-llldbPluginObjectFileJIT -llldbPluginSymbolVendorELF
-llldbPluginObjectFilePECOFF -llldbPluginOSPython -llldbPluginPlatformGDB
-llldbPluginProcessGDBRemote -llldbPluginSymbolFileDWARF
-llldbPluginSymbolFileSymtab -llldbPluginSystemRuntimeMacOSX
-llldbPluginUnwindAssemblyInstEmulation -llldbPluginUnwindAssemblyX86
-llldbPluginProcessUtility -llldbSymbol -llldbTarget -llldbUtility
-lclangAnalysis -lclangAST -lclangBasic -lclangCodeGen -lclangFrontend
-lclangDriver -lclangEdit -lclangLex -lclangParse -lclangSema
-lclangSerialization -lLLVMMCDisassembler -lLLVMProfileData
-llldbPluginPlatformMacOSX -llldbPluginPlatformLinux
-llldbPluginPlatformWindows -llldbPluginPlatformFreeBSD
-llldbPluginPlatformPOSIX -llldbPluginPlatformKalimba
-llldbPluginPlatformAndroid -llldbPluginProcessLinux -llldbPluginProcessPOSIX
-llldbPluginProcessElfCore -llldbPluginJITLoaderGDB -Wl,--no-whole-archive
-lLLVM-3.8 -Wl,--no-undefined -L/usr/lib/python2.7/config-i386-linux-gnu
-L/usr/lib -lpython2.7 -lpthread -ldl  -lutil -lm  -Xlinker -export-dynamic
-Wl,-O1 -Wl,-Bsymbolic-functions -lrt -ledit -lncurses -lpanel -lpthread
-Wl,--soname,liblldb-3.8.so -lz -lpthread -lffi -ledit -ltinfo -ldl -lm 
/tmp/buildd/llvm-toolchain-snapshot-3.8~svn243822/tools/lldb/source/API/SystemInitializerFull.cpp:338:
error: undefined reference to
'lldb_private::ScriptInterpreterPython::InitializeInterpreter(void (*)(), bool
(*)(char const*, char const*, std::shared_ptr<lldb_private::StackFrame> const&,
std::shared_ptr<lldb_private::BreakpointLocation> const&), bool (*)(char
const*, char const*, std::shared_ptr<lldb_private::StackFrame> const&,
std::shared_ptr<lldb_private::Watchpoint> const&), bool (*)(char const*, void*,
lldb_private::SharingPtr<lldb_private::ValueObject> const&, void**,
std::shared_ptr<lldb_private::TypeSummaryOptions> const&, std::string&), void*
(*)(char const*, char const*,
lldb_private::SharingPtr<lldb_private::ValueObject> const&), void* (*)(char
const*, char const*, std::shared_ptr<lldb_private::Debugger>), unsigned int
(*)(void*), void* (*)(void*, unsigned int), int (*)(void*, char const*), void*
(*)(void*), lldb_private::SharingPtr<lldb_private::ValueObject> (*)(void*),
bool (*)(void*), bool (*)(void*), void* (*)(void*), bool (*)(char const*, char
const*, std::shared_ptr<lldb_private::Debugger>&, char const*,
lldb_private::CommandReturnObject&,
std::shared_ptr<lldb_private::ExecutionContextRef>), bool (*)(void*,
std::shared_ptr<lldb_private::Debugger>&, char const*,
lldb_private::CommandReturnObject&,
std::shared_ptr<lldb_private::ExecutionContextRef>), bool (*)(char const*, char
const*, std::shared_ptr<lldb_private::Debugger>&), void* (*)(char const*, char
const*, std::shared_ptr<lldb_private::Process> const&), bool (*)(char const*,
char const*, std::shared_ptr<lldb_private::Process>&, std::string&), bool
(*)(char const*, char const*, std::shared_ptr<lldb_private::Thread>&,
std::string&), bool (*)(char const*, char const*,
std::shared_ptr<lldb_private::Target>&, std::string&), bool (*)(char const*,
char const*, std::shared_ptr<lldb_private::StackFrame>&, std::string&), bool
(*)(char const*, char const*,
lldb_private::SharingPtr<lldb_private::ValueObject>&, std::string&), void*
(*)(void*, char const*, std::shared_ptr<lldb_private::Target> const&), void*
(*)(char const*, char const*, std::shared_ptr<lldb_private::ThreadPlan>
const&), bool (*)(void*, char const*, lldb_private::Event*, bool&))'
/tmp/buildd/llvm-toolchain-snapshot-3.8~svn243822/tools/lldb/source/API/SystemInitializerFull.cpp:240:
error: undefined reference to
'lldb_private::ScriptInterpreterNone::Initialize()'
/tmp/buildd/llvm-toolchain-snapshot-3.8~svn243822/tools/lldb/source/API/SystemInitializerFull.cpp:241:
error: undefined reference to
'lldb_private::ScriptInterpreterPython::Initialize()'
collect2: error: ld returned 1 exit status
/tmp/buildd/llvm-toolchain-snapshot-3.8~svn243822/Makefile.rules:1206: recipe
for target
'/tmp/buildd/llvm-toolchain-snapshot-3.8~svn243822/build-llvm/Release/lib/liblldb.so'
failed</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>