From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Errors building from master with a clean repository Date: Tue, 23 Apr 2019 09:05:23 +0300 Message-ID: <838sw15k9o.fsf@gnu.org> References: <87ef5z9l23.fsf@gmail.com> <7db3cae7-794c-83d6-b8f4-f0ec000d1674@cs.ucla.edu> <83o951b29x.fsf@gnu.org> <58b59f1d-94ee-cffc-f711-b4fdcdb0b471@cs.ucla.edu> <83a7gi8ovg.fsf@gnu.org> <84279731-9572-de3c-4806-a7c52fb79fee@cs.ucla.edu> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="240949"; mail-complaints-to="usenet@blaine.gmane.org" Cc: agrambot@gmail.com, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 23 08:16:26 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIojB-0010Zh-C3 for ged-emacs-devel@m.gmane.org; Tue, 23 Apr 2019 08:16:25 +0200 Original-Received: from localhost ([127.0.0.1]:48763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIojA-0006CV-4f for ged-emacs-devel@m.gmane.org; Tue, 23 Apr 2019 02:16:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIoiy-00068h-32 for emacs-devel@gnu.org; Tue, 23 Apr 2019 02:16:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIoYf-0001DI-5P; Tue, 23 Apr 2019 02:05:33 -0400 Original-Received: from [176.228.60.248] (port=1601 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hIoYb-0002oP-Tl; Tue, 23 Apr 2019 02:05:31 -0400 In-reply-to: <84279731-9572-de3c-4806-a7c52fb79fee@cs.ucla.edu> (message from Paul Eggert on Mon, 22 Apr 2019 17:31:44 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:235798 Archived-At: > Cc: agrambot@gmail.com, emacs-devel@gnu.org > From: Paul Eggert > Date: Mon, 22 Apr 2019 17:31:44 -0700 > > No, I was merely assuming that -gdwarf-4 is good enough to debug Emacs; > -gdwarf-5 is still marked as "experimental" in GCC 8's doc, and I > haven't used -gdwarf-5. If there's a significant advantage to using > -gdwarf-5 then discussion of it should be added to etc/DEBUG. In the > meantime I tried to improve the wording about this, in the attached patch. > > > > I think this section could greatly benefit from a short explanation > > what "undefined behavior" means, or a couple of examples of it. > > It's hard to be brief as -fsanitize=undefined is a bit tricky, but I > took a shot at it by installing the attached. Thanks, these are very useful additions, IMO.