From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79993 invoked by alias); 6 Mar 2019 17:53:08 -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 79549 invoked by uid 89); 6 Mar 2019 17:53:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_00,DNS_FROM_AHBL_RHSBL,SPF_HELO_PASS,TIME_LIMIT_EXCEEDED,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 spammy= X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,DNS_FROM_AHBL_RHSBL,SPF_HELO_PASS,TIME_LIMIT_EXCEEDED,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: mx1.redhat.com Date: Tue, 01 Jan 2019 00:00:00 -0000 From: Jakub Jelinek To: Tom de Vries Cc: dwz@sourceware.org Subject: Re: [PATCH] Don't dwz-compress file with compressed debug section Message-ID: <20190306175251.GK7611@tucnak> Reply-To: Jakub Jelinek References: <20190306153100.GA32623@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190306153100.GA32623@delia> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Wed, 06 Mar 2019 17:52:56 +0000 (UTC) X-SW-Source: 2019-q1/txt/msg00076.txt.bz2 On Wed, Mar 06, 2019 at 04:31:07PM +0100, Tom de Vries wrote: > Hi, > > When running dwz with an executable containing compressed debug sections we > get: > ... > $ gcc -g ~/hello.c > $ objcopy --compress-debug-sections a.out > $ dwz a.out > dwz: a.out: DWARF version 0 unhandled > ... > > Fix this by emitting an appropriate error message: > ... > dwz: a.out: Found compressed .debug_aranges section, not attempting dwz \ > compression > ... > > OK for trunk? > > Thanks, > - Tom > > Don't dwz-compress file with compressed debug section > > 2019-02-14 Tom de Vries > > PR dwz/24174 > * dwz.c (read_dwarf): Return 1 on finding compressed debug section. > * testsuite/dwz.tests/pr24174.sh: New test. LGTM, thanks. Jakub