[LLVMdev] building llvm with tip of tree gcc

Reed Kotler rkotler at mips.com
Wed Apr 9 09:37:30 PDT 2014


Sorry....

The one we were using is new but not completely tip of tree and I just 
reran with tip of tree gcc mips and everything compiled.

On 04/09/2014 08:35 AM, reed kotler wrote:
> Is anyone else seeing this: (using a tip of tree gcc mips cross compiler)
>
> We are seeing the following error:
>
> make[5]: Entering directory
> `/scratch/bb-slaves/mipssw002/LLVM_canadian_cross_test/build/tools/clang/unittests/ASTMatchers/Dynamic'
>
> llvm[5]: Compiling ParserTest.cpp for Debug+Asserts build
> llvm[4]: Linking Debug+Asserts unit test libclang
> /scratch/bb-slaves/mipssw002/LLVM_canadian_cross_test/source/tools/clang/unittests/Format/FormatTest.cpp:
> In member function 'virtual void
> clang::format::FormatTest_ParsesConfiguration_Test::TestBody()':
> /scratch/bb-slaves/mipssw002/LLVM_canadian_cross_test/source/tools/clang/unittests/Format/FormatTest.cpp:7550:24:
> error: converting to 'std::vector<std::basic_string<char> >' from
> initializer list would use explicit constructor 'std::vector<_Tp,
> _Alloc>::vector(const allocator_type&) [with _Tp =
> std::basic_string<char>; _Alloc = std::allocator<std::basic_string<char>
>  >; std::vector<_Tp, _Alloc>::allocator_type =
> std::allocator<std::basic_string<char> >]'
>     FormatStyle Style = {};
>                          ^
> llvm[4]: ======= Finished Linking Debug+Asserts Unit test libclang
> make[4]: Leaving directory
> `/scratch/bb-slaves/mipssw002/LLVM_canadian_cross_test/build/tools/clang/unittests/libclang'
>
> make[4]: Entering directory
> `/scratch/bb-slaves/mipssw002/LLVM_canadian_cross_test/build/tools/clang/unittests/AST'
>
> llvm[4]: Compiling ASTContextParentMapTest.cpp for Debug+Asserts build
> /scratch/bb-slaves/mipssw002/LLVM_canadian_cross_test/source/tools/clang/unittests/Format/FormatTest.cpp:
> In member function 'virtual void
> clang::format::FormatTest_ParsesConfigurationWithLanguages_Test::TestBody()':
>
> /scratch/bb-slaves/mipssw002/LLVM_canadian_cross_test/source/tools/clang/unittests/Format/FormatTest.cpp:7668:24:
> error: converting to 'std::vector<std::basic_string<char> >' from
> initializer list would use explicit constructor 'std::vector<_Tp,
> _Alloc>::vector(const allocator_type&) [with _Tp =
> std::basic_string<char>; _Alloc = std::allocator<std::basic_string<char>
>  >; std::vector<_Tp, _Alloc>::allocator_type =
> std::allocator<std::basic_string<char> >]'
>     FormatStyle Style = {};
>                          ^
> /scratch/bb-slaves/mipssw002/LLVM_canadian_cross_test/source/tools/clang/unittests/Format/FormatTest.cpp:
> In member function 'virtual void
> clang::format::FormatTest_UsesLanguageForBasedOnStyle_Test::TestBody()':
> /scratch/bb-slaves/mipssw002/LLVM_canadian_cross_test/source/tools/clang/unittests/Format/FormatTest.cpp:7772:24:
> error: converting to 'std::vector<std::basic_string<char> >' from
> initializer list would use explicit constructor 'std::vector<_Tp,
> _Alloc>::vector(const allocator_type&) [with _Tp =
> std::basic_string<char>; _Alloc = std::allocator<std::basic_string<char>
>  >; std::vector<_Tp, _Alloc>::allocator_type =
> std::allocator<std::basic_string<char> >]'
>     FormatStyle Style = {};
>                          ^
> /scratch/bb-slaves/mipssw002/LLVM_canadian_cross_test/source/tools/clang/unittests/Format/FormatTest.cpp:
> In member function 'virtual void
> clang::format::FormatTest_ConfigurationRoundTripTest_Test::TestBody()':
> /scratch/bb-slaves/mipssw002/LLVM_canadian_cross_test/source/tools/clang/unittests/Format/FormatTest.cpp:7793:30:
> error: converting to 'std::vector<std::basic_string<char> >' from
> initializer list would use explicit constructor 'std::vector<_Tp,
> _Alloc>::vector(const allocator_type&) [with _Tp =
> std::basic_string<char>; _Alloc = std::allocator<std::basic_string<char>
>  >; std::vector<_Tp, _Alloc>::allocator_type =
> std::allocator<std::basic_string<char> >]'
>     FormatStyle ParsedStyle = {};
>                                ^
> llvm[4]: Linking Debug+Asserts unit test Multilib




More information about the llvm-dev mailing list