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

--- Comment #16 from Markus Trippelsdorf <markus at trippelsdorf dot de> 
2011-09-20 15:39:41 UTC ---
(In reply to comment #15)
> 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?

Unfortunately it's not that simple. It looks like several libraries in 
solver/unxlngx6.pro/lib are broken when they are build with LTO.

What I've done is to copy working libraries from a non LTO build into 
solver/unxlngx6.pro/lib, until soffice.bin no longer crashes.
But even "cp /lib_working/*gcc* solver/unxlngx6.pro/lib" isn't enough.

You have to look at the back-traces to get an idea about what to copy next.
And after copying many libs soffice.bin will no longer crash...

I haven't found out exactly what libs are affected yet, because I've copied
them in large chunks.

Reply via email to