http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60566

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jason Merrill from comment #3)
> (In reply to Markus Trippelsdorf from comment #2)
> > --- part_good.s 2014-03-19 08:57:10.100342064 +0100
> > +++ part_bad.s  2014-03-19 08:56:50.134141664 +0100
> > -       .quad   _ZN6KParts13ReadWritePartD1Ev
> > -       .quad   _ZN6KParts13ReadWritePartD0Ev
> > +       .quad   __cxa_pure_virtual
> > +       .quad   __cxa_pure_virtual
> 
> I have trouble believing this is causing the problem you are seeing; if
> something were actually calling through this vtable slot it would write
> "pure virtual method called" to stderr and then terminate.

part.ii is part of a library called libkparts.so.4.12.3.
When I compile part.cpp with a compiler before r208573 and link the 
library (all other objects files for the lib are unchanged) and then install
the library to my system /usr/lib folder, Okular starts and works fine.

If I compile part.cpp with a compiler _after_ r208573 and link the 
library and install it, Okular shows a popup "Unable to find the Okular 
component".

Reply via email to