http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
--- Comment #111 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-09-27 20:48:19 UTC --- Mozilla now builds for me with slim LTO objects. I.e. with -flto=24 -fuse-linker-plugin -fno-fat-lto-objects One needs ar/nm/ranlib that works with slim LTO. I simply set PATH to directory with following scripts: jh@evans:/abuild/jh/trunk-install/bin> cat nm #!/bin/sh /usr/bin/nm --plugin /abuild/jh/trunk-install/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/liblto_plugin.so $* jh@evans:/abuild/jh/trunk-install/bin> cat ar #!/bin/sh cmd=$1 shift /abuild/jh/trunk-install/bin/ar-with-plugin $cmd --plugin /abuild/jh/trunk-install/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/liblto_plugin.so $* jh@evans:/abuild/jh/trunk-install/bin> cat ranlib #!/bin/sh jh@evans:/abuild/jh/trunk-install/bin> If I was not lazy to rebuild ranlib, I think it exists with plugin support now, too. Just disabling it was however equally easy. I will do some benchmarks about build time/disk usage. Resulting binary works too, BTW :)