https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86654
--- Comment #16 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Martin Liška from comment #13) > Just for record, building Firefox w/ GCC 8.1 w/o LTO produces: > > VM SIZE FILE SIZE > -------------- -------------- > 0.0% 0 .debug_info 978Mi 48.5% > 0.0% 0 .debug_loc 460Mi 22.8% > 0.0% 0 .debug_str 158Mi 7.9% > 0.0% 0 .debug_ranges 132Mi 6.6% > 0.0% 0 .debug_line 111Mi 5.5% > 67.7% 74.9Mi .text 74.9Mi 3.7% > 0.0% 0 .strtab 37.8Mi 1.9% > 0.0% 0 .symtab 14.1Mi 0.7% > 0.0% 0 .debug_abbrev 11.4Mi 0.6% > 7.9% 8.75Mi .eh_frame 8.75Mi 0.4% > 7.7% 8.47Mi .rela.dyn 8.47Mi 0.4% > 7.7% 8.47Mi .rodata 8.47Mi 0.4% > 3.8% 4.20Mi .data.rel.ro 4.20Mi 0.2% > 1.9% 2.05Mi .eh_frame_hdr 2.05Mi 0.1% > 1.5% 1.65Mi .dynstr 1.65Mi 0.1% > 0.9% 1.04Mi [Other] 1.33Mi 0.1% > 0.0% 0 .debug_aranges 1.29Mi 0.1% > 0.6% 650Ki .bss 0 0.0% > 0.4% 413Ki .dynsym 413Ki 0.0% > 0.0% 0 .debug_pubtypes 349Ki 0.0% > 0.0% 15 [None] 0 0.0% > 100.0% 110Mi TOTAL 1.97Gi 100.0% When running dwz on that: bloaty libxul.so VM SIZE FILE SIZE -------------- -------------- 0.0% 0 .debug_info 629Mi 37.8% 0.0% 0 .debug_loc 460Mi 27.6% 0.0% 0 .debug_str 158Mi 9.5% 0.0% 0 .debug_ranges 132Mi 8.0% 0.0% 0 .debug_line 111Mi 6.7% 67.7% 74.9Mi .text 74.9Mi 4.5% 0.0% 0 .strtab 37.8Mi 2.3% 0.0% 0 .symtab 14.1Mi 0.8% 0.0% 0 .debug_abbrev 10.3Mi 0.6% 7.9% 8.75Mi .eh_frame 8.75Mi 0.5% 7.7% 8.47Mi .rela.dyn 8.47Mi 0.5% 7.7% 8.47Mi .rodata 8.47Mi 0.5% 3.8% 4.20Mi .data.rel.ro 4.20Mi 0.3% 1.9% 2.05Mi .eh_frame_hdr 2.05Mi 0.1% 1.5% 1.65Mi .dynstr 1.65Mi 0.1% 0.0% 0 .debug_aranges 1.29Mi 0.1% 0.7% 805Ki [Other] 815Ki 0.0% 0.6% 650Ki .bss 0 0.0% 0.4% 413Ki .dynsym 413Ki 0.0% 0.2% 255Ki .rela.plt 255Ki 0.0% 0.0% 15 [None] 0 0.0% 100.0% 110Mi TOTAL 1.63Gi 100.0% I'll test LTO build as well.