https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86654
--- Comment #14 from rguenther at suse dot de <rguenther at suse dot de> --- On Wed, 25 Jul 2018, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86654 > > --- Comment #13 from Martin Liška <marxin at gcc dot gnu.org> --- > 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% If you throw dwz on it? It should be able to compress the early debug quite well (header file stuff)