ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/16] CXX obj/bolt/lib/Profile/Profile.DataAggregator.o FAILED: obj/bolt/lib/Profile/Profile.DataAggregator.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/bolt/lib/Profile/Profile.DataAggregator.o.d -o obj/bolt/lib/Profile/Profile.DataAggregator.o -c ../../bolt/lib/Profile/DataAggregator.cpp -I../../llvm/include -Igen/llvm/include -I../../bolt/include -Igen/bolt/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../bolt/lib/Profile/DataAggregator.cpp:14: In file included from ../../bolt/include/bolt/Profile/DataAggregator.h:17: In file included from ../../bolt/include/bolt/Profile/DataReader.h:17: In file included from ../../bolt/include/bolt/Profile/ProfileReaderBase.h:16: In file included from ../../llvm/include/llvm/ADT/StringSet.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:33: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/hashtable.h:210:21: error: static assertion failed due to requirement 'is_copy_constructible>>::value': hash function must be copy constructible 210 | static_assert(is_copy_constructible<_Hash>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:115:18: note: in instantiation of template class 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' requested here 115 | _Hashtable _M_h; | ^ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/lib/Profile/DataAggregator.cpp:14: In file included from ../../bolt/include/bolt/Profile/DataAggregator.h:17: In file included from ../../bolt/include/bolt/Profile/DataReader.h:17: In file included from ../../bolt/include/bolt/Profile/ProfileReaderBase.h:16: In file included from ../../llvm/include/llvm/ADT/StringSet.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:126:36: error: no type named 'allocator_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 126 | typedef typename _Hashtable::allocator_type allocator_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/lib/Profile/DataAggregator.cpp:14: In file included from ../../bolt/include/bolt/Profile/DataAggregator.h:17: In file included from ../../bolt/include/bolt/Profile/DataReader.h:17: In file included from ../../bolt/include/bolt/Profile/ProfileReaderBase.h:16: In file included from ../../llvm/include/llvm/ADT/StringSet.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:131:36: error: no type named 'pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 131 | typedef typename _Hashtable::pointer pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:132:36: error: no type named 'const_pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 132 | typedef typename _Hashtable::const_pointer const_pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:133:36: error: no type named 'reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 133 | typedef typename _Hashtable::reference reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:134:36: error: no type named 'const_reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 134 | typedef typename _Hashtable::const_reference const_reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:135:36: error: no type named 'iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 135 | typedef typename _Hashtable::iterator iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:136:36: error: no type named 'const_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 136 | typedef typename _Hashtable::const_iterator const_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:137:36: error: no type named 'local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 137 | typedef typename _Hashtable::local_iterator local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:138:36: error: no type named 'const_local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 138 | typedef typename _Hashtable::const_local_iterator const_local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:144:46: error: no type named 'node_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 144 | using node_type = typename _Hashtable::node_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:145:55: error: no type named 'insert_return_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 145 | using insert_return_type = typename _Hashtable::insert_return_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:816:7: error: multiple overloads of 'erase' instantiate to the same signature 'iterator (iterator)' (aka 'int (int)') 816 | erase(iterator __position) | ^ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:811:7: note: previous declaration is here 811 | erase(const_iterator __position) | ^ ../../bolt/lib/Profile/DataAggregator.cpp:719:5: error: cannot initialize object parameter of type 'const llvm::bolt::DataReader' with an expression of type 'llvm::bolt::DataAggregator' 719 | convertBranchData(Function); | ^~~~~~~~~~~~~~~~~ ../../bolt/lib/Profile/DataAggregator.cpp:759:31: error: cannot initialize object parameter of type 'const llvm::bolt::DataReader' with an expression of type 'llvm::bolt::DataAggregator' 759 | if (FuncBranchData *FBD = getBranchData(BF)) { | ^~~~~~~~~~~~~ ../../bolt/lib/Profile/DataAggregator.cpp:763:20: error: cannot initialize object parameter of type 'llvm::bolt::DataReader' with an expression of type 'llvm::bolt::DataAggregator' 763 | getFuncBasicSampleData(BF.getNames())) { | ^~~~~~~~~~~~~~~~~~~~~~ ../../bolt/lib/Profile/DataAggregator.cpp:853:30: error: cannot initialize object parameter of type 'const llvm::bolt::DataReader' with an expression of type 'llvm::bolt::DataAggregator' 853 | FuncBranchData *AggrData = getBranchData(Func); | ^~~~~~~~~~~~~ ../../bolt/lib/Profile/DataAggregator.cpp:857:5: error: cannot initialize object parameter of type 'llvm::bolt::DataReader' with an expression of type 'llvm::bolt::DataAggregator' 857 | setBranchData(Func, AggrData); | ^~~~~~~~~~~~~ ../../bolt/lib/Profile/DataAggregator.cpp:876:20: error: cannot initialize object parameter of type 'const llvm::bolt::DataReader' with an expression of type 'llvm::bolt::DataAggregator' 876 | FromAggrData = getBranchData(*FromFunc); | ^~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [2/16] CXX obj/bolt/tools/driver/llvm-bolt.llvm-bolt.o FAILED: obj/bolt/tools/driver/llvm-bolt.llvm-bolt.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/bolt/tools/driver/llvm-bolt.llvm-bolt.o.d -o obj/bolt/tools/driver/llvm-bolt.llvm-bolt.o -c ../../bolt/tools/driver/llvm-bolt.cpp -I../../llvm/include -Igen/llvm/include -I../../bolt/include -Igen/bolt/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../bolt/tools/driver/llvm-bolt.cpp:15: In file included from ../../bolt/include/bolt/Profile/DataAggregator.h:17: In file included from ../../bolt/include/bolt/Profile/DataReader.h:17: In file included from ../../bolt/include/bolt/Profile/ProfileReaderBase.h:16: In file included from ../../llvm/include/llvm/ADT/StringSet.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:33: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/hashtable.h:210:21: error: static assertion failed due to requirement 'is_copy_constructible>>::value': hash function must be copy constructible 210 | static_assert(is_copy_constructible<_Hash>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:115:18: note: in instantiation of template class 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' requested here 115 | _Hashtable _M_h; | ^ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/tools/driver/llvm-bolt.cpp:15: In file included from ../../bolt/include/bolt/Profile/DataAggregator.h:17: In file included from ../../bolt/include/bolt/Profile/DataReader.h:17: In file included from ../../bolt/include/bolt/Profile/ProfileReaderBase.h:16: In file included from ../../llvm/include/llvm/ADT/StringSet.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:126:36: error: no type named 'allocator_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 126 | typedef typename _Hashtable::allocator_type allocator_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/tools/driver/llvm-bolt.cpp:15: In file included from ../../bolt/include/bolt/Profile/DataAggregator.h:17: In file included from ../../bolt/include/bolt/Profile/DataReader.h:17: In file included from ../../bolt/include/bolt/Profile/ProfileReaderBase.h:16: In file included from ../../llvm/include/llvm/ADT/StringSet.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:131:36: error: no type named 'pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 131 | typedef typename _Hashtable::pointer pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:132:36: error: no type named 'const_pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 132 | typedef typename _Hashtable::const_pointer const_pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:133:36: error: no type named 'reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 133 | typedef typename _Hashtable::reference reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:134:36: error: no type named 'const_reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 134 | typedef typename _Hashtable::const_reference const_reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:135:36: error: no type named 'iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 135 | typedef typename _Hashtable::iterator iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:136:36: error: no type named 'const_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 136 | typedef typename _Hashtable::const_iterator const_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:137:36: error: no type named 'local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 137 | typedef typename _Hashtable::local_iterator local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:138:36: error: no type named 'const_local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 138 | typedef typename _Hashtable::const_local_iterator const_local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:144:46: error: no type named 'node_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 144 | using node_type = typename _Hashtable::node_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:145:55: error: no type named 'insert_return_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 145 | using insert_return_type = typename _Hashtable::insert_return_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:816:7: error: multiple overloads of 'erase' instantiate to the same signature 'iterator (iterator)' (aka 'int (int)') 816 | erase(iterator __position) | ^ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:811:7: note: previous declaration is here 811 | erase(const_iterator __position) | ^ 13 errors generated. [3/16] CXX obj/bolt/unittests/Profile/ProfileTests.DataAggregator.o FAILED: obj/bolt/unittests/Profile/ProfileTests.DataAggregator.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/bolt/unittests/Profile/ProfileTests.DataAggregator.o.d -o obj/bolt/unittests/Profile/ProfileTests.DataAggregator.o -c ../../bolt/unittests/Profile/DataAggregator.cpp -DGTEST_HAS_RTTI=0 -I../../llvm/include -Igen/llvm/include -I../../bolt/include -Igen/bolt/include -I../../third-party/unittest/googlemock/include -I../../third-party/unittest/googletest/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../bolt/unittests/Profile/DataAggregator.cpp:9: In file included from ../../bolt/include/bolt/Profile/DataAggregator.h:17: In file included from ../../bolt/include/bolt/Profile/DataReader.h:17: In file included from ../../bolt/include/bolt/Profile/ProfileReaderBase.h:16: In file included from ../../llvm/include/llvm/ADT/StringSet.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:33: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/hashtable.h:210:21: error: static assertion failed due to requirement 'is_copy_constructible>>::value': hash function must be copy constructible 210 | static_assert(is_copy_constructible<_Hash>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:115:18: note: in instantiation of template class 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' requested here 115 | _Hashtable _M_h; | ^ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/unittests/Profile/DataAggregator.cpp:9: In file included from ../../bolt/include/bolt/Profile/DataAggregator.h:17: In file included from ../../bolt/include/bolt/Profile/DataReader.h:17: In file included from ../../bolt/include/bolt/Profile/ProfileReaderBase.h:16: In file included from ../../llvm/include/llvm/ADT/StringSet.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:126:36: error: no type named 'allocator_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 126 | typedef typename _Hashtable::allocator_type allocator_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/unittests/Profile/DataAggregator.cpp:9: In file included from ../../bolt/include/bolt/Profile/DataAggregator.h:17: In file included from ../../bolt/include/bolt/Profile/DataReader.h:17: In file included from ../../bolt/include/bolt/Profile/ProfileReaderBase.h:16: In file included from ../../llvm/include/llvm/ADT/StringSet.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:131:36: error: no type named 'pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 131 | typedef typename _Hashtable::pointer pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:132:36: error: no type named 'const_pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 132 | typedef typename _Hashtable::const_pointer const_pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:133:36: error: no type named 'reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 133 | typedef typename _Hashtable::reference reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:134:36: error: no type named 'const_reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 134 | typedef typename _Hashtable::const_reference const_reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:135:36: error: no type named 'iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 135 | typedef typename _Hashtable::iterator iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:136:36: error: no type named 'const_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 136 | typedef typename _Hashtable::const_iterator const_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:137:36: error: no type named 'local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 137 | typedef typename _Hashtable::local_iterator local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:138:36: error: no type named 'const_local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 138 | typedef typename _Hashtable::const_local_iterator const_local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:144:46: error: no type named 'node_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 144 | using node_type = typename _Hashtable::node_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:145:55: error: no type named 'insert_return_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 145 | using insert_return_type = typename _Hashtable::insert_return_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:816:7: error: multiple overloads of 'erase' instantiate to the same signature 'iterator (iterator)' (aka 'int (int)') 816 | erase(iterator __position) | ^ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:811:7: note: previous declaration is here 811 | erase(const_iterator __position) | ^ ../../bolt/unittests/Profile/DataAggregator.cpp:27:3: error: cannot initialize object parameter of type 'llvm::bolt::DataReader' with an expression of type 'DataAggregator' 27 | DA.setParsingBuffer(""); | ^~ ../../bolt/unittests/Profile/DataAggregator.cpp:35:3: error: cannot initialize object parameter of type 'llvm::bolt::DataReader' with an expression of type 'DataAggregator' 35 | DA.setParsingBuffer(PartialValidBuildIDs); | ^~ ../../bolt/unittests/Profile/DataAggregator.cpp:46:3: error: cannot initialize object parameter of type 'llvm::bolt::DataReader' with an expression of type 'DataAggregator' 46 | DA.setParsingBuffer(AllValidBuildIDs); | ^~ 16 errors generated. [4/16] CXX obj/bolt/lib/Profile/Profile.YAMLProfileWriter.o FAILED: obj/bolt/lib/Profile/Profile.YAMLProfileWriter.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/bolt/lib/Profile/Profile.YAMLProfileWriter.o.d -o obj/bolt/lib/Profile/Profile.YAMLProfileWriter.o -c ../../bolt/lib/Profile/YAMLProfileWriter.cpp -I../../llvm/include -Igen/llvm/include -I../../bolt/include -Igen/bolt/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../bolt/lib/Profile/YAMLProfileWriter.cpp:9: In file included from ../../bolt/include/bolt/Profile/YAMLProfileWriter.h:12: In file included from ../../bolt/include/bolt/Profile/ProfileYAMLMapping.h:16: In file included from ../../bolt/include/bolt/Core/BinaryFunction.h:28: In file included from ../../bolt/include/bolt/Core/BinaryBasicBlock.h:18: In file included from ../../bolt/include/bolt/Core/FunctionLayout.h:22: In file included from ../../llvm/include/llvm/ADT/ArrayRef.h:12: In file included from ../../llvm/include/llvm/ADT/Hashing.h:51: In file included from ../../llvm/include/llvm/Support/SwapByteOrder.h:17: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:33: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/hashtable.h:210:21: error: static assertion failed due to requirement 'is_copy_constructible>>::value': hash function must be copy constructible 210 | static_assert(is_copy_constructible<_Hash>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:115:18: note: in instantiation of template class 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' requested here 115 | _Hashtable _M_h; | ^ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/lib/Profile/YAMLProfileWriter.cpp:9: In file included from ../../bolt/include/bolt/Profile/YAMLProfileWriter.h:12: In file included from ../../bolt/include/bolt/Profile/ProfileYAMLMapping.h:16: In file included from ../../bolt/include/bolt/Core/BinaryFunction.h:28: In file included from ../../bolt/include/bolt/Core/BinaryBasicBlock.h:18: In file included from ../../bolt/include/bolt/Core/FunctionLayout.h:22: In file included from ../../llvm/include/llvm/ADT/ArrayRef.h:12: In file included from ../../llvm/include/llvm/ADT/Hashing.h:51: In file included from ../../llvm/include/llvm/Support/SwapByteOrder.h:17: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:126:36: error: no type named 'allocator_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 126 | typedef typename _Hashtable::allocator_type allocator_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/lib/Profile/YAMLProfileWriter.cpp:9: In file included from ../../bolt/include/bolt/Profile/YAMLProfileWriter.h:12: In file included from ../../bolt/include/bolt/Profile/ProfileYAMLMapping.h:16: In file included from ../../bolt/include/bolt/Core/BinaryFunction.h:28: In file included from ../../bolt/include/bolt/Core/BinaryBasicBlock.h:18: In file included from ../../bolt/include/bolt/Core/FunctionLayout.h:22: In file included from ../../llvm/include/llvm/ADT/ArrayRef.h:12: In file included from ../../llvm/include/llvm/ADT/Hashing.h:51: In file included from ../../llvm/include/llvm/Support/SwapByteOrder.h:17: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:131:36: error: no type named 'pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 131 | typedef typename _Hashtable::pointer pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:132:36: error: no type named 'const_pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 132 | typedef typename _Hashtable::const_pointer const_pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:133:36: error: no type named 'reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 133 | typedef typename _Hashtable::reference reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:134:36: error: no type named 'const_reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 134 | typedef typename _Hashtable::const_reference const_reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:135:36: error: no type named 'iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 135 | typedef typename _Hashtable::iterator iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:136:36: error: no type named 'const_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 136 | typedef typename _Hashtable::const_iterator const_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:137:36: error: no type named 'local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 137 | typedef typename _Hashtable::local_iterator local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:138:36: error: no type named 'const_local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 138 | typedef typename _Hashtable::const_local_iterator const_local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:144:46: error: no type named 'node_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 144 | using node_type = typename _Hashtable::node_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:145:55: error: no type named 'insert_return_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 145 | using insert_return_type = typename _Hashtable::insert_return_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:816:7: error: multiple overloads of 'erase' instantiate to the same signature 'iterator (iterator)' (aka 'int (int)') 816 | erase(iterator __position) | ^ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:811:7: note: previous declaration is here 811 | erase(const_iterator __position) | ^ 13 errors generated. [5/16] CXX obj/bolt/unittests/Core/CoreTests.MemoryMaps.o FAILED: obj/bolt/unittests/Core/CoreTests.MemoryMaps.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/bolt/unittests/Core/CoreTests.MemoryMaps.o.d -o obj/bolt/unittests/Core/CoreTests.MemoryMaps.o -c ../../bolt/unittests/Core/MemoryMaps.cpp -DAARCH64_AVAILABLE -DX86_AVAILABLE -DGTEST_HAS_RTTI=0 -I../../llvm/lib/Target/AArch64 -I../../llvm/lib/Target/X86 -I../../llvm/include -Igen/llvm/include -I../../bolt/include -Igen/bolt/include -Igen/llvm/lib/Target/AArch64 -I. -Igen/llvm/lib/Target/AArch64/MCTargetDesc -Igen/llvm/lib/Target/AArch64/Utils -Igen/llvm/lib/Target/X86 -Igen/llvm/lib/Target/X86/MCTargetDesc -I../../third-party/unittest/googlemock/include -I../../third-party/unittest/googletest/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../bolt/unittests/Core/MemoryMaps.cpp:9: In file included from ../../bolt/include/bolt/Core/BinaryContext.h:16: In file included from ../../bolt/include/bolt/Core/AddressMap.h:17: In file included from ../../llvm/include/llvm/MC/MCSymbol.h:16: In file included from ../../llvm/include/llvm/ADT/StringMapEntry.h:19: In file included from ../../llvm/include/llvm/ADT/StringRef.h:13: In file included from ../../llvm/include/llvm/ADT/STLFunctionalExtras.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:33: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/hashtable.h:210:21: error: static assertion failed due to requirement 'is_copy_constructible>>::value': hash function must be copy constructible 210 | static_assert(is_copy_constructible<_Hash>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:115:18: note: in instantiation of template class 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' requested here 115 | _Hashtable _M_h; | ^ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/unittests/Core/MemoryMaps.cpp:9: In file included from ../../bolt/include/bolt/Core/BinaryContext.h:16: In file included from ../../bolt/include/bolt/Core/AddressMap.h:17: In file included from ../../llvm/include/llvm/MC/MCSymbol.h:16: In file included from ../../llvm/include/llvm/ADT/StringMapEntry.h:19: In file included from ../../llvm/include/llvm/ADT/StringRef.h:13: In file included from ../../llvm/include/llvm/ADT/STLFunctionalExtras.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:126:36: error: no type named 'allocator_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 126 | typedef typename _Hashtable::allocator_type allocator_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/unittests/Core/MemoryMaps.cpp:9: In file included from ../../bolt/include/bolt/Core/BinaryContext.h:16: In file included from ../../bolt/include/bolt/Core/AddressMap.h:17: In file included from ../../llvm/include/llvm/MC/MCSymbol.h:16: In file included from ../../llvm/include/llvm/ADT/StringMapEntry.h:19: In file included from ../../llvm/include/llvm/ADT/StringRef.h:13: In file included from ../../llvm/include/llvm/ADT/STLFunctionalExtras.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:131:36: error: no type named 'pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 131 | typedef typename _Hashtable::pointer pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:132:36: error: no type named 'const_pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 132 | typedef typename _Hashtable::const_pointer const_pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:133:36: error: no type named 'reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 133 | typedef typename _Hashtable::reference reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:134:36: error: no type named 'const_reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 134 | typedef typename _Hashtable::const_reference const_reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:135:36: error: no type named 'iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 135 | typedef typename _Hashtable::iterator iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:136:36: error: no type named 'const_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 136 | typedef typename _Hashtable::const_iterator const_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:137:36: error: no type named 'local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 137 | typedef typename _Hashtable::local_iterator local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:138:36: error: no type named 'const_local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 138 | typedef typename _Hashtable::const_local_iterator const_local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:144:46: error: no type named 'node_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 144 | using node_type = typename _Hashtable::node_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:145:55: error: no type named 'insert_return_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 145 | using insert_return_type = typename _Hashtable::insert_return_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:816:7: error: multiple overloads of 'erase' instantiate to the same signature 'iterator (iterator)' (aka 'int (int)') 816 | erase(iterator __position) | ^ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:811:7: note: previous declaration is here 811 | erase(const_iterator __position) | ^ 13 errors generated. [6/16] CXX obj/bolt/lib/Rewrite/Rewrite.RewriteInstance.o FAILED: obj/bolt/lib/Rewrite/Rewrite.RewriteInstance.o ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/bolt/lib/Rewrite/Rewrite.RewriteInstance.o.d -o obj/bolt/lib/Rewrite/Rewrite.RewriteInstance.o -c ../../bolt/lib/Rewrite/RewriteInstance.cpp -DAARCH64_AVAILABLE -DX86_AVAILABLE -I../../llvm/include -Igen/llvm/include -I../../bolt/include -Igen/bolt/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti In file included from ../../bolt/lib/Rewrite/RewriteInstance.cpp:9: In file included from ../../bolt/include/bolt/Rewrite/RewriteInstance.h:16: In file included from ../../bolt/include/bolt/Core/BinaryContext.h:16: In file included from ../../bolt/include/bolt/Core/AddressMap.h:17: In file included from ../../llvm/include/llvm/MC/MCSymbol.h:16: In file included from ../../llvm/include/llvm/ADT/StringMapEntry.h:19: In file included from ../../llvm/include/llvm/ADT/StringRef.h:13: In file included from ../../llvm/include/llvm/ADT/STLFunctionalExtras.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:33: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/hashtable.h:210:21: error: static assertion failed due to requirement 'is_copy_constructible>>::value': hash function must be copy constructible 210 | static_assert(is_copy_constructible<_Hash>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:115:18: note: in instantiation of template class 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' requested here 115 | _Hashtable _M_h; | ^ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/lib/Rewrite/RewriteInstance.cpp:9: In file included from ../../bolt/include/bolt/Rewrite/RewriteInstance.h:16: In file included from ../../bolt/include/bolt/Core/BinaryContext.h:16: In file included from ../../bolt/include/bolt/Core/AddressMap.h:17: In file included from ../../llvm/include/llvm/MC/MCSymbol.h:16: In file included from ../../llvm/include/llvm/ADT/StringMapEntry.h:19: In file included from ../../llvm/include/llvm/ADT/StringRef.h:13: In file included from ../../llvm/include/llvm/ADT/STLFunctionalExtras.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:126:36: error: no type named 'allocator_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 126 | typedef typename _Hashtable::allocator_type allocator_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../bolt/include/bolt/Profile/DataAggregator.h:155:65: note: in instantiation of template class 'std::unordered_map, unsigned long>' requested here 155 | std::unordered_map, uint64_t> CrossDSOSamples; | ^ In file included from ../../bolt/lib/Rewrite/RewriteInstance.cpp:9: In file included from ../../bolt/include/bolt/Rewrite/RewriteInstance.h:16: In file included from ../../bolt/include/bolt/Core/BinaryContext.h:16: In file included from ../../bolt/include/bolt/Core/AddressMap.h:17: In file included from ../../llvm/include/llvm/MC/MCSymbol.h:16: In file included from ../../llvm/include/llvm/ADT/StringMapEntry.h:19: In file included from ../../llvm/include/llvm/ADT/StringRef.h:13: In file included from ../../llvm/include/llvm/ADT/STLFunctionalExtras.h:18: In file included from ../../llvm/include/llvm/ADT/STLForwardCompat.h:21: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:65: In file included from ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/unordered_map:43: ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:131:36: error: no type named 'pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 131 | typedef typename _Hashtable::pointer pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:132:36: error: no type named 'const_pointer' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 132 | typedef typename _Hashtable::const_pointer const_pointer; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:133:36: error: no type named 'reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 133 | typedef typename _Hashtable::reference reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:134:36: error: no type named 'const_reference' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 134 | typedef typename _Hashtable::const_reference const_reference; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:135:36: error: no type named 'iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 135 | typedef typename _Hashtable::iterator iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:136:36: error: no type named 'const_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 136 | typedef typename _Hashtable::const_iterator const_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:137:36: error: no type named 'local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 137 | typedef typename _Hashtable::local_iterator local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:138:36: error: no type named 'const_local_iterator' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 138 | typedef typename _Hashtable::const_local_iterator const_local_iterator; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:144:46: error: no type named 'node_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 144 | using node_type = typename _Hashtable::node_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:145:55: error: no type named 'insert_return_type' in 'std::_Hashtable, std::pair, unsigned long>, std::allocator, unsigned long>>, std::__detail::_Select1st, std::equal_to>, std::hash>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits>' 145 | using insert_return_type = typename _Hashtable::insert_return_type; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:816:7: error: multiple overloads of 'erase' instantiate to the same signature 'iterator (iterator)' (aka 'int (int)') 816 | erase(iterator __position) | ^ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unordered_map.h:811:7: note: previous declaration is here 811 | erase(const_iterator __position) | ^ ../../bolt/lib/Rewrite/RewriteInstance.cpp:486:19: error: no viable overloaded '=' 486 | ProfileReader = std::make_unique(Filename); | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:408:19: note: candidate function not viable: no known conversion from 'unique_ptr>' to 'unique_ptr>' for 1st argument 408 | unique_ptr& operator=(unique_ptr&&) = default; | ^ ~~~~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:424:2: note: candidate template ignored: requirement '__and_, std::__not_>>, std::is_assignable &, std::default_delete &&>>::value' was not satisfied [with _Up = llvm::bolt::DataAggregator, _Ep = std::default_delete] 424 | operator=(unique_ptr<_Up, _Ep>&& __u) noexcept | ^ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:434:7: note: candidate function not viable: no known conversion from '__detail::__unique_ptr_t' (aka 'unique_ptr') to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 434 | operator=(nullptr_t) noexcept | ^ ~~~~~~~~~ ../../sysroot/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:525:19: note: candidate function not viable: no known conversion from 'unique_ptr>' to 'const unique_ptr>' for 1st argument 525 | unique_ptr& operator=(const unique_ptr&) = delete; | ^ ~~~~~~~~~~~~~~~~~ 14 errors generated. ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.