From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46495: 28.0.50; [native-comp] Build fails for 32bit --with-wide-int Date: Wed, 31 Mar 2021 18:26:17 +0000 Message-ID: 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> <83eefvik3h.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14729"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: andrewjmoreton@gmail.com, dmalcolm@redhat.com, 46495@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 31 20:27:16 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 1lRfYh-0003gH-RH for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Mar 2021 20:27:15 +0200 Original-Received: from localhost ([::1]:32886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRfYg-0004sb-G5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Mar 2021 14:27:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRfYU-0004sQ-Iu for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 14:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43957) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRfYU-0000Sc-Bz for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 14:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRfYU-0004Uc-7g for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 14:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Mar 2021 18:27:02 +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.161721518117222 (code B ref 46495); Wed, 31 Mar 2021 18:27:02 +0000 Original-Received: (at 46495) by debbugs.gnu.org; 31 Mar 2021 18:26:21 +0000 Original-Received: from localhost ([127.0.0.1]:55503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRfXo-0004Ti-Ui for submit@debbugs.gnu.org; Wed, 31 Mar 2021 14:26:21 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:58541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRfXm-0004TZ-KX for 46495@debbugs.gnu.org; Wed, 31 Mar 2021 14:26:20 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12VIQH6f001830 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 31 Mar 2021 18:26:17 GMT In-Reply-To: <83eefvik3h.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 31 Mar 2021 15:27:46 +0300") 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:203379 Archived-At: Eli Zaretskii writes: >> 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. Okay 53ca0d9844 reworks the levels and change the default value on Windows, I think `comp-debug' should do what we want now. > > Please also look into the issue with temporary *.el files I reported > earlier. Yep coming on that. Thanks Andrea