<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 --- - fail to build clang 3.7.0 (linking c-index-test)"
href="https://llvm.org/bugs/show_bug.cgi?id=25375">25375</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>fail to build clang 3.7.0 (linking c-index-test)
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.7
</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>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>shestero@mail.ru
</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>....
[ 98%] Linking CXX shared library ../../lib/libclang.so
[ 98%] Built target libclang
[ 98%] Building C object
tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o
[ 98%] Linking CXX executable ../../bin/c-index-test
../../lib/libclang.so.3.7: undefined reference to
`std::error_category::error_category()@GLIBCXX_3.4.15'
../../lib/libclang.so.3.7: undefined reference to
`std::error_category::default_error_condition(int) <a href="mailto:const@GLIBCXX_3.4.11">const@GLIBCXX_3.4.11</a>'
../../lib/libclang.so.3.7: undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char>
<span class="quote">>::basic_string(std::string&&)@GLIBCXX_3.4.14'</span >
../../lib/libclang.so.3.7: undefined reference to
`std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
../../lib/libclang.so.3.7: undefined reference to
`std::__throw_bad_function_call()@GLIBCXX_3.4.14'
../../lib/libclang.so.3.7: undefined reference to
`std::error_category::equivalent(int, std::error_condition const&)
<a href="mailto:const@GLIBCXX_3.4.11">const@GLIBCXX_3.4.11</a>'
../../lib/libclang.so.3.7: undefined reference to
`std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
../../lib/libclang.so.3.7: undefined reference to
`std::generic_category()@GLIBCXX_3.4.11'
../../lib/libclang.so.3.7: undefined reference to
`std::error_category::~error_category()@GLIBCXX_3.4.15'
../../lib/libclang.so.3.7: undefined reference to
`std::string::operator=(std::string&&)@GLIBCXX_3.4.14'
../../lib/libclang.so.3.7: undefined reference to
`std::ctype<char>::_M_widen_init() <a href="mailto:const@GLIBCXX_3.4.11">const@GLIBCXX_3.4.11</a>'
../../lib/libclang.so.3.7: undefined reference to
`std::__detail::_List_node_base::swap(std::__detail::_List_node_base&,
std::__detail::_List_node_base&)@GLIBCXX_3.4.15'
../../lib/libclang.so.3.7: undefined reference to
`std::system_category()@GLIBCXX_3.4.11'
../../lib/libclang.so.3.7: undefined reference to
`std::error_category::equivalent(std::error_code const&, int)
<a href="mailto:const@GLIBCXX_3.4.11">const@GLIBCXX_3.4.11</a>'
../../lib/libclang.so.3.7: undefined reference to
`std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*,
std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/c-index-test] Error 1
make[1]: *** [tools/c-index-test/CMakeFiles/c-index-test.dir/all] Error 2
make: *** [all] Error 2
shestero@shestero-laptop:/media/database_/llvm/cfe-3.7.0.src/build$ g++
--version
g++ (GCC) 4.7.2
Copyright (C) 2012 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.
--------
PS What is c-index-test tool for?
May be it's possible just to skip it?</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>