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#45103: 28.0.50; feature/native-comp:Trying to load incoherent dumped eln file Date: Mon, 07 Dec 2020 16:05:14 +0000 Message-ID: References: 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="15193"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45103@debbugs.gnu.org To: Y Qu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 07 17:06:17 2020 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 1kmJ1l-0003kG-C0 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 17:06:17 +0100 Original-Received: from localhost ([::1]:45740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmJ1i-0002wV-A6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 11:06:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmJ1W-0002uu-OS for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 11:06:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmJ1W-0002CJ-3x for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 11:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmJ1V-0000kG-Vj for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 11:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Dec 2020 16:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45103 X-GNU-PR-Package: emacs Original-Received: via spool by 45103-submit@debbugs.gnu.org id=B45103.16073571292798 (code B ref 45103); Mon, 07 Dec 2020 16:06:01 +0000 Original-Received: (at 45103) by debbugs.gnu.org; 7 Dec 2020 16:05:29 +0000 Original-Received: from localhost ([127.0.0.1]:55086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmJ0z-0000j4-4I for submit@debbugs.gnu.org; Mon, 07 Dec 2020 11:05:29 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:65462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmJ0l-0000ia-MZ for 45103@debbugs.gnu.org; Mon, 07 Dec 2020 11:05:28 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 0B7G5EAN014686; Mon, 7 Dec 2020 16:05:15 GMT In-Reply-To: (Y. Qu's message of "Mon, 7 Dec 2020 14:18:27 +0000") 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:195251 Archived-At: retitle [feature/native-comp] support re-dumping support thanks Y Qu writes: > Dear maintainers: > > I try to use pdumper together with native-comp but fail. > > To reproduce: > > $ emacs --batch -Q -eval '(dump-emacs-portable "~/.emacs.d/.cache/dumps/emacs.pdmp")' > $ emacs --dump-file=~/.emacs.d/.cache/dumps/emacs.pdmp > > You can get the following message: > > emacs: Trying to load incoherent dumped eln file > /usr/sbin/../lib/emacs/28.0.50/native-lisp/28.0.50-x86_64-pc-linux-gnu-8fc0b1a455d90f52078950afaab3b40e/lisp-mode-410874a46ab8852855281f021ca61fe7-0babcd5810b0347a56a4b722059f6199.eln > > > This issue appears on build from both chaotic-aur/emacs-pgtk-native-comp and archlinuxcn/emacs-native-comp. > > Thank you for your time! > > Ying Qu Hi Ying Qu, I guess you are the first trying to re-dump a native compiled Emacs session. Despite being in principle possible there's certanly something to look at. In general my understanding is that ATM we do not support officially Emacs re-dumps, so also on a vanilla build it may work or not. As a consequence I'm not sure this is a requirement for this feature ATM. Perhaps we'll get some other opinion on this. Thanks Andrea