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: Tue, 30 Mar 2021 14:33:04 +0000 Message-ID: References: <83lfbqbq3g.fsf@gnu.org> <868s7pwvq8.fsf@gmail.com> <28FB9567-61E6-4083-8711-6CF6C8A493F4@gnu.org> <86o8gjheaw.fsf@gmail.com> <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> 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="14225"; 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 Tue Mar 30 16:35:57 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 1lRFTJ-0003aL-7f for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Mar 2021 16:35:57 +0200 Original-Received: from localhost ([::1]:44534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRFTI-0000YK-2Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Mar 2021 10:35:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRFRS-0007KD-4H for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2021 10:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRFRR-0002XU-QE for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2021 10:34:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRFRR-0001MA-Lh for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2021 10:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Mar 2021 14:34: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.16171147905139 (code B ref 46495); Tue, 30 Mar 2021 14:34:01 +0000 Original-Received: (at 46495) by debbugs.gnu.org; 30 Mar 2021 14:33:10 +0000 Original-Received: from localhost ([127.0.0.1]:52514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRFQc-0001Kp-4z for submit@debbugs.gnu.org; Tue, 30 Mar 2021 10:33:10 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:56152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRFQY-0001Kc-C7 for 46495@debbugs.gnu.org; Tue, 30 Mar 2021 10:33:08 -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 12UEX47j005307 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 30 Mar 2021 14:33:05 GMT In-Reply-To: <8335wdknbw.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 30 Mar 2021 12:22:43 +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:203303 Archived-At: Eli Zaretskii writes: > Andrea, if I want to recompile the Lisp files with comp-debug set to > 1, is there a better way than removing the existing *.eln files, then > compiling them again with a command such as (for preloaded files): > > emacs -batch -l comp -eval "(setq comp-debug 1)" -f batch-byte-native-compile-for-bootstrap FILE > > and for non-preloaded ones: > > emacs -batch -l comp -eval "(setq comp-debug 1)" -f batch-native-compile FILE > > Is that the right procedure? Removing the .eln should not be necessary, thinking about actually if it's removed I guess emacs will not be able to start and recompile the file as not able to resurrect from dump. `batch-native-compile' or `batch-byte-native-compile-for-bootstrap' should be equivalent here as the second is just a way to do only byte compilation for non dumped files when we are not using NATIVE_FULL_AOT. > And another question: if the preloaded files are recompiled as above, > do I also need to re-dump Emacs, or will the existing emacs.pdmp still > be valid for running Emacs? Dump is needed if the .eln file changes position or content (compiled functions) so generally speaking yes, redumping is a good idea. > And finally, in what directory will the pseudo C code files be dumped, > when using comp-debug = 1? in the same directory as the corresponding > .eln files, or somewhere else? Correct, same directory of the eln. Thanks Andrea