This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/50394] [meta-bug] Issues with building libreoffice with LTO
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Sep 2011 09:38:57 +0000
- Subject: [Bug lto/50394] [meta-bug] Issues with building libreoffice with LTO
- Auto-submitted: auto-generated
- References: <bug-50394-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50394
--- Comment #19 from Jan Hubicka <hubicka at ucw dot cz> 2011-09-21 09:38:57 UTC ---
> # silent miscompiles; LO/OOo adds -O2/1/0 where appropriate
> filter-flags "-O*
>
> And because the effect of LTO is to fully optimize the important parts of
> a program and use -Os for the rest, this could explain the crashes.
GCC does not really bump up optimization levels and same heuristics is in
limited
degree applied w/o LTO as well. Debugging this seems quite important. Perhaps
hacking -fno-strict-aliasing in addition to -flto at linktime could be first
shot
to get working binary?