public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vz-gdb at zeitlins dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug c++/9541] Bogus "warning: can't find linker symbol for virtual table for 'Foo' value" messages
Date: Thu, 29 Nov 2012 20:03:00 -0000	[thread overview]
Message-ID: <bug-9541-4717-TnUvWkFM9y@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <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.


  parent reply	other threads:[~2012-11-29 20:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-9541-4717@http.sourceware.org/bugzilla/>
2012-11-28 17:43 ` tromey at redhat dot com
2012-11-28 19:26 ` vz-gdb at zeitlins dot org
2012-11-28 20:22 ` tromey at redhat dot com
2012-11-29 20:03 ` vz-gdb at zeitlins dot org [this message]
2013-03-06 20:05 ` tromey at redhat 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-9541-4717-TnUvWkFM9y@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.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: link
Be 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).