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 07:47:06 +0000 Message-ID: References: <83k0nrkzem.fsf@gnu.org> <0D04DA9F-BDFB-431E-9F14-385BE7CAAD54@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="17863"; 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 09:48: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 1ll5Jp-0004RC-1q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 May 2021 09:48:09 +0200 Original-Received: from localhost ([::1]:37382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ll5Jo-0002jP-3j for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 May 2021 03:48:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ll5Ji-0002jG-4g for bug-gnu-emacs@gnu.org; Mon, 24 May 2021 03:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ll5Jh-0003Gm-T9 for bug-gnu-emacs@gnu.org; Mon, 24 May 2021 03:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ll5Jh-0000Lw-Qy for bug-gnu-emacs@gnu.org; Mon, 24 May 2021 03:48: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: Mon, 24 May 2021 07:48: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.16218424331288 (code B ref 48578); Mon, 24 May 2021 07:48:01 +0000 Original-Received: (at 48578) by debbugs.gnu.org; 24 May 2021 07:47:13 +0000 Original-Received: from localhost ([127.0.0.1]:42285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ll5Iv-0000Ki-3T for submit@debbugs.gnu.org; Mon, 24 May 2021 03:47:13 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:64177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ll5Is-0000KU-4S for 48578@debbugs.gnu.org; Mon, 24 May 2021 03:47:12 -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 14O7l6he020527 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 24 May 2021 07:47:06 GMT In-Reply-To: <0D04DA9F-BDFB-431E-9F14-385BE7CAAD54@gnu.org> (Eli Zaretskii's message of "Mon, 24 May 2021 10:30:11 +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:207114 Archived-At: Eli Zaretskii writes: > On May 24, 2021 9:55:10 AM GMT+03:00, Andrea Corallo wrote: >> 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 > > What state could that be? Hard to say, mine is just a guess as I cannot reproduce it here. > And what do I do to escape from that state? make bootstrap or even better restart from a git clean? Andrea