https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101583
Sergey Fedorov <vital.had at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vital.had at gmail dot com --- Comment #12 from Sergey Fedorov <vital.had at gmail dot com> --- I am getting similar errors with 12.3.0: :info:build /opt/local/bin/g++-mp-12 -o /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_nodejs20/nodejs20/work/node-v20.4.0/out/Release/obj.host/v8_base_without_compiler/deps/v8/src/inspector/string-util.o ../deps/v8/src/inspector/string-util.cc '-DNODE_OPENSSL_CONF_NAME=nodejs_conf' '-DICU_NO_USER_DATA_OVERRIDE' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-DV8_TARGET_ARCH_PPC' '-DV8_TARGET_ARCH_PPC_BE' '-DV8_HAVE_TARGET_OS' '-DV8_TARGET_OS_MACOS' '-DV8_EMBEDDER_STRING="-node.10"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_ATOMIC_OBJECT_FIELD_WRITES' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DV8_SHARED_RO_HEAP' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_USE_ZLIB' '-DV8_ENABLE_TURBOFAN' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_SCRIPTORMODULE_LEGACY_LIFETIME' '-DV8_ADVANCED_BIGINT_ALGORITHMS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_nodejs20/nodejs20/work/zlib-inc -I/opt/local/libexec/openssl3/include/openssl -I../deps/v8 -I../deps/v8/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_nodejs20/nodejs20/work/node-v20.4.0/out/Release/obj/gen/inspector-generated-output-root -I../deps/v8/third_party/inspector_protocol -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_nodejs20/nodejs20/work/node-v20.4.0/out/Release/obj/gen -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_nodejs20/nodejs20/work/node-v20.4.0/out/Release/obj/gen/generate-bytecode-output-root -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google -O3 -gdwarf-2 -fstrict-aliasing -mmacosx-version-min=10.6 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-rtti -fno-exceptions -fno-strict-aliasing -fpermissive -isystem/opt/local/include/LegacySupport -MMD -MF /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_nodejs20/nodejs20/work/node-v20.4.0/out/Release/.deps//opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_nodejs20/nodejs20/work/node-v20.4.0/out/Release/obj.host/v8_base_without_compiler/deps/v8/src/inspector/string-util.o.d.raw -c :info:build ../deps/v8/src/inspector/injected-script.cc: In constructor 'v8_inspector::InjectedScript::InjectedScript(v8_inspector::InspectedContext*, int)': :info:build ../deps/v8/src/inspector/injected-script.cc:389:48: error: use of deleted function 'std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = v8_inspector::String16; _Tp = std::vector<int>; _Hash = std::hash<v8_inspector::String16>; _Pred = std::equal_to<v8_inspector::String16>; _Alloc = std::allocator<std::pair<const v8_inspector::String16, std::vector<int> > >]' :info:build 389 | : m_context(context), m_sessionId(sessionId) {} :info:build | ^ :info:build In file included from /opt/local/include/gcc12/c++/unordered_map:47, :info:build from ../deps/v8/src/inspector/injected-script.h:35: :info:build /opt/local/include/gcc12/c++/bits/unordered_map.h:141:7: note: 'std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = v8_inspector::String16; _Tp = std::vector<int>; _Hash = std::hash<v8_inspector::String16>; _Pred = std::equal_to<v8_inspector::String16>; _Alloc = std::allocator<std::pair<const v8_inspector::String16, std::vector<int> > >]' is implicitly deleted because the default definition would be ill-formed: :info:build 141 | unordered_map() = default; :info:build | ^~~~~~~~~~~~~ :info:build /opt/local/include/gcc12/c++/bits/unordered_map.h:141:7: error: use of deleted function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable() [with _Key = v8_inspector::String16; _Value = std::pair<const v8_inspector::String16, std::vector<int> >; _Alloc = std::allocator<std::pair<const v8_inspector::String16, std::vector<int> > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<v8_inspector::String16>; _Hash = std::hash<v8_inspector::String16>; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, false, true>]' :info:build In file included from /opt/local/include/gcc12/c++/unordered_map:46: :info:build /opt/local/include/gcc12/c++/bits/hashtable.h:531:7: note: 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable() [with _Key = v8_inspector::String16; _Value = std::pair<const v8_inspector::String16, std::vector<int> >; _Alloc = std::allocator<std::pair<const v8_inspector::String16, std::vector<int> > >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<v8_inspector::String16>; _Hash = std::hash<v8_inspector::String16>; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, false, true>]' is implicitly deleted because the default definition would be ill-formed: :info:build 531 | _Hashtable() = default; :info:build | ^~~~~~~~~~ :info:build /opt/local/include/gcc12/c++/bits/hashtable.h:531:7: error: use of deleted function 'std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits>::_Hashtable_base() [with _Key = v8_inspector::String16; _Value = std::pair<const v8_inspector::String16, std::vector<int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<v8_inspector::String16>; _Hash = std::hash<v8_inspector::String16>; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits<true, false, true>]' :info:build In file included from /opt/local/include/gcc12/c++/bits/hashtable.h:35: :info:build /opt/local/include/gcc12/c++/bits/hashtable_policy.h:1674:7: note: 'std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _Traits>::_Hashtable_base() [with _Key = v8_inspector::String16; _Value = std::pair<const v8_inspector::String16, std::vector<int> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<v8_inspector::String16>; _Hash = std::hash<v8_inspector::String16>; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits<true, false, true>]' is implicitly deleted because the default definition would be ill-formed: :info:build 1674 | _Hashtable_base() = default; :info:build | ^~~~~~~~~~~~~~~ :info:build /opt/local/include/gcc12/c++/bits/hashtable_policy.h:1674:7: error: use of deleted function 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_Hash_code_base() [with _Key = v8_inspector::String16; _Value = std::pair<const v8_inspector::String16, std::vector<int> >; _ExtractKey = std::__detail::_Select1st; _Hash = std::hash<v8_inspector::String16>; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; bool __cache_hash_code = true]' :info:build /opt/local/include/gcc12/c++/bits/hashtable_policy.h: In instantiation of 'std::__detail::_Hashtable_ebo_helper<_Nm, _Tp, true>::_Hashtable_ebo_helper() [with int _Nm = 1; _Tp = std::hash<v8_inspector::String16>]': :info:build /opt/local/include/gcc12/c++/bits/hashtable_policy.h:1261:7: required from here :info:build /opt/local/include/gcc12/c++/bits/hashtable_policy.h:1178:49: error: use of deleted function 'std::hash<v8_inspector::String16>::hash()' :info:build 1178 | _Hashtable_ebo_helper() noexcept(noexcept(_Tp())) : _Tp() { } :info:build | ^~~~~ :info:build In file included from /opt/local/include/gcc12/c++/bits/unique_ptr.h:38, :info:build from /opt/local/include/gcc12/c++/memory:75, :info:build from ../deps/v8/src/inspector/injected-script.h:34: :info:build /opt/local/include/gcc12/c++/bits/functional_hash.h:102:12: note: 'std::hash<v8_inspector::String16>::hash()' is implicitly deleted because the default definition would be ill-formed: :info:build 102 | struct hash : __hash_enum<_Tp> :info:build | ^~~~ :info:build /opt/local/include/gcc12/c++/bits/functional_hash.h:102:12: error: no matching function for call to 'std::__hash_enum<v8_inspector::String16, false>::__hash_enum()' :info:build /opt/local/include/gcc12/c++/bits/functional_hash.h:83:7: note: candidate: 'std::__hash_enum<_Tp, <anonymous> >::__hash_enum(std::__hash_enum<_Tp, <anonymous> >&&) [with _Tp = v8_inspector::String16; bool <anonymous> = false]' :info:build 83 | __hash_enum(__hash_enum&&); :info:build | ^~~~~~~~~~~ :info:build /opt/local/include/gcc12/c++/bits/functional_hash.h:83:7: note: candidate expects 1 argument, 0 provided :info:build /opt/local/include/gcc12/c++/bits/functional_hash.h:102:12: error: 'std::__hash_enum<_Tp, <anonymous> >::~__hash_enum() [with _Tp = v8_inspector::String16; bool <anonymous> = false]' is private within this context :info:build 102 | struct hash : __hash_enum<_Tp> :info:build | ^~~~ :info:build /opt/local/include/gcc12/c++/bits/functional_hash.h:84:7: note: declared private here :info:build 84 | ~__hash_enum(); :info:build | ^ :info:build /opt/local/include/gcc12/c++/bits/hashtable_policy.h:1261:7: note: 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Hash, _RangeHash, _Unused, __cache_hash_code>::_Hash_code_base() [with _Key = v8_inspector::String16; _Value = std::pair<const v8_inspector::String16, std::vector<int> >; _ExtractKey = std::__detail::_Select1st; _Hash = std::hash<v8_inspector::String16>; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; bool __cache_hash_code = true]' is implicitly deleted because the default definition would be ill-formed: :info:build 1261 | _Hash_code_base() = default; :info:build | ^~~~~~~~~~~~~~~ :info:build /opt/local/include/gcc12/c++/bits/hashtable_policy.h:1261:7: error: use of deleted function 'std::__detail::_Hashtable_ebo_helper<1, std::hash<v8_inspector::String16>, true>::~_Hashtable_ebo_helper()' :info:build /opt/local/include/gcc12/c++/bits/hashtable_policy.h:1175:12: note: 'std::__detail::_Hashtable_ebo_helper<1, std::hash<v8_inspector::String16>, true>::~_Hashtable_ebo_helper()' is implicitly deleted because the default definition would be ill-formed: :info:build 1175 | struct _Hashtable_ebo_helper<_Nm, _Tp, true> :info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /opt/local/include/gcc12/c++/bits/hashtable_policy.h:1175:12: error: use of deleted function 'std::hash<v8_inspector::String16>::~hash()' :info:build /opt/local/include/gcc12/c++/bits/functional_hash.h:102:12: note: 'std::hash<v8_inspector::String16>::~hash()' is implicitly deleted because the default definition would be ill-formed: :info:build 102 | struct hash : __hash_enum<_Tp> :info:build | ^~~~ :info:build /opt/local/include/gcc12/c++/bits/functional_hash.h:102:12: error: 'std::__hash_enum<_Tp, <anonymous> >::~__hash_enum() [with _Tp = v8_inspector::String16; bool <anonymous> = false]' is private within this context :info:build /opt/local/include/gcc12/c++/bits/functional_hash.h:84:7: note: declared private here :info:build 84 | ~__hash_enum(); :info:build | ^