[cfe-dev] r243899 broke the build

Siva Chandra sivachandra at google.com
Mon Aug 3 14:02:30 PDT 2015


Hello David,

r243899 broke the build:

llvm_build$ ninja
[1366/2066] Building CXX object
lib/AsmParser/CMakeFiles/LLVMAsmParser.dir/LLParser.cpp.o
FAILED: /usr/bin/clang++-3.5   -DGTEST_HAS_RTTI=0 -D_DEBUG
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -fPIC -fvisibility-inlines-hidden -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wno-long-long
-Wcovered-switch-default -Wnon-virtual-dtor -std=c++11
-fcolor-diagnostics -g -Ilib/AsmParser
-I/usr/local/google/home/sivachandra/llvm/lib/AsmParser -Iinclude
-I/usr/local/google/home/sivachandra/llvm/include    -fno-exceptions
-fno-rtti -MMD -MT
lib/AsmParser/CMakeFiles/LLVMAsmParser.dir/LLParser.cpp.o -MF
"lib/AsmParser/CMakeFiles/LLVMAsmParser.dir/LLParser.cpp.o.d" -o
lib/AsmParser/CMakeFiles/LLVMAsmParser.dir/LLParser.cpp.o -c
/usr/local/google/home/sivachandra/llvm/lib/AsmParser/LLParser.cpp
/usr/local/google/home/sivachandra/llvm/lib/AsmParser/LLParser.cpp:2612:36:
error: no matching member function for call to 'insert'
          ForwardRefBlockAddresses.insert(std::make_pair, std::move(Fn),
          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_map.h:602:9:
note: candidate function template not viable: requires single argument
'__x', but 3 arguments were provided
        insert(_Pair&& __x)
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_map.h:655:9:
note: candidate function template not viable: requires 2 arguments,
but 3 were provided
        insert(const_iterator __position, _Pair&& __x)
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_map.h:670:9:
note: candidate function template not viable: requires 2 arguments,
but 3 were provided
        insert(_InputIterator __first, _InputIterator __last)
        ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_map.h:644:7:
note: candidate function not viable: requires 2 arguments, but 3 were
provided
      insert(const_iterator __position, const value_type& __x)
      ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_map.h:594:7:
note: candidate function not viable: requires single argument '__x',
but 3 arguments were provided
      insert(const value_type& __x)
      ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_map.h:615:7:
note: candidate function not viable: requires single argument
'__list', but 3 arguments were provided
      insert(std::initializer_list<value_type> __list)
      ^
1 error generated.
[1366/2066] Building X86GenSubtargetInfo.inc...
ninja: build stopped: subcommand failed.

It also shows up on the builtbot:
http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/4792/steps/ninja%20build%20local/logs/stdio

Thanks,
Siva Chandra



More information about the cfe-dev mailing list