This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH for C++14 sized deallocation


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]