(In reply to Tom de Vries from comment #6) > (In reply to Richard Biener from comment #0) > > This blocks enabling compressed debuginfo sections in Factory. > > I wonder if using objcopy to compress the debug sections rather than the > linker might simplify things here. > > We could do the compression in find-debuginfo.sh, after debugedit and > dwz-compression, and then we have packages with compressed debug info, > without having to fix this debugedit PR and the corresponding dwz PR > (swo#24725). Hmm, yeah - this sounds like a neat way to circumvent some of the issues. I think RedHat also keeps some bare debug info to allow pretty backtraces in the binaries where compression could reduce the binary size penalty.