gcc -ffunction-sections -Wl,--gc-sections

Jan Kratochvil jan.kratochvil at redhat.com
Thu Mar 24 14:00:33 UTC 2011


Hi,

just tried -ffunction-sections -Wl,--gc-sections on F15 xulrunner and got
libxul.so 24947928 -> 23631640 (5.28% gain) and it still works.

ld.gold --icf is a different optimization but that one requires gold.

Are there some serious Bugs why Fedora is not using it?


Thanks,
Jan


More information about the devel mailing list