From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: New warnings on emacs-26 branch with gcc 8.2.0 Date: Mon, 06 Aug 2018 05:26:16 +0300 Message-ID: <83in4os01j.fsf@gnu.org> References: <86a7q0ai2z.fsf@gmail.com> <6d36dc4c-1e14-b6c8-e2f0-911d08f759e1@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1533522267 17232 195.159.176.226 (6 Aug 2018 02:24:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 02:24:27 +0000 (UTC) Cc: andrewjmoreton@gmail.com, Emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 06 04:24:23 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fmVC2-0004Qr-VC for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 04:24:23 +0200 Original-Received: from localhost ([::1]:60376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmVE9-0005Wv-LU for ged-emacs-devel@m.gmane.org; Sun, 05 Aug 2018 22:26:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmVE0-0005Wo-V5 for Emacs-devel@gnu.org; Sun, 05 Aug 2018 22:26:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmVDx-0003Vz-S9 for Emacs-devel@gnu.org; Sun, 05 Aug 2018 22:26:24 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmVDx-0003Vv-O5; Sun, 05 Aug 2018 22:26:21 -0400 Original-Received: from [176.228.60.248] (port=3087 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fmVDx-0008Bb-6v; Sun, 05 Aug 2018 22:26:21 -0400 In-reply-to: <6d36dc4c-1e14-b6c8-e2f0-911d08f759e1@cs.ucla.edu> (message from Paul Eggert on Sun, 5 Aug 2018 12:56:45 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:228203 Archived-At: > From: Paul Eggert > Date: Sun, 5 Aug 2018 12:56:45 -0700 > > > cc1.exe: warning: -Wabi won't warn about anything [-Wabi] > > cc1.exe: note: -Wabi warns about differences from the most up-to-date ABI, which is also used by default > > cc1.exe: note: use e.g. -Wabi=11 to warn about changes from GCC 7 > > I noticed this problem a while ago on Fedora in several GNU projects, and fixed > it for Emacs master in commit 2018-06-30T00:31:04!eggert@cs.ucla.edu. > > To avoid the problem entirely in the emacs-26 I'd run admin/merge-gnulib and > update everything from Gnulib as it's not worth the trouble to cherry-pick these > sorts of fixes from master. If we'd rather not do admin/merge-gnulib, then we > can just suggest './configure --disable-gcc-warnings' and/or 'make > WERROR_CFLAGS=' to emacs-26 developers; either of these should work around the > problem. (Builders from tarballs needn't worry about this, as GCC warnings are > disabled for them by default.) Since this warning is disabled when building the tarball, I'd like to avoid excessive changes on its behalf. Would it make sense instead to disable -Wabi on emacs-26? If not, I'd leave these warnings alone.