https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65886
--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Thiago Macieira from comment #23) > $ pmap `pidof qtcreator` | perl -ne '@_ = split / +/; if ($_[6] eq "r-xp" && > $_[7] !~ /\[/) { $_[1] =~ s/K//; $total += $_[1]; $bin = $_[1] unless $bin; > } END { print "$bin $total\n"; }' > 72 166164 > > That is, the size of the binary's text segment is 72k and the size of all > the library's text segments is 162 MB (granted, this includes .rodata > sections). > > My assertion is that keeping copy relocations is optimising for 0.05% of the > codebase. You can't judge everything from these numbers, just because KDE for some reason decides to use very small binaries. Many programs have much larger binaries, especially if they care about performance.