http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50394
--- Comment #15 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-09-19 16:09:23 UTC --- BTW since the exception seems to be thrown from libuno_cppuhelpergcc3.so.3 that sounds like there is some sort of gcc specific magic that has good chance to break with LTO, I would suggest to try to compile that dso w/o linktime (you only need to add -fno-use-linker-plugin -fno-lto) and hopefully we get past this issue? Honza