public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/101583] New: [12 Regression] error: use of deleted function when building gold Date: Thu, 22 Jul 2021 17:12:58 +0000 [thread overview] Message-ID: <bug-101583-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101583 Bug ID: 101583 Summary: [12 Regression] error: use of deleted function when building gold Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: redi at gcc dot gnu.org Target Milestone: --- Happens for the current binutils master: $ g++ 12.ii -c -m32 In file included from /usr/include/c++/12/unordered_set:46, from ../../gold/system.h:68, from ../../gold/gold.h:35, from ../../gold/ehframe.cc:23: /usr/include/c++/12/bits/hashtable.h: In instantiation of ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable(const _Hash&, const _Equal&, const allocator_type&) [with _Key = int; _Value = int; _Alloc = std::allocator<int>; _ExtractKey = std::__detail::_Identity; _Equal = gold::Output_merge_data::Merge_data_eq; _Hash = gold::Output_merge_data::Merge_data_hash; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, true, true>; std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::allocator_type = std::allocator<int>]’: /usr/include/c++/12/bits/hashtable.h:1148:32: required from ‘std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::_Hashtable(std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::size_type, const _Hash&, const _Equal&, const allocator_type&) [with _Key = int; _Value = int; _Alloc = std::allocator<int>; _ExtractKey = std::__detail::_Identity; _Equal = gold::Output_merge_data::Merge_data_eq; _Hash = gold::Output_merge_data::Merge_data_hash; _RangeHash = std::__detail::_Mod_range_hashing; _Unused = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, true, true>; std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::size_type = unsigned int; std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>::allocator_type = std::allocator<int>]’ /usr/include/c++/12/bits/unordered_set.h:149:9: required from ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&) [with _Value = int; _Hash = gold::Output_merge_data::Merge_data_hash; _Pred = gold::Output_merge_data::Merge_data_eq; _Alloc = std::allocator<int>; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type = unsigned int; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::hasher = gold::Output_merge_data::Merge_data_hash; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal = gold::Output_merge_data::Merge_data_eq; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::allocator_type = std::allocator<int>]’ ../../gold/merge.h:283:7: required from here /usr/include/c++/12/bits/hashtable.h:487:42: error: use of deleted function ‘std::_Enable_special_members<false, true, true, true, true, true, std::__detail::_Hash_node_base>::_Enable_special_members()’ In file included from /usr/include/c++/12/bits/hashtable.h:36, from /usr/include/c++/12/unordered_set:46, from ../../gold/system.h:68, from ../../gold/gold.h:35, from ../../gold/ehframe.cc:23: /usr/include/c++/12/bits/enable_special_members.h:99:10: note: ‘std::_Enable_special_members<false, true, true, true, true, true, std::__detail::_Hash_node_base>::_Enable_special_members()’ is implicitly deleted because the default definition would be ill-formed: /usr/include/c++/12/bits/enable_special_members.h:99:10: error: use of deleted function ‘constexpr std::_Enable_default_constructor<false, _Tag>::_Enable_default_constructor() [with _Tag = std::__detail::_Hash_node_base]’ /usr/include/c++/12/bits/enable_special_members.h:112:15: note: declared here
next reply other threads:[~2021-07-22 17:12 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-22 17:12 marxin at gcc dot gnu.org [this message] 2021-07-22 17:13 ` [Bug libstdc++/101583] " marxin at gcc dot gnu.org 2021-07-22 17:13 ` marxin at gcc dot gnu.org 2021-07-22 17:15 ` redi at gcc dot gnu.org 2021-07-22 18:40 ` cvs-commit at gcc dot gnu.org 2021-07-22 18:41 ` redi at gcc dot gnu.org 2021-10-13 23:50 ` arjan at linux dot intel.com 2021-10-14 8:02 ` redi at gcc dot gnu.org 2021-10-14 8:25 ` cvs-commit at gcc dot gnu.org 2021-10-14 8:26 ` redi at gcc dot gnu.org 2021-10-14 16:45 ` thiago at kde dot org 2021-11-26 16:34 ` cvs-commit at gcc dot gnu.org 2023-07-07 7:39 ` vital.had at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-101583-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).