Page 1 of 1
[clarified] cpp-11->12 - 26 -> 199 MB
Posted: 2022-08-12 12:17
by L_V
cpp-12 has been introduced in testing, and is a really huge/major update:
Code: Select all
cpp-11 Installed-Size: 26 MB
cpp-12 Installed-Size: 199 MB
I did not find any clatification @
GCC 12 Release Series - GNU Project to understand why cpp installed size has been multiplied by 8 !!
I will keep cpp-11 until clarification.
Is cpp-12 so bloated because still in development phase ?
Any explanation welcome.
Re: cpp-11->12 - 26 -> 199 MB
Posted: 2022-08-12 12:30
by lindi
The binary seems to contain debug symbols:
Code: Select all
./usr/lib/gcc/x86_64-linux-gnu/12/cc1: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=ba6c1b1894c3424c41e36a10dc2267cf4363d8f7, for GNU/Linux 3.2.0, with debug_info, not stripped
This has already been reported at
https://bugs.debian.org/cgi-bin/bugrepo ... ug=1015185
Re: cpp-11->12 - 26 -> 199 MB
Posted: 2022-08-12 12:45
by L_V
cpp-12 is the size of a base netinstall, or a complete OS like Slitaz/Slax with GUI environement.
Who really needs debug symbols of a C-preprocessor, if not a C developer ?
Really hope this cpp-12 will be cleaned for bookworm.
Re: cpp-11->12 - 26 -> 199 MB
Posted: 2022-08-12 16:03
by Head_on_a_Stick
L_V wrote: ↑2022-08-12 12:45Who really needs debug symbols of a C-preprocessor, if not a C developer ?
It's probably quite useful for a development branch. They're used to generate full backtraces of internal compiler errors in Debian.
L_V wrote: ↑2022-08-12 12:45Really hope this cpp-12 will be cleaned for bookworm.
Looks like cpp-8 was stripped for the buster release so I presume the same will happen for Debian 12 and whatever is pulled in by the cpp metapackage.
EDIT: bookworm is 12, isn't it? Versions are going up too fast...
Re: cpp-11->12 - 26 -> 199 MB
Posted: 2022-08-13 06:53
by L_V
Head_on_a_Stick wrote: ↑2022-08-12 16:03
EDIT: bookworm is 12, isn't it? Versions are going up too fast...
Yes confirmed; bookworm / 12 / testing.
Re: cpp-11->12 - 26 -> 199 MB
Posted: 2022-09-01 06:33
by L_V
cpp-11 Installed-Size: 26 MB
cpp-12 Installed-Size:
199 MB
now changed to
cpp-12 : 12.2.0-1 : Installed-Size:
34.7 MB , which seems more realistic.
Strip the cc* executables again. Closes: #1015185 / 22 Aug 2022