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:17:07 -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="1202"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 45103-done@debbugs.gnu.org To: Y Qu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 24 20:18:14 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 1qvLyo-00006s-Hr for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Oct 2023 20:18:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvLyP-0003RQ-8l; Tue, 24 Oct 2023 14:17:49 -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 1qvLy9-0003KF-57 for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 14:17:34 -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 1qvLy8-0006dn-Af for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 14:17:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvLyb-0008Nr-W0 for bug-gnu-emacs@gnu.org; Tue, 24 Oct 2023 14:18:02 -0400 Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Oct 2023 18:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 45103 X-GNU-PR-Package: emacs Mail-Followup-To: 45103@debbugs.gnu.org, acorallo@gnu.org, yqu212@gmail.com Original-Received: via spool by 45103-done@debbugs.gnu.org id=D45103.169817147132197 (code D ref 45103); Tue, 24 Oct 2023 18:18:01 +0000 Original-Received: (at 45103-done) by debbugs.gnu.org; 24 Oct 2023 18:17:51 +0000 Original-Received: from localhost ([127.0.0.1]:56592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvLyN-0008NC-OD for submit@debbugs.gnu.org; Tue, 24 Oct 2023 14:17:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvLyK-0008Mx-7K for 45103-done@debbugs.gnu.org; Tue, 24 Oct 2023 14:17:46 -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 1qvLxj-0006Y0-HH; Tue, 24 Oct 2023 14:17:07 -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=gXH1jDO1/APL2RHQhtLG4mSqhUSw3eclaigOAAsr6Rc=; b=nj2TOLbNC4QMa4k+lOX8 HeTJcDiAORTnd3jpkjRRLuq68zRXqUsjUGR/HjEpzxJE16WdwkxOXbO5n/DxZRkjl0UkhcJ6FEkrM F74kIBfWGfyYLezJuMURTVW4iEm7rzyYuH8mWQww6Fs1imTgRisDmF+fr+qvkLwIUaC3I8zKZfBjK 6RNWgcJ4Udp6Fa2v1cp8t7spnikzft0g5cVF0WoxbuY4C0IY09fZ2xWyRfSUQxPKIW/A6AhvPoC3p m9edFFy3erVgwo+2NpdjecoVo5Uygo8/9NgQYnGLe+JuE+mQda4RR3Fn4zFz9i7JGxoTSQcMPAtvX 9HvF+WtzqJ8jmA==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qvLxj-0000UD-6Y; Tue, 24 Oct 2023 14:17:07 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273119 Archived-At: 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 $ emacs --dump-file ~/emacs.pdmp Works for me here therefore I'm closing this bug. Happy to reopen if necessary. Thanks! Andrea