public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3839: Link error "undefined reference to `non-virtual thunk"
@ 2001-07-31 2:03 nathan
0 siblings, 0 replies; 2+ messages in thread
From: nathan @ 2001-07-31 2:03 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, us
Synopsis: Link error "undefined reference to `non-virtual thunk"
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Tue Jul 31 02:03:44 2001
State-Changed-Why:
without source, we cannot work on the bug report. But
using my psychic powers, I predict that I have fixed this
bug in 3.0.1
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3839&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/3839: Link error "undefined reference to `non-virtual thunk"
@ 2001-07-27 6:26 us
0 siblings, 0 replies; 2+ messages in thread
From: us @ 2001-07-27 6:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 3839
>Category: c++
>Synopsis: Link error "undefined reference to `non-virtual thunk"
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 27 06:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Uwe Seimet
>Release: 3.0.1 20010727 (prerelease)
>Organization:
>Environment:
System: Linux duplo 2.4.6 #4 SMP Mon Jul 23 10:29:37 MEST 2001 i686 unknown
Architecture: i686
<machine, os, target, libraries (multiple lines)>
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/us/egcs/gcc-3.01/configure --prefix=/opt/gcc-3.01 --enable-shared --enable-threads --enable-languages=c++
>Description:
Linking our C++ code gives error messages like this:
../../lib/libIDL.so: undefined reference to `non-virtual thunk to PortableServer::ServantBase::_non_existent()'
../../lib/libIDL.so: undefined reference to `non-virtual thunk to PortableServer::ServantBase::_get_interface()'
../../lib/libIDL.so: undefined reference to `virtual thunk to PortableServer::RefCountServantBase::_add_ref()'
The same code links fine when being compiled with GCC 2.95.3
and the native compilers of Solaris, HP-UX, OSF/1, AIX, ...,
which is why we think this is a bug in gcc 3.0.
I'm sorry that I cannot provide sample code because our
project is simply too large to provide a small example that
reproduces this.
(BTW, what is a virtual thunk?)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-31 2:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-31 2:03 c++/3839: Link error "undefined reference to `non-virtual thunk" nathan
-- strict thread matches above, loose matches on Subject: below --
2001-07-27 6:26 us
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).