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: Sat, 20 Apr 2019 09:48:26 +0300 Message-ID: <83o951b29x.fsf@gnu.org> References: <87ef5z9l23.fsf@gmail.com> <7db3cae7-794c-83d6-b8f4-f0ec000d1674@cs.ucla.edu> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="141505"; 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 Sat Apr 20 09:00:12 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 1hHjyu-000agQ-3w for ged-emacs-devel@m.gmane.org; Sat, 20 Apr 2019 09:00:12 +0200 Original-Received: from localhost ([127.0.0.1]:37751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHjys-0001zB-NJ for ged-emacs-devel@m.gmane.org; Sat, 20 Apr 2019 03:00:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHjy1-0001wE-Dr for emacs-devel@gnu.org; Sat, 20 Apr 2019 02:59:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHjnl-00055N-Sp; Sat, 20 Apr 2019 02:48:41 -0400 Original-Received: from [176.228.60.248] (port=1463 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hHjnl-0006vI-ED; Sat, 20 Apr 2019 02:48:41 -0400 In-reply-to: <7db3cae7-794c-83d6-b8f4-f0ec000d1674@cs.ucla.edu> (message from Paul Eggert on Fri, 19 Apr 2019 18:05:35 -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:235688 Archived-At: > From: Paul Eggert > Date: Fri, 19 Apr 2019 18:05:35 -0700 > Cc: emacs-devel@gnu.org > > > ./configure --enable-checking=all --enable-check-lisp-object-type \ > > CFLAGS='-Og -gdwarf-4' > > --enable-checking=all hasn't worked for a while. Although your email prompted me > to write and install patches to fix multiple bugs in this area, the remaining > buggy suboptions --enablechecking=conslist and --enable-checking=xmallocoverrun > are more trouble than they're worth to fix, and should go. (GCC's > AddressSanitizer has made both options obsolete anyway.) Please try the two > attached patches and then try the above 'configure' line again. If we remove these options, let's have reasonably detailed instructions for how to use the alternatives. Because this, for example: > ++++ > +** The configure option '--enable-checking=conslist' has been withdrawn. > +It made Emacs irredeemably slow, and is no longer useful with modern > +debugging tools. is not detailed enough to be useful, unless one is already an expert in using the modern debugging tools. Can we please at least mention specific compiler options and any other tools that could be used instead of the built-in facilities we are removing? Bonus points for adding to etc/DEBUG a section with more details about the compiler options, tools, and techniques of using them for debugging specific Emacs problems for which these configure options were introduced. Thanks.