From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64708 invoked by alias); 17 Mar 2019 09:53:13 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 64646 invoked by uid 48); 17 Mar 2019 09:53:10 -0000 From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/24354] New: Failure to compress causes EXIT_FAILURE in multifile mode Date: Tue, 01 Jan 2019 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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 X-SW-Source: 2019-q1/txt/msg00146.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24354 Bug ID: 24354 Summary: Failure to compress causes EXIT_FAILURE in multifile mode Product: dwz Version: unspecified Status: NEW Severity: normal Priority: P2 Component: default Assignee: nobody at sourceware dot org Reporter: vries at gcc dot gnu.org CC: dwz at sourceware dot org Target Milestone: --- When running dwz twice, the second time it does not not manage to compress further, but the exit status is still 0: ... $ gcc -g hello.c=20 $ cp a.out 1 $ dwz 1 $ echo $? 0 $ dwz 1 dwz: 1: DWARF compression not beneficial - old size 3466 new size 3466 $ echo $? 0 ... OTOH, if we try this in multifile mode, we get an exit status of 1 instead: ... $ cp a.out 1 $ cp a.out 2 $ dwz 1 2 $ echo $? 0 $ dwz -m 3 1 2 dwz: 1: DWARF compression not beneficial - old size 3466 new size 3466 dwz: 2: DWARF compression not beneficial - old size 3466 new size 3466 $ echo $? 1 ... --=20 You are receiving this mail because: You are on the CC list for the bug.