This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for C++14 sized deallocation
- From: Andreas Schwab <schwab at suse dot de>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 16 Dec 2014 17:42:21 +0100
- Subject: Re: C++ PATCH for C++14 sized deallocation
- Authentication-results: sourceware.org; auth=none
- References: <548F28D2 dot 5090505 at redhat dot com> <mvm7fxrkirz dot fsf at hawking dot suse dot de> <54904CDA dot 9060002 at redhat dot com>
Jason Merrill <jason@redhat.com> writes:
> On 12/16/2014 05:09 AM, Andreas Schwab wrote:
>> covariant4.C:(.text._ZN5ModelD2Ev[_ZN5ModelD5Ev]+0x1e): undefined reference to `operator delete(void*, unsigned int)'.
>
> Can you determine why this reference isn't being satisfied by libstdc++?
$ objdump -tC x86_64-suse-linux/32/libstdc++-v3/src/.libs/libstdc++.so.6.0.21 | grep 'operator delete'
0004fb30 g F .text 0000001d operator delete[](void*)
0004faf0 g F .text 0000001d operator delete(void*)
0004fb50 g F .text 0000001d operator delete[](void*, std::nothrow_t const&)
0004fb10 g F .text 0000001d operator delete(void*, std::nothrow_t const&)
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."