From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vmicros1.altlinux.org (vmicros1.altlinux.org [194.107.17.57]) by sourceware.org (Postfix) with ESMTP id 1FAC13857003 for ; Sun, 28 Mar 2021 00:46:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1FAC13857003 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ldv@altlinux.org Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 5501572C8C5; Sun, 28 Mar 2021 03:46:09 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 345967CC8A3; Sun, 28 Mar 2021 03:46:09 +0300 (MSK) Date: Sun, 28 Mar 2021 03:46:09 +0300 From: "Dmitry V. Levin" To: Mark Wielaard Cc: Vitaly Chikunov , debugedit@sourceware.org Subject: Re: [PATCH] tests: fix for toolchains producing compressed debug sections Message-ID: <20210328004608.GB20963@altlinux.org> References: <20210322200000.GA3531@altlinux.org> <20210323142852.GA15238@altlinux.org> <6d7325b924aa56456f19316f091c76bb34252991.camel@klomp.org> <20210324234548.GA5335@altlinux.org> <20210325231259.GJ2685@wildebeest.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210325231259.GJ2685@wildebeest.org> X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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: Sun, 28 Mar 2021 00:46:11 -0000 Hi Mark, On Fri, Mar 26, 2021 at 12:12:59AM +0100, Mark Wielaard wrote: > Hi Dmitry, > > On Thu, Mar 25, 2021 at 02:45:48AM +0300, Dmitry V. Levin wrote: > > On Tue, Mar 23, 2021 at 04:05:59PM +0100, Mark Wielaard wrote: > > > So we'll need configure checks for that and not use -gz=none and skip > > > the -gdwarf-5 tests when gcc isn't able to use those options. > > > > > I've prepared the following fix, but it seems to be too late now. > > I'll post it here anyway just in case. > > Sorry, I didn't know you were already working on this. Your version > does everything in debugedit.at which is nicely contained. But I think > doing it as configure checks might help if we need them somewhere > else. But you version tests the actual gcc command used in the > test. We probably need to use CC instead in the tests, so it equals > the build/target compiler. > > What do you think of the attached patch? It looks good, thanks. Those who want to use different CC/CFLAGS or LD/LDFLAGS would be able to edit tests/atlocal.in themselves. -- ldv