From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by sourceware.org (Postfix) with ESMTP id CC6643986413 for ; Fri, 15 Jan 2021 16:17:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CC6643986413 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-432-vMzclzKcPKepuB6zKApGWw-1; Fri, 15 Jan 2021 11:17:03 -0500 X-MC-Unique: vMzclzKcPKepuB6zKApGWw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8DE5F84E240; Fri, 15 Jan 2021 16:17:02 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-112-64.ams2.redhat.com [10.36.112.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 062DD779D1; Fri, 15 Jan 2021 16:17:01 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 10FGGxDF2991975 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 15 Jan 2021 17:17:00 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 10FGGwXH2991974; Fri, 15 Jan 2021 17:16:58 +0100 Date: Fri, 15 Jan 2021 17:16:58 +0100 From: Jakub Jelinek To: Mark Wielaard Cc: gcc-patches@gcc.gnu.org Subject: Re: BoF DWARF5 patches (25% .debug section size reduction) Message-ID: <20210115161658.GH1034503@tucnak> Reply-To: Jakub Jelinek References: <20200824125658.22526-1-mark@klomp.org> <2707e3e008d96fc5e60fbd32ca4175b951fad7dd.camel@klomp.org> <20200909195754.GA3734@wildebeest.org> <20200910111657.GY18149@tucnak> <617961ca9e9552071f821aec72b0f12eb2e5c15f.camel@klomp.org> <0c62296bfe3c7fefa9dc7b8c003e26ea91501165.camel@klomp.org> MIME-Version: 1.0 In-Reply-To: <0c62296bfe3c7fefa9dc7b8c003e26ea91501165.camel@klomp.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2021 16:17:07 -0000 On Sun, Nov 15, 2020 at 11:41:24PM +0100, Mark Wielaard wrote: > On Tue, 2020-09-29 at 15:56 +0200, Mark Wielaard wrote: > > On Thu, 2020-09-10 at 13:16 +0200, Jakub Jelinek wrote: > > > On Wed, Sep 09, 2020 at 09:57:54PM +0200, Mark Wielaard wrote: > > > > --- a/gcc/doc/invoke.texi > > > > +++ b/gcc/doc/invoke.texi > > > > @@ -9057,13 +9057,14 @@ possible. > > > > @opindex gdwarf > > > > Produce debugging information in DWARF format (if that is supported). > > > > The value of @var{version} may be either 2, 3, 4 or 5; the default version > > > > -for most targets is 4. DWARF Version 5 is only experimental. > > > > +for most targets is 5 (with the exception of vxworks and darwin which > > > > +default to version 2). > > > > > > I think in documentation we should spell these VxWorks and Darwin/Mac OS X > > > > OK. As attached. > > > > Are we ready to flip the default to 5? > > Ping. It would be good to get this in now so that we can fix issues (if > any) with the DWARF5 support in the general bugfixing stage 3. > > Thanks, > > Mark > From c04727b6209ad4d52d1b9ba86873961bda0e1724 Mon Sep 17 00:00:00 2001 > From: Mark Wielaard > Date: Tue, 29 Sep 2020 15:52:44 +0200 > Subject: [PATCH] Default to DWARF5 > > gcc/ChangeLog: > > * common.opt (gdwarf-): Init(5). > * doc/invoke.texi (-gdwarf): Document default to 5. Ok for trunk. Jakub