public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: shulga@ftc.ru
To: gcc-gnats@gcc.gnu.org
Subject: c++/6690: Undefined symbol vtable
Date: Fri, 17 May 2002 03:36:00 -0000	[thread overview]
Message-ID: <20020517102953.17447.qmail@sources.redhat.com> (raw)


>Number:         6690
>Category:       c++
>Synopsis:       Undefined symbol vtable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Fri May 17 03:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     shulga@ftc.ru
>Release:        3.0.2
>Organization:
>Environment:
gcc -v
Reading specs from /usr/local/gcc302/lib/gcc-lib/sparc-sun-solaris2.6/3.0.2/specs
Configured with: ./configure --prefix=/usr/local/gcc302 --enable-languages=c,c++ --enable-threads=posix
Thread model: posix
gcc version 3.0.2

uname -a
SunOS cat 5.6 Generic_105181-29 sun4u sparc SUNW,Ultra-4
>Description:
$ gcc -o v.exe v.cc

Undefined			first referenced
 symbol  			    in file
vtable for _cxxabiv1::__si_class_type_info/var/tmp/ccer5z7H.o
vtable for __cxxabiv1::__class_type_info/var/tmp/ccer5z7H.o
ld: fatal: Symbol referencing errors. No output written to v.exe
collect2: ld returned 1 exit status
>How-To-Repeat:
class C1 {
public:
  virtual void draw(void);
};

void C1::draw(void) {}

class C2 : public C1 {
public:
  void draw(void);
};

void C2::draw(void) {}

int main()
{
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-05-17 10:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-17  3:36 shulga [this message]
2002-05-17  7:53 nathan

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=20020517102953.17447.qmail@sources.redhat.com \
    --to=shulga@ftc.ru \
    --cc=gcc-gnats@gcc.gnu.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).