From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA3323858C98; Thu, 21 Mar 2024 21:23:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA3323858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711056223; bh=K4+mnVL/LzAjK2QP6vBzdK5V1Hd7hwIOpcgCl4morY0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KT3qtWsKSbpdvArNelfRdRcJ1OgZjvMkXksCVFVsXqmDAep5v9FOEqRQyiSAe46q2 PdP4kyt/62xIYO8/hPInyR2Q0xV/NSh9uRPp9sj8f5ZB+eKnDQToQJq2YoYFu6U5vp PPLi5iPCbKtODLAb4S53SOzNF8fwHUlQPcBYrIKU= From: "allan at archlinux dot org" To: debugedit@sourceware.org Subject: [Bug debugedit/31504] debugedit writes out ELF file even when nothing has been updated Date: Thu, 21 Mar 2024 21:23:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: debugedit X-Bugzilla-Component: debugedit X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: allan at archlinux dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31504 --- Comment #5 from Allan McRae --- > 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 co= rner case that doesn't occur that often. At least why would you call debuge= dit 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 d= ebug 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, w= hich is and ELF file and did not enjoy being processed by debugedit. The v2 patch fixes the issue we observed. --=20 You are receiving this mail because: You are on the CC list for the bug.=