Hacker News new | ask | show | jobs
by jquast 3157 days ago
Please Arch Linux developers: stop stripping all packages of debug symbols
2 comments

If you build packages yourself, one can either include debug info, or generate a split package that includes debug info.

The piece that may still be missing is the inclusion of source code in debug packages, which is necessary to get any context for a debug session (it is not sufficient to seek out and clone random git repos because of versioning & patching differences).

But ideally, there would be a `-debug` package for every package in arch's repos, and one would not need to build them manually when debug symbols are needed. Arch does not have this.

Isn't it a common practice to strip, but keep them in separately published files that only contain symbols?
It is, in linux distros at large. Arch, however, does not publish (or even generate) those debug files (which contain the debug info & symbols that were stripped out).
That's how Fedora/EL does it at least. GDB even tells you what debug info packages are missing