From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (wildebeest.demon.nl [212.238.236.112]) by sourceware.org (Postfix) with ESMTPS id 8E1B2385701F for ; Tue, 23 Mar 2021 14:50:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8E1B2385701F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mark@klomp.org Received: from tarox.wildebeest.org (tarox.wildebeest.org [172.31.17.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 5BE2B302FB96; Tue, 23 Mar 2021 15:50:23 +0100 (CET) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id 3F784413CEBD; Tue, 23 Mar 2021 15:50:23 +0100 (CET) Message-ID: <73cf124bdde70886084ef946f197c4d914a1cf9d.camel@klomp.org> Subject: Re: [PATCH] Add --dwz-single-file-mode argument for find-debuginfo.sh. From: Mark Wielaard To: Martin =?UTF-8?Q?Li=C5=A1ka?= , debugedit@sourceware.org Date: Tue, 23 Mar 2021 15:50:23 +0100 In-Reply-To: <1bab6d9a-67d3-3ec1-af8e-d002cd1508d4@suse.cz> References: <1bab6d9a-67d3-3ec1-af8e-d002cd1508d4@suse.cz> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.28.5 (3.28.5-10.el7) Mime-Version: 1.0 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: debugedit@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: debugedit development mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 14:50:25 -0000 Hi Martin, On Tue, 2021-03-23 at 15:09 +0100, Martin Li=C5=A1ka wrote: > Sometime it's handy to disable multi-file mode and the patch > adds option for that: --dwz-single-file-mode. >=20 > It will be used in openSUSE for packages that use baselibs.conf > mechanism. >=20 > The patch was already approved in rpm pull request: > https://github.com/rpm-software-management/rpm/pull/1579 >=20 > Signed-off-by: Martin Liska The patch didn't fully translate from the rpm git repo to the debugedit repo, but I figured out how to apply it anyway. I added a "dwz (1)" to the documentation for -m. It seems a useful option, so I pushed it. I think if you do/set this then you can simply not create the .dwz directory (which would later be removed because empty) and you could in theory run the dwz instances in parallel with separate dwz invocations. But note that find-debuginfo.sh isn't fully integrated yet into debugedit. It still contains various dependencies on rpm, see=20 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27637 it doesn't have proper --usage/help support and it doesn't have a testsuite yet. Cheers, Mark