News for hackers. Stuff that matters.
Re:When Debug Symbols Get Large by Joker_vD on Thursday March 09, 2023 @01:27PM (#35084765)
Excuse me? On Windows, "C:\Program Files (x86)\Google\Chrome" takes 603 MiB only — and it contains a 295 MiB file called "chrome.7z" inside an "Installer" subdirectory. What does Linux distribution contains that takes the rest of the space?
Re:When Debug Symbols Get Large by nwallin on Thursday March 09, 2023 @02:08PM (#35085232)
That's not the Linux distribution, it's the source code. Straight from Google.

https://commondatastorage.googleapis.com/chromium-browser-of...

The compiled binary is much smaller:

     ~ $ du -h /usr/lib64/chromium-browser
    16K /usr/lib64/chromium-browser/MEIPreload
    360K /usr/lib64/chromium-browser/locales
    383M /usr/lib64/chromium-browser
Re:When Debug Symbols Get Large by Joker_vD on Thursday March 09, 2023 @02:40PM (#35085618)
Huh, so the size comparison actually goes "compiled binary" < "debug symbols" < "source code", interesting to know, thanks.
Re:When Debug Symbols Get Large by ddulaney on Thursday March 09, 2023 @04:16PM (#35086837)
Debug symbols are often larger than the original source code though. The main culprit is C++ template expansions, which can get crazy long.