This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/45375] Mozilla does not build with LTO
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Aug 2010 12:48:20 -0000
- Subject: [Bug lto/45375] Mozilla does not build with LTO
- References: <bug-45375-176@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from hubicka at gcc dot gnu dot org 2010-08-22 12:48 -------
mozconfig I use:
export CC="gcc -flto -fuse-linker-plugin"
export CXX="g++ -fwhopr=24 -fuse-linker-plugin -fpermissive"
#export CXX="/builds/slave/tryserver-linux/build/gcc/bin/g++ -fwhopr=16
#-fuse-linker-plugin -static-libstdc++ -fpermissive"
ac_add_options --enable-application=browser
ac_add_options --enable-libxul
#ac_add_options --enable-debug
ac_add_options --enable-optimize
ac_add_options --disable-tests
#ac_add_options --enable-debug-symbols
export LDFLAGS="-Wl,--no-keep-memory"
mk_add_options MOZ_MAKE_FLAGS=-j24
mk_add_options MOZ_OBJDIR=/build-mozilla-scratch-O1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375