From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7B70D3857003; Mon, 15 Mar 2021 15:51:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B70D3857003 From: "vvinayag at arm dot com" To: gdb-prs@sourceware.org Subject: =?UTF-8?B?W0J1ZyBidWlsZC8yNzU3OV0gc3RhcC1wcm9iZS5jIDogSW52YWxp?= =?UTF-8?B?ZCB1c2Ugb2YgaW5jb21wbGV0ZSB0eXBlIOKAmHN0cnVjdCBzdGQ6Omhhc2g8?= =?UTF-8?B?ZXhwX29wY29kZT7igJk=?= Date: Mon, 15 Mar 2021 15:51:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vvinayag at arm dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2021 15:51:34 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27579 --- Comment #4 from vvinayag at arm dot com --- Hi Tom, The previous patch fixes stap-probe.c and then the same issue happens in gdb/rust-exp.y. I will try the new patch. In file included from /usr/include/c++/4.8.2/bits/hashtable.h:35:0, from /usr/include/c++/4.8.2/unordered_map:47, from /src/binutils-gdb--gdb/gdb/rust-exp.y:45: /usr/include/c++/4.8.2/bits/hashtable_policy.h: In instantiation of =E2=80= =98struct std::__detail::_Hash_code_base (*)(std::unique_ptr&&, std::unique_ptr&&)>, std::__detail::_Select1st, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>=E2=80=99: /usr/include/c++/4.8.2/bits/hashtable_policy.h:1402:10: required from =E2= =80=98struct std::__detail::_Hashtable_base (*)(std::unique_ptr&&, std::unique_ptr&&)>, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >=E2=80=99 /usr/include/c++/4.8.2/bits/hashtable.h:174:11: required from =E2=80=98cl= ass std::_Hashtable (*)(std::unique_ptr&&, std::unique_ptr&&)>, std::allocator (*)(std::unique_ptr&&, std::unique_ptr&&)= > >, 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 >=E2=80=99 /usr/include/c++/4.8.2/bits/unordered_map.h:100:18: required from =E2=80= =98class std::unordered_map (*)(std::unique_ptr&&, std::unique_ptr&&)= >=E2=80=99 /src/binutils-gdb--gdb/gdb/rust-exp.y:2205:60: required from here /usr/include/c++/4.8.2/bits/hashtable_policy.h:1070:12: error: invalid use = of incomplete type =E2=80=98struct std::hash=E2=80=99 struct _Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, ^ In file included from /usr/include/c++/4.8.2/bits/basic_string.h:3033:0, from /usr/include/c++/4.8.2/string:52, from /usr/include/c++/4.8.2/stdexcept:39, from /usr/include/c++/4.8.2/array:38, from /usr/include/c++/4.8.2/tuple:39, from /usr/include/c++/4.8.2/functional:55, from /src/binutils-gdb--gdb/gdb/../gdbsupport/ptid.h:35, from /src/binutils-gdb--gdb/gdb/../gdbsupport/common-defs.h:123, from /src/binutils-gdb--gdb/gdb/defs.h:28, from /src/binutils-gdb--gdb/gdb/rust-exp.y:32: /usr/include/c++/4.8.2/bits/functional_hash.h:58:12: error: declaration of =E2=80=98struct std::hash=E2=80=99 struct hash; --=20 You are receiving this mail because: You are on the CC list for the bug.=