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#48578: 28.0.50; Native-compiled files of some preloaded files not loaded at dump time Date: Mon, 24 May 2021 06:55:10 +0000 Message-ID: References: <83k0nrkzem.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="8898"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48578@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 24 08:56:10 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 1ll4VW-000295-KY for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 May 2021 08:56:10 +0200 Original-Received: from localhost ([::1]:59766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ll4VV-0002J9-NJ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 May 2021 02:56:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ll4VO-0002IS-9a for bug-gnu-emacs@gnu.org; Mon, 24 May 2021 02:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ll4VO-0003fu-1K for bug-gnu-emacs@gnu.org; Mon, 24 May 2021 02:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ll4VO-0007SZ-0I for bug-gnu-emacs@gnu.org; Mon, 24 May 2021 02:56: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: Mon, 24 May 2021 06:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48578 X-GNU-PR-Package: emacs Original-Received: via spool by 48578-submit@debbugs.gnu.org id=B48578.162183931728623 (code B ref 48578); Mon, 24 May 2021 06:56:01 +0000 Original-Received: (at 48578) by debbugs.gnu.org; 24 May 2021 06:55:17 +0000 Original-Received: from localhost ([127.0.0.1]:42226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ll4Ue-0007Rb-KJ for submit@debbugs.gnu.org; Mon, 24 May 2021 02:55:16 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:53547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ll4Ua-0007RO-26 for 48578@debbugs.gnu.org; Mon, 24 May 2021 02:55:14 -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 14O6tAOM000095 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 24 May 2021 06:55:10 GMT In-Reply-To: <83k0nrkzem.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 22 May 2021 10:20:33 +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:207110 Archived-At: Eli Zaretskii writes: > Something strange is going on on this GNU/Linux system, unlike other > systems where I build Emacs with native-compilation: when dumping, > some of the preloaded files seem to be loaded in their byte-compiled > form, not native-compiled form. The files are the ones loaded at the > very beginning of 'loadup': > > Loading emacs-lisp/byte-run... > Loading emacs-lisp/backquote... > Loading subr... > Loading version... > Loading widget... > Loading custom... > Loading emacs-lisp/map-ynp... > Loading international/mule... > Loading international/mule-conf... > Loading env... > Loading format... > Loading bindings... > Loading window... > Loading files... > > All the preloaded files after these ones are loaded as native-compiled > Lisp, as expected. > > I forced native compilation of the offending files, and verified the > corresponding *.eln files are refreshed in the native-lisp directory, > but the problem persists. > > Why does this happen, and how do I fix it? Hi Eli, I just did a fresh build on GNU/Linux and I cannot reproduce this. === Loading emacs-lisp/byte-run (native compiled elisp)... Loading emacs-lisp/backquote (native compiled elisp)... Loading subr (native compiled elisp)... Loading version (native compiled elisp)... Loading widget (native compiled elisp)... Loading custom (native compiled elisp)... Loading emacs-lisp/map-ynp (native compiled elisp)... Loading international/mule (native compiled elisp)... Loading international/mule-conf (native compiled elisp)... Loading env (native compiled elisp)... Loading format (native compiled elisp)... Loading bindings (native compiled elisp)... Loading window (native compiled elisp)... Loading files (native compiled elisp)... Loading emacs-lisp/macroexp (native compiled elisp)... === Maybe related to the fix for bug#48497 and some state of your build? Regards Andrea