[pacman-dev] [PATCH] makepkg: optionally attach minimal debuginfo to binaries
jclw at jclw.de
Mon Feb 8 21:05:34 UTC 2016
Enabling the option provided by this patch when building official
packages would make it possible to get useful backtraces without the
hassle of rebuilding the affected package with debug symbols enabled.
I'm sure this would make some upstreams quite happy.
Fedora has had this since Fedora 18 (January 2013). Going by , the
increase in binary size should vary between 1-2% for normal packages
and up to 7% for complex packages like firefox. Because of
compression, the relative increase in package size would be larger
than that. I don't have numbers for this right now.
Using LC_ALL=C for the sort, awk and comm operations seemed like a
good idea, but I don't really know. I wanted to make sure this
feature works even when not generating separate -debug packages (which
probably won't get mirrored any time soon), hence the code surrounded
by 'if ! check_option "debug"'.
More information about the pacman-dev