<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 --- - r221918 breaks bootstrap on Fedora 20/x86-64"
href="http://llvm.org/bugs/show_bug.cgi?id=21565">21565</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>r221918 breaks bootstrap on Fedora 20/x86-64
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hjl.tools@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>On Fedora 20/x86-64, r221918:
773d19cce43a660639a26fca94ca387c2faf4d39 is the first bad commit
commit 773d19cce43a660639a26fca94ca387c2faf4d39
Author: Richard Smith <<a href="mailto:richard-llvm@metafoo.co.uk">richard-llvm@metafoo.co.uk</a>>
Date: Thu Nov 13 20:01:57 2014 +0000
PR21437, final part of DR1330: delay-parsing of exception-specifications.
This
is a re-commit of Doug's r154844 (modernized and updated to fit into
current
Clang).
git-svn-id: <a href="https://llvm.org/svn/llvm-project/cfe/trunk@221918">https://llvm.org/svn/llvm-project/cfe/trunk@221918</a>
91177308-0d34-0410-b5e6-96231b3b80d8
caused:
In file included from /export/ssd/git/llvm/lib/Support/Timer.cpp:14:
In file included from /export/ssd/git/llvm/include/llvm/Support/Timer.h:13:
In file included from /export/ssd/git/llvm/include/llvm/ADT/StringRef.h:13:
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/algorithm:60:
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/utility:70:
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/stl_pair.h:195:37:
error: too many arguments to function call, expected single argument '__p',
have 2 arguments
noexcept(noexcept(swap(first, __p.first))
~~~~ ^~~~~~~~~
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/stl_pair.h:255:23:
note: in instantiation of exception specification for 'swap' requested here
noexcept(noexcept(__x.swap(__y)))
^
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/stl_algobase.h:147:7:
note: in instantiation of exception specification for 'swap<llvm::TimeRecord,
std::basic_string<char> >' requested here
swap(*__a, *__b);
^
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/stl_algo.h:88:11:
note: in instantiation of function template specialization
'std::iter_swap<__gnu_cxx::__normal_iterator<std::pair<llvm::TimeRecord,
std::basic_string<char> > *, std::vector<std::pair<llvm::TimeRecord,
std::basic_string<char> >, std::allocator<std::pair<llvm::TimeRecord,
std::basic_string<char> > > > >,
__gnu_cxx::__normal_iterator<std::pair<llvm::TimeRecord,
std::basic_string<char> > *, std::vector<std::pair<llvm::TimeRecord,
std::basic_string<char> >, std::allocator<std::pair<llvm::TimeRecord,
std::basic_string<char> > > > > >' requested here
std::iter_swap(__result, __b);
^
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/stl_algo.h:2282:12:
note: in instantiation of function template specialization
'std::__move_median_to_first<__gnu_cxx::__normal_iterator<std::pair<llvm::TimeRecord,
std::basic_string<char> > *, std::vector<std::pair<llvm::TimeRecord,
std::basic_string<char> >, std::allocator<std::pair<llvm::TimeRecord,
std::basic_string<char> > > > > >' requested here
std::__move_median_to_first(__first, __first + 1, __mid, __last - 1);
^
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/stl_algo.h:2315:11:
note: in instantiation of function template specialization
'std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<std::pair<llvm::TimeRecord,
std::basic_string<char> > *, std::vector<std::pair<llvm::TimeRecord,
std::basic_string<char> >, std::allocator<std::pair<llvm::TimeRecord,
std::basic_string<char> > > > > >' requested here
std::__unguarded_partition_pivot(__first, __last);
^
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/stl_algo.h:5451:9:
note: in instantiation of function template specialization
'std::__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<llvm::TimeRecord,
std::basic_string<char> > *, std::vector<std::pair<llvm::TimeRecord,
std::basic_string<char> >, std::allocator<std::pair<llvm::TimeRecord,
std::basic_string<char> > > > >, long>' requested here
std::__introsort_loop(__first, __last,
^
/export/ssd/git/llvm/lib/Support/Timer.cpp:316:8: note: in instantiation of
function template specialization
'std::sort<__gnu_cxx::__normal_iterator<std::pair<llvm::TimeRecord,
std::basic_string<char> > *, std::vector<std::pair<llvm::TimeRecord,
std::basic_string<char> >, std::allocator<std::pair<llvm::TimeRecord,
std::basic_string<char> > > > > >' requested here
std::sort(TimersToPrint.begin(), TimersToPrint.end());
^
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/bits/stl_pair.h:193:7:
note: 'swap' declared here
void
^
llvm[4]: Compiling raw_os_ostream.cpp for Release+Asserts build
1 error generated.
make[4]: ***
[/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support/Release+Asserts/Timer.o]
Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/export/build/gnu/llvm-clang-boot</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>