This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/9541] Bogus "warning: can't find linker symbol for virtualtable for 'Foo' value" messages
- From: "vz-gdb at zeitlins dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 29 Nov 2012 20:03:04 +0000
- Subject: [Bug c++/9541] Bogus "warning: can't find linker symbol for virtualtable for 'Foo' value" messages
- Auto-submitted: auto-generated
- References: <bug-9541-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=9541
--- Comment #4 from vz-gdb at zeitlins dot org 2012-11-29 20:03:04 UTC ---
I can confirm that the problem still exists with 7.5.50.20121129-cvs version
(built from sources without any special configure options under bog standard
x64 Debian system). I didn't see it with wxWindow yet but just showing the
value of some random window pointer I see the following:
(gdb) p *this
$4 = (wxNumberEntryDialog) {
<wxDialog> = {
<wxDialogBase> = {
<wxTopLevelWindow> = {
<wxTopLevelWindowGTK> = {
<wxTopLevelWindowBase> = {
<wxNavigationEnabled<wxNonOwnedWindow>> = {
<wxNonOwnedWindow> = {
<wxNonOwnedWindowBase> = {
<wxWindow> = {
<wxWindowBase> = {
...
m_font = warning: can't find linker symbol for virtual
table for `wxFont' value
{
<wxFontBase> = {
<wxGDIObject> = {
<wxObject> = {
_vptr.wxObject = 0x67e510
<_ZTV6wxFont@@WXU_2.9+16>,
m_refData = 0x0
},
},
},
},
m_backgroundColour = warning: can't find linker symbol
for virtual table for `wxColour' value
{
<wxColourBase> = {
<wxGDIObject> = {
<wxObject> = {
_vptr.wxObject = 0x67b330
<_ZTV8wxColour@@WXU_2.9+16>,
m_refData = 0x0
},
}, <No data fields>},
},
...
(gdb) p this->m_font
$5 = warning: can't find linker symbol for virtual table for `wxFont' value
warning: can't find linker symbol for virtual table for `wxFont' value
{
<wxFontBase> = {
<wxGDIObject> = {
<wxObject> = {
_vptr.wxObject = 0x67e510 <_ZTV6wxFont@@WXU_2.9+16>,
m_refData = 0x0
},
},
},
}
AFAICS there is absolutely nothing special about wxFont and wxColour classes
compared to many others that it doesn't seem to have problems with.
Please let me know if there is anything else I can do to help finding this bug.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.