On Sun, Nov 15, 2020 at 07:11:02AM -0800, Vitalio wrote:
> No need to call edit_dwarf2() if debugedit is invoked just to extract
> build-id (with `-i -n').

Yes, but you also have to check base_dir && dest_dir aren't set.

> Otherwise, we will get `DWARF version 0
> unhandled' warning for compressed .debug files:
> 
>   /usr/lib/rpm/debugedit: ./usr/lib/debug/...e.ko.debug: DWARF version 0 
> unhandled
> 
> Context: We have kernel modules elfcompressed in ALT.

In general debugedit doesn't handle compressed ELF sections at the
moment.  You could do as Fedora does and run eu-elfcompress -t none on
the file first to make sure it doesn't contain any compressed ELF
sections.

Cheers,

Mark

_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to