http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
--- Comment #113 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-09-29 16:24:56 UTC --- Even with PR47247 solved, -fprofile-generate -flto build fails at libbrowsercomps.so.ltrans23.ltrans.o:libbrowsercomps.so.ltrans23.o:function _ZTV17gfxUnknownSurface.local.706.2371: error: undefined reference to '_ZN11gfxASurface13BeginPrintingERK9nsAStringS2_' -fprofile-generate -flto is stupid, since one can profile w/o LTO and get a lot faster build. (We also need 15GB for libxul link). Still it seems that we miss some optimization we ought not.