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: Thu, 01 Apr 2021 08:18:08 +0000 Message-ID: References: <65e12b1d547420e10a19cdad6a33198926abb527.camel@redhat.com> <8335wdknbw.fsf@gnu.org> <83im58k8rb.fsf@gnu.org> <83lfa3iqv3.fsf@gnu.org> <83k0pniq1n.fsf@gnu.org> <83h7krinob.fsf@gnu.org> <83blazijup.fsf@gnu.org> <83y2e3gmmm.fsf@gnu.org> <83wntnglq5.fsf@gnu.org> <83v996h5mw.fsf@gnu.org> <83k0pmh2m4.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="37938"; 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, 46495@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 01 10:19:12 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 1lRsXn-0009kk-DW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Apr 2021 10:19:11 +0200 Original-Received: from localhost ([::1]:53994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRsXm-0005Ub-CV for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Apr 2021 04:19:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRsXe-0005TC-62 for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 04:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRsXd-0002cP-Tk for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 04:19:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRsXd-0008H9-QX for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 04:19: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: Thu, 01 Apr 2021 08:19: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.161726509431754 (code B ref 46495); Thu, 01 Apr 2021 08:19:01 +0000 Original-Received: (at 46495) by debbugs.gnu.org; 1 Apr 2021 08:18:14 +0000 Original-Received: from localhost ([127.0.0.1]:56232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsWs-0008G5-BO for submit@debbugs.gnu.org; Thu, 01 Apr 2021 04:18:14 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:58125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRsWn-0008Fv-U4 for 46495@debbugs.gnu.org; Thu, 01 Apr 2021 04:18:13 -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 1318I85V021629 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 1 Apr 2021 08:18:09 GMT In-Reply-To: <83k0pmh2m4.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 01 Apr 2021 10:42:59 +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:203414 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: andrewjmoreton@gmail.com, 46495@debbugs.gnu.org >> Date: Thu, 01 Apr 2021 07:07:53 +0000 >> >> Eli Zaretskii writes: >> >> >> From: Andrea Corallo >> >> Cc: andrewjmoreton@gmail.com, 46495@debbugs.gnu.org >> >> Date: Wed, 31 Mar 2021 19:43:17 +0000 >> >> >> >> > So with these 3 files in that directory, which one will be loaded by >> >> > Emacs, and how will Emacs know which to load? >> >> >> >> Emacs will scan and hash the source file and load the correct one if >> >> present. >> > >> > And if the source file isn't available? >> >> No eln will be loaded. > > Ouch! That's a general issue, then, not just when there are multiple > copies of *.eln for the same .el file, right? IOW, if Emacs is > installed such that the *.el files are not available, it will not load > the *.eln files, only the *.elc files. I think we should at least > produce a run-time warning about that. Correct, okay the warning should not be a problem (taking note into my todo). Do we really have installations with no source code? > If the .el file is available, but was compressed, will Emacs > scan it after uncompressing to verify the signature? This is the > usual way Emacs is installed: we compress all the *.el files. Yes it does that :) (I tipically use Emacs installed). >> > In any case, AFAIU I can safely delete the 2 older *.eln files because >> > they will never be used, right? >> >> Correct, unless you have another binary that is using one of these eln >> as preloaded, indeed this should not be the case as comp.el is not >> preloaded. > > But even if the file is preloaded, the fact that it is in the same > hashed subdirectory of native-lisp/ means it can be used with any > binary whose ABI is compatible. Right? Or are you saying that the > source-content hash of the .eln file is recorded in the .pdmp file? When the file was preloaded when reviving from dump it is looked-up using its filename, as you suggests includes the `comp-abi-hash' in it. Thanks Andrea