http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60566
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Markus Trippelsdorf from comment #4) > 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". So, can you perhaps with the part_good.s put a breakpoint on the 2 dtors and 4 thunks to those, and see if they are ever called during the startup of Okular? For the 2 dtors perhaps always look at the caller if it was a direct call or call through vtable?