From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#45103: [feature/native-comp] add re-dumping support Date: Tue, 24 Oct 2023 14:21:37 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26579"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yqu212@gmail.com To: 45103@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 24 20:22:54 2023 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 1qvM3K-0006gv-KO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Oct 2023 20:22:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvM31-00085D-Bk; Tue, 24 Oct 2023 14:22:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvM2z-00082U-7y for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 14:22:33 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvM2y-0007lR-PR for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 14:22:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvM3S-0008Vz-21 for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 14:23: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: Tue, 24 Oct 2023 18:23:02 +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.169817174932686 (code B ref 45103); Tue, 24 Oct 2023 18:23:02 +0000 Original-Received: (at 45103) by debbugs.gnu.org; 24 Oct 2023 18:22:29 +0000 Original-Received: from localhost ([127.0.0.1]:56599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvM2u-0008V7-GG for submit@debbugs.gnu.org; Tue, 24 Oct 2023 14:22:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvM2f-0008Uc-GP for 45103@debbugs.gnu.org; Tue, 24 Oct 2023 14:22:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvM26-0007Vr-DJ; Tue, 24 Oct 2023 14:21:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=qBr0ZbL8Jpg4CuRKZCZ8NH3DBsFkgv1ttFaBLKQhJsk=; b=L/uiRNyZtjWZSPbjO4hx edDgYwzDu26+xNXlOI0QQHO+Khjx2w2aw5wLyqCVbh3tUWc9aX/ngQVar8rJGWZnqb/ilr3UhVbTm vDSQCvkbu6km7tJd3ehKnqDwuJWJOJPxqaV3wojV8EsiXMoa9fIsbRBlP1QODl55fr5+pPP8yertk mllBwpLrzgp+Tr834inL34qEr3KRFAKgwbQWssHVdHhjqq9E1gcwc88Vr5tvpczuE7k4vANIkmedz IH46f7JVOfnll/DlqedG7CujYRExxOk7YGfMYwS8IWrEAYQD5NYjfLhgtAbHTBLy4rbQZmbXT1LcD AyzYDSmce9rIjg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qvM25-0000xQ-Lv; Tue, 24 Oct 2023 14:21:37 -0400 In-Reply-To: (Andrea Corallo's message of "Tue, 24 Oct 2023 14:17:07 -0400") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273120 Archived-At: Andrea Corallo writes: > 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 > > Hello, > > on the line of "better later than ever" I believe I implemented the fix > for this bug with f7d88f4a047 now on master. > > $ emacs --dump-file -batch ~/emacs.pdm Sorry wanted to write: $ emacs --batch -Q -eval '(dump-emacs-portable "~/emacs.pdmp")' > $ emacs --dump-file ~/emacs.pdmp > > Works for me here therefore I'm closing this bug. > > Happy to reopen if necessary. > > Thanks! > > Andrea