[LLVMbugs] [Bug 21565] New: r221918 breaks bootstrap on Fedora 20/x86-64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 13 14:10:36 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21565

            Bug ID: 21565
           Summary: r221918 breaks bootstrap on Fedora 20/x86-64
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

On Fedora 20/x86-64, r221918:

773d19cce43a660639a26fca94ca387c2faf4d39 is the first bad commit
commit 773d19cce43a660639a26fca94ca387c2faf4d39
Author: Richard Smith <richard-llvm at metafoo.co.uk>
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: https://llvm.org/svn/llvm-project/cfe/trunk@221918
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141113/838e0523/attachment.html>


More information about the llvm-bugs mailing list