https://llvm.org/bugs/show_bug.cgi?id=27935
Bug ID: 27935 Summary: Linking CXX executable lldb-argdumper and lldb-mi fails Product: lldb Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: release blocker Priority: P Component: All Bugs Assignee: lldb-dev@lists.llvm.org Reporter: ved...@miletic.net CC: llvm-b...@lists.llvm.org Classification: Unclassified On Debian 8 with $ g++ --version g++ (Debian 4.9.2-10) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. building LLDB inside LLVM tree with $ cmake -DBUILD_SHARED_LIBS=ON -DLLVM_LIBDIR_SUFFIX= .. results in Linking CXX executable ../../../../bin/lldb-argdumper Linking CXX executable ../../../../bin/lldb-mi ../../../../lib/liblldbUtility.a(JSON.cpp.o): In function `lldb_private::JSONNumber::GetAsUnsigned() const': /home/vedranm/workspace/llvm/tools/lldb/source/Utility/JSON.cpp:76: undefined reference to `llvm::llvm_unreachable_internal(char const*, char const*, unsigned int)' ../../../../lib/liblldbUtility.a(JSON.cpp.o): In function `lldb_private::JSONNumber::GetAsSigned() const': /home/vedranm/workspace/llvm/tools/lldb/source/Utility/JSON.cpp:91: undefined reference to `llvm::llvm_unreachable_internal(char const*, char const*, unsigned int)' ../../../../lib/liblldbUtility.a(JSON.cpp.o): In function `lldb_private::JSONNumber::GetAsDouble() const': /home/vedranm/workspace/llvm/tools/lldb/source/Utility/JSON.cpp:106: undefined reference to `llvm::llvm_unreachable_internal(char const*, char const*, unsigned int)' collect2: error: ld returned 1 exit status tools/lldb/tools/argdumper/CMakeFiles/lldb-argdumper.dir/build.make:179: recipe for target 'bin/lldb-argdumper' failed make[2]: *** [bin/lldb-argdumper] Error 1 CMakeFiles/Makefile2:27035: recipe for target 'tools/lldb/tools/argdumper/CMakeFiles/lldb-argdumper.dir/all' failed make[1]: *** [tools/lldb/tools/argdumper/CMakeFiles/lldb-argdumper.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... CMakeFiles/lldb-mi.dir/MIUtilParse.cpp.o: In function `MIUtilParse::CRegexParser::CRegexParser(char const*)': /home/vedranm/workspace/llvm/tools/lldb/tools/lldb-mi/MIUtilParse.cpp:24: undefined reference to `llvm_regcomp' CMakeFiles/lldb-mi.dir/MIUtilParse.cpp.o: In function `MIUtilParse::CRegexParser::~CRegexParser()': /home/vedranm/workspace/llvm/tools/lldb/tools/lldb-mi/MIUtilParse.cpp:39: undefined reference to `llvm_regfree' CMakeFiles/lldb-mi.dir/MIUtilParse.cpp.o: In function `MIUtilParse::CRegexParser::Execute(char const*, MIUtilParse::CRegexParser::Match&, unsigned long)': /home/vedranm/workspace/llvm/tools/lldb/tools/lldb-mi/MIUtilParse.cpp:65: undefined reference to `llvm_regexec' collect2: error: ld returned 1 exit status tools/lldb/tools/lldb-mi/CMakeFiles/lldb-mi.dir/build.make:2004: recipe for target 'bin/lldb-mi-3.9.0' failed make[2]: *** [bin/lldb-mi-3.9.0] Error 1 CMakeFiles/Makefile2:27323: recipe for target 'tools/lldb/tools/lldb-mi/CMakeFiles/lldb-mi.dir/all' failed make[1]: *** [tools/lldb/tools/lldb-mi/CMakeFiles/lldb-mi.dir/all] Error 2 Makefile:137: recipe for target 'all' failed make: *** [all] Error 2 -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev