News for hackers. Stuff that matters.
Re:Binaries by loeg on Monday December 29, 2025 @12:16PM (#46422798)
Yes, the 25GB figure in the article is basically irrelevant to the 2GB .text section concern. Most ELF files that size are 95%+ debuginfo.
Re:Binaries by jcelerier on Monday December 29, 2025 @06:28PM (#46427360)
yes and that's what I'm saying, I find it crazy to not split the debug info out. At least on my machine it really makes a noticeable difference of load time if I load a binary which is ~2GB with debug info in or the same binary which is ~100MB with debug info out.
Re:Binaries by Mic92 on Tuesday December 30, 2025 @07:21AM (#46432593)
Doesn't make any difference in practice. The debug info is never mapped into memory by the loader. This only matters if you want to store the two separate i.e lazy load debug symbols if needed.
Re:Binaries by jcelerier on Wednesday December 31, 2025 @03:40PM (#46448065)
this is just not true. I just tried with one of my binaries which is 3.2G unstripped, and 150MB-ish stripped. Unstripped takes 23 seconds until the window shows up, stripped takes ~a second
Re:Binaries by jeffbee on Wednesday December 31, 2025 @06:11PM (#46449320)
There is something wacky going on with your system, or the program is written in a way that makes it traverse the debug info if it is present. What program is it?

For example I can imagine desktop operating system antivirus/integrity checks having this effect.