[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#998841: Large unstripped executables



Package: g++-11
Version: 11.2.0-10

g++-11 and gcc-11 packages contain large unstripped executables in
the /usr/lib/gcc/x86_64-linux-gnu/11 directory:

$ ls -l cc1 cc1plus lto1
-rwxr-xr-x 1 root root 143469520 Oct 21 10:17 cc1
-rwxr-xr-x 1 root root 154068040 Oct 21 10:17 cc1plus
-rwxr-xr-x 1 root root 139032416 Oct 21 10:17 lto1

$ file cc1 cc1plus lto1
cc1:     ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=7f18db1f7a591531a65a26e3189a54a03e1ba024, for GNU/Linux 3.2.0, not stripped
cc1plus: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=b116a320c0b9f34e940d972bd8ca284473ccd5d7, for GNU/Linux 3.2.0, not stripped
lto1:    ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=be45fc0c8bf395cb0edb400356601b116a31fdfe, for GNU/Linux 3.2.0, not stripped

That's almost 0.5GB of disk space which shrinks to 80MB of stripped.

Interestingly, other executables (both in this directory and in /usr/bin)
are stripped.


Reply to: