http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
--- Comment #31 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-10 22:51:06 UTC --- Mozilla now builds with profile feedback and LTO. One needs to train without LTO (i.e. -fprofile-generate -O3 only) and then build with LTO (-fprofile-use -O3 -flto) becase of the aforementioned problems with undefined symbols. Resulting binary works, except for libmozsqlite that gets misoptimized (PR44897). http://gcc.gnu.org/ml/gcc-patches/2011-01/msg00375.html is still needed at the GCC side.