<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 --- - Linking CXX executable lldb-argdumper and lldb-mi fails"
href="https://llvm.org/bugs/show_bug.cgi?id=27935">27935</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Linking CXX executable lldb-argdumper and lldb-mi fails
</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>release blocker
</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@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vedran@miletic.net
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>