[Bug debugedit/31504] debugedit writes out ELF file even when nothing has been updated

allan at archlinux dot org sourceware-bugzilla@sourceware.org
Thu Mar 21 21:23:43 GMT 2024


https://sourceware.org/bugzilla/show_bug.cgi?id=31504

--- Comment #5 from Allan McRae <allan at archlinux dot org> ---
> I can add a check to see if there actually were any changes and if there aren't simply not call elf_update at all. But I suspect that is really a corner case that doesn't occur that often. At least why would you call debugedit explicitly asking to rewrite things and then expect it to not actually do that?

Our packaging system checks for ELF files and tries generating associated debug
packages with source files and debug symbols.  It turns out there are a lot of
packages that provide a .NET 8.0 self-contained/ single-file application, which
is and ELF file and did not enjoy being processed by debugedit.

The v2 patch fixes the issue we observed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Debugedit mailing list