This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]