On 7/18/23 17:18, Cordell Bloor wrote:
On 7/18/23 13:25, M. Zhou wrote:
If it was caused by library size, can "-gsplit-dwarf" help?It seems not.
Would there be any downsize to compiling with -gz and then skipping dh_dwz? If we tell clang to compress the debug symbols, the binary will be much smaller at link-time than if we let dwz do it in a post-processing step.
Maybe it's not so bad to just disable dh_dwz. I see that Adrian Bunk has raised this question more generally in "debhelper: Should dh_dwz be dropped?" [1].
Sincerely,
Cory Bloor
[1]: https://bugs.debian.org/1016536