This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: other/4878: gcc 3.0.2 output crashes HP-UX linker
- From: Harri Porten <porten at trolltech dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Nov 2001 18:35:22 +0100 (CET)
- Subject: Re: other/4878: gcc 3.0.2 output crashes HP-UX linker
[Get raw message]
On Wed, 14 Nov 2001, John David Anglin wrote:
> > >How-To-Repeat:
> > g++ -shared -fPIC crash.cpp
>
> Adding -Wl,-v to the above g++ command somehow prevents ld from dumping
> core and provides this bit of additional information:
Thanks for the hint. Doesn't produce any lib output either, does it ?
> ...
> Searching library /usr/lib/milli.a:
> /usr/ccs/bin/ld: Unsatisfied symbols:
> vtable for W(data)
> vtable for X(data)
> vtable for Y(data)
> W::foo() (code)
> X::~X() (code)
Unlike the example program my project doesn't seem to have any of these
obvious defects.
> non-virtual thunk to W::foo()(data)
But dozens of those. Might be related to #4135. No idea.
Thanks,
Harri.