[Bug lto/50394] [meta-bug] Issues with building libreoffice with LTO
markus at trippelsdorf dot de
gcc-bugzilla@gcc.gnu.org
Tue Sep 20 16:58:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list