Created
March 14, 2020 15:38
-
-
Save denizzzka/6cf36a37b4a8033946bba903fdf52002 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ninja -j1 -k0 | |
| [1/16] Building CXX object CMakeFiles/LDCShared.dir/gen/functions.cpp.o | |
| FAILED: CMakeFiles/LDCShared.dir/gen/functions.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 -MD -MT CMakeFiles/LDCShared.dir/gen/functions.cpp.o -MF CMakeFiles/LDCShared.dir/gen/functions.cpp.o.d -o CMakeFiles/LDCShared.dir/gen/functions.cpp.o -c ../gen/functions.cpp | |
| In file included from ../gen/functions.cpp:30: | |
| In file included from .././gen/dcompute/target.h:12: | |
| .././gen/irstate.h:68:3: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted] | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../gen/functions.cpp:854:10: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| auto saveScope = irs.scope(); | |
| ^ ~~~~~~~~~~~ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../gen/functions.cpp:1199:15: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| IRScope saveScope = gIR->scope(); | |
| ^ ~~~~~~~~~~~~ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| In file included from ../gen/functions.cpp:12: | |
| In file included from .././dmd/aggregate.h:13: | |
| In file included from ../dmd/dsymbol.h:15: | |
| In file included from .././dmd/globals.h:16: | |
| In file included from ../dmd/root/filename.h:12: | |
| In file included from ../dmd/root/array.h:17: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/iterator:64: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ostream:38: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ios:42: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/ios_base.h:41: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/locale_classes.h:40: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/string:41: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/allocator.h:46: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33: | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:146:8: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| _Up(std::forward<_Args>(__args)...))) | |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:483:24: note: in instantiation of exception specification for 'construct<IRScope, IRScope>' requested here | |
| noexcept(noexcept(__a.construct(__p, std::forward<_Args>(__args)...))) | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:115:21: note: in instantiation of exception specification for 'construct<IRScope, IRScope>' requested here | |
| _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1201:9: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::emplace_back<IRScope>' requested here | |
| { emplace_back(std::move(__x)); } | |
| ^ | |
| ../gen/functions.cpp:1085:15: note: in instantiation of member function 'std::vector<IRScope, std::allocator<IRScope> >::push_back' requested here | |
| gIR->scopes.push_back(IRScope(beginbb)); | |
| ^ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| In file included from ../gen/functions.cpp:12: | |
| In file included from .././dmd/aggregate.h:13: | |
| In file included from ../dmd/dsymbol.h:15: | |
| In file included from .././dmd/globals.h:16: | |
| In file included from ../dmd/root/filename.h:12: | |
| In file included from ../dmd/root/array.h:17: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/iterator:64: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ostream:38: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ios:42: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/ios_base.h:41: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/locale_classes.h:40: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/string:41: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/allocator.h:46: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33: | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:147:23: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:484:8: note: in instantiation of function template specialization '__gnu_cxx::new_allocator<IRScope>::construct<IRScope, IRScope>' requested here | |
| { __a.construct(__p, std::forward<_Args>(__args)...); } | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:115:21: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<IRScope> >::construct<IRScope, IRScope>' requested here | |
| _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1201:9: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::emplace_back<IRScope>' requested here | |
| { emplace_back(std::move(__x)); } | |
| ^ | |
| ../gen/functions.cpp:1085:15: note: in instantiation of member function 'std::vector<IRScope, std::allocator<IRScope> >::push_back' requested here | |
| gIR->scopes.push_back(IRScope(beginbb)); | |
| ^ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| In file included from ../gen/functions.cpp:12: | |
| In file included from .././dmd/aggregate.h:13: | |
| In file included from ../dmd/dsymbol.h:15: | |
| In file included from .././dmd/globals.h:23: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/Triple.h:12: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/Twine.h:12: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/SmallVector.h:30: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/memory:65: | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:127:7: error: static_assert failed due to requirement 'is_constructible<IRScope, IRScope &&>::value' "result type must be constructible from value type of input range" | |
| static_assert(is_constructible<_ValueType2, decltype(*__first)>::value, | |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:307:19: note: in instantiation of function template specialization 'std::uninitialized_copy<std::move_iterator<IRScope *>, IRScope *>' requested here | |
| { return std::uninitialized_copy(__first, __last, __result); } | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:328:19: note: in instantiation of function template specialization 'std::__uninitialized_copy_a<std::move_iterator<IRScope *>, IRScope *, IRScope>' requested here | |
| return std::__uninitialized_copy_a | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:473:10: note: in instantiation of function template specialization 'std::__uninitialized_move_if_noexcept_a<IRScope *, IRScope *, std::allocator<IRScope> >' requested here | |
| = std::__uninitialized_move_if_noexcept_a | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:121:4: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::_M_realloc_insert<IRScope>' requested here | |
| _M_realloc_insert(end(), std::forward<_Args>(__args)...); | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1201:9: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::emplace_back<IRScope>' requested here | |
| { emplace_back(std::move(__x)); } | |
| ^ | |
| ../gen/functions.cpp:1085:15: note: in instantiation of member function 'std::vector<IRScope, std::allocator<IRScope> >::push_back' requested here | |
| gIR->scopes.push_back(IRScope(beginbb)); | |
| ^ | |
| In file included from ../gen/functions.cpp:12: | |
| In file included from .././dmd/aggregate.h:13: | |
| In file included from ../dmd/dsymbol.h:15: | |
| In file included from .././dmd/globals.h:23: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/Triple.h:12: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/Twine.h:12: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/SmallVector.h:19: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/Support/MathExtras.h:17: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/algorithm:62: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:62: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tempbuf.h:60: | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_construct.h:75:38: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); } | |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:83:8: note: in instantiation of function template specialization 'std::_Construct<IRScope, IRScope>' requested here | |
| std::_Construct(std::__addressof(*__cur), *__first); | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:140:2: note: in instantiation of function template specialization 'std::__uninitialized_copy<false>::__uninit_copy<std::move_iterator<IRScope *>, IRScope *>' requested here | |
| __uninit_copy(__first, __last, __result); | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:307:19: note: in instantiation of function template specialization 'std::uninitialized_copy<std::move_iterator<IRScope *>, IRScope *>' requested here | |
| { return std::uninitialized_copy(__first, __last, __result); } | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:328:19: note: in instantiation of function template specialization 'std::__uninitialized_copy_a<std::move_iterator<IRScope *>, IRScope *, IRScope>' requested here | |
| return std::__uninitialized_copy_a | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:473:10: note: in instantiation of function template specialization 'std::__uninitialized_move_if_noexcept_a<IRScope *, IRScope *, std::allocator<IRScope> >' requested here | |
| = std::__uninitialized_move_if_noexcept_a | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:121:4: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::_M_realloc_insert<IRScope>' requested here | |
| _M_realloc_insert(end(), std::forward<_Args>(__args)...); | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1201:9: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::emplace_back<IRScope>' requested here | |
| { emplace_back(std::move(__x)); } | |
| ^ | |
| ../gen/functions.cpp:1085:15: note: in instantiation of member function 'std::vector<IRScope, std::allocator<IRScope> >::push_back' requested here | |
| gIR->scopes.push_back(IRScope(beginbb)); | |
| ^ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| 1 warning and 6 errors generated. | |
| [2/16] Building CXX object CMakeFiles/LDCShared.dir/gen/llvmhelpers.cpp.o | |
| FAILED: CMakeFiles/LDCShared.dir/gen/llvmhelpers.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 -MD -MT CMakeFiles/LDCShared.dir/gen/llvmhelpers.cpp.o -MF CMakeFiles/LDCShared.dir/gen/llvmhelpers.cpp.o.d -o CMakeFiles/LDCShared.dir/gen/llvmhelpers.cpp.o -c ../gen/llvmhelpers.cpp | |
| In file included from ../gen/llvmhelpers.cpp:27: | |
| In file included from .././gen/funcgenstate.h:17: | |
| .././gen/irstate.h:68:3: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted] | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../gen/llvmhelpers.cpp:1240:43: error: no viable conversion from 'dinteger_t' (aka 'unsigned long') to 'llvm::ElementCount' | |
| return llvm::ConstantVector::getSplat(elemCount, val); | |
| ^~~~~~~~~ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/Support/TypeSize.h:25:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'dinteger_t' (aka 'unsigned long') to 'const llvm::ElementCount &' for 1st argument | |
| class ElementCount { | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/Support/TypeSize.h:25:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'dinteger_t' (aka 'unsigned long') to 'llvm::ElementCount &&' for 1st argument | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/Constants.h:520:42: note: passing argument to parameter 'EC' here | |
| static Constant *getSplat(ElementCount EC, Constant *Elt); | |
| ^ | |
| 1 warning and 1 error generated. | |
| [3/16] Building CXX object CMakeFiles/LDCShared.dir/gen/passes/GarbageCollect2Stack.cpp.o | |
| FAILED: CMakeFiles/LDCShared.dir/gen/passes/GarbageCollect2Stack.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 -MD -MT CMakeFiles/LDCShared.dir/gen/passes/GarbageCollect2Stack.cpp.o -MF CMakeFiles/LDCShared.dir/gen/passes/GarbageCollect2Stack.cpp.o.d -o CMakeFiles/LDCShared.dir/gen/passes/GarbageCollect2Stack.cpp.o -c ../gen/passes/GarbageCollect2Stack.cpp | |
| ../gen/passes/GarbageCollect2Stack.cpp:234:17: error: call to deleted constructor of 'IRBuilder<>' | |
| IRBuilder<> Builder = B; | |
| ^ ~ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../gen/passes/GarbageCollect2Stack.cpp:363:17: error: call to deleted constructor of 'IRBuilder<>' | |
| IRBuilder<> Builder = B; | |
| ^ ~ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| 2 errors generated. | |
| [4/16] Building CXX object CMakeFiles/LDCShared.dir/gen/statements.cpp.o | |
| FAILED: CMakeFiles/LDCShared.dir/gen/statements.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 -MD -MT CMakeFiles/LDCShared.dir/gen/statements.cpp.o -MF CMakeFiles/LDCShared.dir/gen/statements.cpp.o.d -o CMakeFiles/LDCShared.dir/gen/statements.cpp.o -c ../gen/statements.cpp | |
| In file included from ../gen/statements.cpp:25: | |
| In file included from .././gen/dcompute/target.h:12: | |
| .././gen/irstate.h:68:3: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted] | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../gen/statements.cpp:1088:16: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| auto savedbb = irs->scope(); | |
| ^ ~~~~~~~~~~~~ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| 1 warning and 1 error generated. | |
| [5/16] Building CXX object CMakeFiles/LDCShared.dir/gen/toconstelem.cpp.o | |
| FAILED: CMakeFiles/LDCShared.dir/gen/toconstelem.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 -MD -MT CMakeFiles/LDCShared.dir/gen/toconstelem.cpp.o -MF CMakeFiles/LDCShared.dir/gen/toconstelem.cpp.o.d -o CMakeFiles/LDCShared.dir/gen/toconstelem.cpp.o -c ../gen/toconstelem.cpp | |
| In file included from ../gen/toconstelem.cpp:17: | |
| .././gen/irstate.h:68:3: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted] | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../gen/toconstelem.cpp:684:11: error: no viable conversion from 'const unsigned long' to 'llvm::ElementCount' | |
| elemCount, toConstElem(e->e1->optimize(WANTvalue))); | |
| ^~~~~~~~~ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/Support/TypeSize.h:25:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const unsigned long' to 'const llvm::ElementCount &' for 1st argument | |
| class ElementCount { | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/Support/TypeSize.h:25:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'const unsigned long' to 'llvm::ElementCount &&' for 1st argument | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/Constants.h:520:42: note: passing argument to parameter 'EC' here | |
| static Constant *getSplat(ElementCount EC, Constant *Elt); | |
| ^ | |
| 1 warning and 1 error generated. | |
| [6/16] Building CXX object CMakeFiles/LDCShared.dir/gen/toir.cpp.o | |
| FAILED: CMakeFiles/LDCShared.dir/gen/toir.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 -MD -MT CMakeFiles/LDCShared.dir/gen/toir.cpp.o -MF CMakeFiles/LDCShared.dir/gen/toir.cpp.o.d -o CMakeFiles/LDCShared.dir/gen/toir.cpp.o -c ../gen/toir.cpp | |
| In file included from ../gen/toir.cpp:33: | |
| In file included from .././gen/funcgenstate.h:17: | |
| .././gen/irstate.h:68:3: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted] | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../gen/toir.cpp:191:11: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| IRScope oldScope = p->scope(); | |
| ^ ~~~~~~~~~~ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../gen/toir.cpp:1122:28: warning: lambda capture 'e' is not used [-Wunused-lambda-capture] | |
| auto getBasePointer = [e, v, etype]() { | |
| ^~ | |
| ../gen/toir.cpp:2638:62: error: no viable conversion from 'const unsigned int' to 'llvm::ElementCount' | |
| auto vectorConstant = llvm::ConstantVector::getSplat(N, llConstant); | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/Support/TypeSize.h:25:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const unsigned int' to 'const llvm::ElementCount &' for 1st argument | |
| class ElementCount { | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/Support/TypeSize.h:25:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'const unsigned int' to 'llvm::ElementCount &&' for 1st argument | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/Constants.h:520:42: note: passing argument to parameter 'EC' here | |
| static Constant *getSplat(ElementCount EC, Constant *Elt); | |
| ^ | |
| 2 warnings and 2 errors generated. | |
| [7/16] Building CXX object CMakeFiles/LDCShared.dir/gen/trycatchfinally.cpp.o | |
| FAILED: CMakeFiles/LDCShared.dir/gen/trycatchfinally.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 -MD -MT CMakeFiles/LDCShared.dir/gen/trycatchfinally.cpp.o -MF CMakeFiles/LDCShared.dir/gen/trycatchfinally.cpp.o.d -o CMakeFiles/LDCShared.dir/gen/trycatchfinally.cpp.o -c ../gen/trycatchfinally.cpp | |
| In file included from ../gen/trycatchfinally.cpp:18: | |
| In file included from .././gen/funcgenstate.h:17: | |
| .././gen/irstate.h:68:3: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted] | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../gen/trycatchfinally.cpp:221:13: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| IRScope save = irs.scope(); | |
| ^ ~~~~~~~~~~~ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../gen/trycatchfinally.cpp:699:11: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| IRScope savedIRScope = irs.scope(); | |
| ^ ~~~~~~~~~~~ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| 1 warning and 2 errors generated. | |
| [8/16] Building CXX object CMakeFiles/LDCShared.dir/gen/uda.cpp.o | |
| FAILED: CMakeFiles/LDCShared.dir/gen/uda.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 -MD -MT CMakeFiles/LDCShared.dir/gen/uda.cpp.o -MF CMakeFiles/LDCShared.dir/gen/uda.cpp.o.d -o CMakeFiles/LDCShared.dir/gen/uda.cpp.o -c ../gen/uda.cpp | |
| In file included from ../gen/uda.cpp:11: | |
| .././gen/irstate.h:68:3: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted] | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../gen/uda.cpp:215:23: error: no member named 'getAttrKindFromName' in namespace 'llvm'; did you mean 'llvm::Attribute::getAttrKindFromName'? | |
| const auto kind = llvm::getAttrKindFromName(key); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
| llvm::Attribute::getAttrKindFromName | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/Attributes.h:112:30: note: 'llvm::Attribute::getAttrKindFromName' declared here | |
| static Attribute::AttrKind getAttrKindFromName(StringRef AttrName); | |
| ^ | |
| 1 warning and 1 error generated. | |
| [9/16] Building CXX object CMakeFiles/LDCShared.dir/ir/irclass.cpp.o | |
| FAILED: CMakeFiles/LDCShared.dir/ir/irclass.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 -MD -MT CMakeFiles/LDCShared.dir/ir/irclass.cpp.o -MF CMakeFiles/LDCShared.dir/ir/irclass.cpp.o.d -o CMakeFiles/LDCShared.dir/ir/irclass.cpp.o -c ../ir/irclass.cpp | |
| In file included from ../ir/irclass.cpp:20: | |
| In file included from .././gen/funcgenstate.h:17: | |
| .././gen/irstate.h:68:3: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted] | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| In file included from ../ir/irclass.cpp:10: | |
| In file included from .././dmd/aggregate.h:13: | |
| In file included from ../dmd/dsymbol.h:15: | |
| In file included from .././dmd/globals.h:16: | |
| In file included from ../dmd/root/filename.h:12: | |
| In file included from ../dmd/root/array.h:17: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/iterator:64: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ostream:38: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ios:42: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/ios_base.h:41: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/locale_classes.h:40: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/string:41: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/allocator.h:46: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33: | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:146:8: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| _Up(std::forward<_Args>(__args)...))) | |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:483:24: note: in instantiation of exception specification for 'construct<IRScope, IRScope>' requested here | |
| noexcept(noexcept(__a.construct(__p, std::forward<_Args>(__args)...))) | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:115:21: note: in instantiation of exception specification for 'construct<IRScope, IRScope>' requested here | |
| _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1201:9: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::emplace_back<IRScope>' requested here | |
| { emplace_back(std::move(__x)); } | |
| ^ | |
| ../ir/irclass.cpp:434:19: note: in instantiation of member function 'std::vector<IRScope, std::allocator<IRScope> >::push_back' requested here | |
| gIR->scopes.push_back(IRScope(beginbb)); | |
| ^ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| In file included from ../ir/irclass.cpp:10: | |
| In file included from .././dmd/aggregate.h:13: | |
| In file included from ../dmd/dsymbol.h:15: | |
| In file included from .././dmd/globals.h:16: | |
| In file included from ../dmd/root/filename.h:12: | |
| In file included from ../dmd/root/array.h:17: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/iterator:64: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ostream:38: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ios:42: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/ios_base.h:41: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/locale_classes.h:40: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/string:41: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/allocator.h:46: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9/bits/c++allocator.h:33: | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h:147:23: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h:484:8: note: in instantiation of function template specialization '__gnu_cxx::new_allocator<IRScope>::construct<IRScope, IRScope>' requested here | |
| { __a.construct(__p, std::forward<_Args>(__args)...); } | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:115:21: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<IRScope> >::construct<IRScope, IRScope>' requested here | |
| _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1201:9: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::emplace_back<IRScope>' requested here | |
| { emplace_back(std::move(__x)); } | |
| ^ | |
| ../ir/irclass.cpp:434:19: note: in instantiation of member function 'std::vector<IRScope, std::allocator<IRScope> >::push_back' requested here | |
| gIR->scopes.push_back(IRScope(beginbb)); | |
| ^ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| In file included from ../ir/irclass.cpp:10: | |
| In file included from .././dmd/aggregate.h:13: | |
| In file included from ../dmd/dsymbol.h:15: | |
| In file included from .././dmd/globals.h:23: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/Triple.h:12: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/Twine.h:12: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/SmallVector.h:30: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/memory:65: | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:127:7: error: static_assert failed due to requirement 'is_constructible<IRScope, IRScope &&>::value' "result type must be constructible from value type of input range" | |
| static_assert(is_constructible<_ValueType2, decltype(*__first)>::value, | |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:307:19: note: in instantiation of function template specialization 'std::uninitialized_copy<std::move_iterator<IRScope *>, IRScope *>' requested here | |
| { return std::uninitialized_copy(__first, __last, __result); } | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:328:19: note: in instantiation of function template specialization 'std::__uninitialized_copy_a<std::move_iterator<IRScope *>, IRScope *, IRScope>' requested here | |
| return std::__uninitialized_copy_a | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:473:10: note: in instantiation of function template specialization 'std::__uninitialized_move_if_noexcept_a<IRScope *, IRScope *, std::allocator<IRScope> >' requested here | |
| = std::__uninitialized_move_if_noexcept_a | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:121:4: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::_M_realloc_insert<IRScope>' requested here | |
| _M_realloc_insert(end(), std::forward<_Args>(__args)...); | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1201:9: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::emplace_back<IRScope>' requested here | |
| { emplace_back(std::move(__x)); } | |
| ^ | |
| ../ir/irclass.cpp:434:19: note: in instantiation of member function 'std::vector<IRScope, std::allocator<IRScope> >::push_back' requested here | |
| gIR->scopes.push_back(IRScope(beginbb)); | |
| ^ | |
| In file included from ../ir/irclass.cpp:10: | |
| In file included from .././dmd/aggregate.h:13: | |
| In file included from ../dmd/dsymbol.h:15: | |
| In file included from .././dmd/globals.h:23: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/Triple.h:12: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/Twine.h:12: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/ADT/SmallVector.h:19: | |
| In file included from /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/Support/MathExtras.h:17: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/algorithm:62: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:62: | |
| In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tempbuf.h:60: | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_construct.h:75:38: error: call to implicitly-deleted copy constructor of 'IRScope' | |
| { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); } | |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:83:8: note: in instantiation of function template specialization 'std::_Construct<IRScope, IRScope>' requested here | |
| std::_Construct(std::__addressof(*__cur), *__first); | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:140:2: note: in instantiation of function template specialization 'std::__uninitialized_copy<false>::__uninit_copy<std::move_iterator<IRScope *>, IRScope *>' requested here | |
| __uninit_copy(__first, __last, __result); | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:307:19: note: in instantiation of function template specialization 'std::uninitialized_copy<std::move_iterator<IRScope *>, IRScope *>' requested here | |
| { return std::uninitialized_copy(__first, __last, __result); } | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h:328:19: note: in instantiation of function template specialization 'std::__uninitialized_copy_a<std::move_iterator<IRScope *>, IRScope *, IRScope>' requested here | |
| return std::__uninitialized_copy_a | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:473:10: note: in instantiation of function template specialization 'std::__uninitialized_move_if_noexcept_a<IRScope *, IRScope *, std::allocator<IRScope> >' requested here | |
| = std::__uninitialized_move_if_noexcept_a | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc:121:4: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::_M_realloc_insert<IRScope>' requested here | |
| _M_realloc_insert(end(), std::forward<_Args>(__args)...); | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h:1201:9: note: in instantiation of function template specialization 'std::vector<IRScope, std::allocator<IRScope> >::emplace_back<IRScope>' requested here | |
| { emplace_back(std::move(__x)); } | |
| ^ | |
| ../ir/irclass.cpp:434:19: note: in instantiation of member function 'std::vector<IRScope, std::allocator<IRScope> >::push_back' requested here | |
| gIR->scopes.push_back(IRScope(beginbb)); | |
| ^ | |
| .././gen/irstate.h:68:3: note: explicitly defaulted function was implicitly deleted here | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| 1 warning and 4 errors generated. | |
| [10/16] Building CXX object CMakeFiles/LDCShared.dir/driver/codegenerator.cpp.o | |
| FAILED: CMakeFiles/LDCShared.dir/driver/codegenerator.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 -MD -MT CMakeFiles/LDCShared.dir/driver/codegenerator.cpp.o -MF CMakeFiles/LDCShared.dir/driver/codegenerator.cpp.o.d -o CMakeFiles/LDCShared.dir/driver/codegenerator.cpp.o -c ../driver/codegenerator.cpp | |
| In file included from ../driver/codegenerator.cpp:10: | |
| In file included from .././driver/codegenerator.h:22: | |
| .././gen/irstate.h:68:3: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted] | |
| IRScope(const IRScope &) = default; | |
| ^ | |
| .././gen/irstate.h:65:15: note: copy constructor of 'IRScope' is implicitly deleted because field 'builder' has a deleted copy constructor | |
| IRBuilder<> builder; | |
| ^ | |
| /home/denizzz/Dev/llvm-project/install-llvm/include/llvm/IR/IRBuilder.h:3024:3: note: 'IRBuilder' has been explicitly marked deleted here | |
| IRBuilder(const IRBuilder &) = delete; | |
| ^ | |
| ../driver/codegenerator.cpp:26:10: fatal error: 'llvm/IR/RemarkStreamer.h' file not found | |
| #include "llvm/IR/RemarkStreamer.h" | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| 1 warning and 1 error generated. | |
| [11/16] Building CXX object CMakeFiles/LDCShared.dir/driver/archiver.cpp.o | |
| FAILED: CMakeFiles/LDCShared.dir/driver/archiver.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 -MD -MT CMakeFiles/LDCShared.dir/driver/archiver.cpp.o -MF CMakeFiles/LDCShared.dir/driver/archiver.cpp.o.d -o CMakeFiles/LDCShared.dir/driver/archiver.cpp.o -c ../driver/archiver.cpp | |
| ../driver/archiver.cpp:148:22: error: no member named 'getProcessTriple' in namespace 'llvm::sys' | |
| return Triple(sys::getProcessTriple()).isOSDarwin() | |
| ~~~~~^ | |
| 1 error generated. | |
| [12/16] Building CXX object utils/CMakeFiles/gen_gccbuiltins.dir/gen_gccbuiltins.cpp.o | |
| FAILED: utils/CMakeFiles/gen_gccbuiltins.dir/gen_gccbuiltins.cpp.o | |
| /usr/bin/clang++ -DLDC_DYNAMIC_COMPILE -DLDC_DYNAMIC_COMPILE_API_VERSION=3 -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -I../. -I../dmd -DDMDV2 -DHAVE_SC_ARG_MAX -O3 -DNDEBUG -I/home/denizzz/Dev/llvm-project/install-llvm/include -std=c++14 -fno-exceptions -fno-rtti -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-gnu-anonymous-struct -Wno-nested-anon-types -Wno-gnu-redeclared-enum -Wno-unused-private-field -Wno-undefined-var-template -fvisibility-inlines-hidden -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/home/denizzz/Dev/ldc/install-ldc)\"" -DLDC_LLVM_VER=1100 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_LDMD=1 -DLDC_HOST_FE_VER=2090 "-DLLVM_INTRINSIC_TD_PATH=R\"(/home/denizzz/Dev/llvm-project/install-llvm/include)\"" -MD -MT utils/CMakeFiles/gen_gccbuiltins.dir/gen_gccbuiltins.cpp.o -MF utils/CMakeFiles/gen_gccbuiltins.dir/gen_gccbuiltins.cpp.o.d -o utils/CMakeFiles/gen_gccbuiltins.dir/gen_gccbuiltins.cpp.o -c ../utils/gen_gccbuiltins.cpp | |
| ../utils/gen_gccbuiltins.cpp:85:12: error: no viable conversion from 'llvm::StringRef' to 'std::string' (aka 'basic_string<char>') | |
| string prop = | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:448:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char> &' for 1st argument | |
| basic_string(const basic_string& __str) | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:525:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'const char *' for 1st argument | |
| basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:552:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'std::__cxx11::basic_string<char> &&' for 1st argument | |
| basic_string(basic_string&& __str) noexcept | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:579:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'initializer_list<char>' for 1st argument | |
| basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | |
| ^ | |
| ../utils/gen_gccbuiltins.cpp:100:12: error: no viable conversion from 'llvm::StringRef' to 'std::string' (aka 'basic_string<char>') | |
| string builtinName = rec.getValueAsString("GCCBuiltinName"); | |
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:448:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char> &' for 1st argument | |
| basic_string(const basic_string& __str) | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:525:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'const char *' for 1st argument | |
| basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:552:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'std::__cxx11::basic_string<char> &&' for 1st argument | |
| basic_string(basic_string&& __str) noexcept | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:579:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'initializer_list<char>' for 1st argument | |
| basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | |
| ^ | |
| ../utils/gen_gccbuiltins.cpp:101:12: error: no viable conversion from 'llvm::StringRef' to 'std::string' (aka 'basic_string<char>') | |
| string name = rec.getName(); | |
| ^ ~~~~~~~~~~~~~ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:448:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char> &' for 1st argument | |
| basic_string(const basic_string& __str) | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:525:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'const char *' for 1st argument | |
| basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:552:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'std::__cxx11::basic_string<char> &&' for 1st argument | |
| basic_string(basic_string&& __str) noexcept | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:579:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'initializer_list<char>' for 1st argument | |
| basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | |
| ^ | |
| ../utils/gen_gccbuiltins.cpp:111:12: error: no viable conversion from 'llvm::StringRef' to 'std::string' (aka 'basic_string<char>') | |
| string prop = | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:448:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'const std::__cxx11::basic_string<char> &' for 1st argument | |
| basic_string(const basic_string& __str) | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:525:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'const char *' for 1st argument | |
| basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:552:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'std::__cxx11::basic_string<char> &&' for 1st argument | |
| basic_string(basic_string&& __str) noexcept | |
| ^ | |
| /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:579:7: note: candidate constructor not viable: no known conversion from 'llvm::StringRef' to 'initializer_list<char>' for 1st argument | |
| basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | |
| ^ | |
| 4 errors generated. | |
| ninja: build stopped: cannot make progress due to previous errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment