[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO
markus at trippelsdorf dot de
gcc-bugzilla@gcc.gnu.org
Wed Mar 9 21:45:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
--- Comment #58 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-03-09 21:45:10 UTC ---
> How do you do this with "make -f client.mk profiledbuild"?
To answer my own question:
Just edit ./configure and ./js/src/configure and add
"-flto=4 -fwhole-program" (or whatever you may prefer)
to the PROFILE_USE_CFLAGS variable.
Then you can build Firefox with "make -f client.mk profiledbuild".
BTW libmozsqlite3.so still gets miscompiled, but Firefox is
now snappy as never before ;-)
More information about the Gcc-bugs
mailing list