Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[clarified] cpp-11->12 - 26 -> 199 MB

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

[clarified] cpp-11->12 - 26 -> 199 MB

#1 Post 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.
Last edited by L_V on 2022-09-01 06:34, edited 1 time in total.

lindi
Debian Developer
Debian Developer
Posts: 412
Joined: 2022-07-12 14:10
Has thanked: 1 time
Been thanked: 77 times

Re: cpp-11->12 - 26 -> 199 MB

#2 Post 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

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: cpp-11->12 - 26 -> 199 MB

#3 Post 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.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: cpp-11->12 - 26 -> 199 MB

#4 Post 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...
deadbang

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: cpp-11->12 - 26 -> 199 MB

#5 Post 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.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: cpp-11->12 - 26 -> 199 MB

#6 Post 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

Post Reply