From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46495: 28.0.50; [native-comp] Build fails for 32bit --with-wide-int Date: Wed, 31 Mar 2021 15:27:46 +0300 Message-ID: <83eefvik3h.fsf@gnu.org> References: <865z2p0zrq.fsf@gmail.com> <86pn0w59nj.fsf@gmail.com> <83y2eap33a.fsf@gnu.org> <83lfa6kl8s.fsf@gnu.org> <83h7ktlwuy.fsf@gnu.org> <65e12b1d547420e10a19cdad6a33198926abb527.camel@redhat.com> <8335wdknbw.fsf@gnu.org> <83im58k8rb.fsf@gnu.org> <83o8eziw5j.fsf@gnu.org> <83ft0bim95.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16689"; mail-complaints-to="usenet@ciao.gmane.io" Cc: andrewjmoreton@gmail.com, dmalcolm@redhat.com, 46495@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 31 14:28:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRZxA-0004CN-Jp for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Mar 2021 14:28:08 +0200 Original-Received: from localhost ([::1]:36956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRZx9-0000pE-LW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Mar 2021 08:28:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRZx3-0000oo-VT for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 08:28:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRZx3-0000b3-OH for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 08:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRZx3-0001JN-KH for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 08:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Mar 2021 12:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46495 X-GNU-PR-Package: emacs Original-Received: via spool by 46495-submit@debbugs.gnu.org id=B46495.16171936635017 (code B ref 46495); Wed, 31 Mar 2021 12:28:01 +0000 Original-Received: (at 46495) by debbugs.gnu.org; 31 Mar 2021 12:27:43 +0000 Original-Received: from localhost ([127.0.0.1]:53758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRZwl-0001Ir-67 for submit@debbugs.gnu.org; Wed, 31 Mar 2021 08:27:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRZwj-0001Ia-Hh for 46495@debbugs.gnu.org; Wed, 31 Mar 2021 08:27:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58869) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRZwc-0000JT-65; Wed, 31 Mar 2021 08:27:36 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3038 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lRZwZ-0007Gh-Ju; Wed, 31 Mar 2021 08:27:32 -0400 In-Reply-To: (message from Andrea Corallo on Wed, 31 Mar 2021 12:16:14 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203353 Archived-At: > From: Andrea Corallo > Cc: dmalcolm@redhat.com, andrewjmoreton@gmail.com, 46495@debbugs.gnu.org > Date: Wed, 31 Mar 2021 12:16:14 +0000 > > >> OTOH I understand we can't update gdb for all users that might want > >> to help debugging an issue, but I don't like very much the idea to > >> have comp-debug 1 as default on every system. What about having 1 > >> as default only on Windows? WDYT? > > > > In general, I'd prefer these settings to be the same on all platforms, > > although it isn't a strong feeling in this case. But I'm curious why > > you are so against doing that by default on other systems. Can you > > explain? > > Nothing special, just that that as on GNU/Linux we can produce > backtraces without debug symbols so seams to me it would be a waste of > space to have them always present just for this reason. Well, using comp-debug = 1 produces minor improvements also on GNU/Linux, as it shows the values of arguments of the natively-compiled functions instead of just "()". Example: #75 0x01260cad in funcall_subr (subr=0x1730200 , numargs=3, args=0x82f028) at eval.c:3064 #76 0x01260805 in Ffuncall (nargs=4, args=0x82f020) at eval.c:3009 #77 0x0125f238 in Fapply (nargs=3, args=0x82f1a8) at eval.c:2639 #78 0x01250e54 in Fcall_interactively (function=XIL(0x44e24ec), record_flag=XIL(0), keys=XIL(0xa00000000678d168)) at callint.c:353 #79 0x70f1ae41 in F636f6d6d616e642d65786563757465_command_execute_0 ( par_0=72230124, par_1=0, par_2=0, par_3=0) <<<<<<<<<<<<<<<<<<<<<<<<< at d:/gnu/git/emacs/native-comp/native-lisp/28.0.50-c99426db/simple-fab5b0cf-db78b289.c:23993 But I'm okay with leaving it at zero except on Windows for now, we can always revisit this later. > > Anyway, I've compiled the relevant files with comp-debug = 1, and the > > problems with backtraces are now completely gone. So I think we can > > more or less close this issue (modulo changing the meanings of > > comp-debug and the decision regarding the default value). > > Sounds good, if my proposal of the new 4 values is acceptable for you > and we decide on the default one I can proceed with that. Yes, let's make that change. Please also look into the issue with temporary *.el files I reported earlier. Thanks.