GNU bug report logs - #45103
[feature/native-comp] add re-dumping support

Previous Next

Package: emacs;

Reported by: Y Qu <yqu212 <at> gmail.com>

Date: Mon, 7 Dec 2020 15:25:02 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <acorallo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andrea Corallo <acorallo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#45103: closed ([feature/native-comp] add re-dumping support)
Date: Tue, 24 Oct 2023 18:18:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 24 Oct 2023 14:17:07 -0400
with message-id <yp1sf5zj36k.fsf <at> fencepost.gnu.org>
and subject line Re: bug#45103: [feature/native-comp] add re-dumping support
has caused the debbugs.gnu.org bug report #45103,
regarding [feature/native-comp] add re-dumping support
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
45103: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45103
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Y Qu <yqu212 <at> gmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 28.0.50; feature/native-comp:Trying to load incoherent dumped eln file
Date: Mon, 7 Dec 2020 14:18:27 +0000
[Message part 3 (text/plain, inline)]
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

In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.17.4)
 of 2020-12-05 built on pkg816084a8e53
Repository revision: fc535f14c9621bcb43b7e140b9f47d53b017f27b
Repository branch: makepkg
Windowing system distributor 'System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-sound=alsa --with-modules --without-gconf --without-gsettings
 --with-nativecomp --with-pgtk --with-x-toolkit=gtk3 --without-xaw3d
 --without-m17n-flt --with-cairo --with-xwidgets
 --without-compress-install 'CFLAGS=-march=x86-64 -mtune=generic -O2
 -pipe -fstack-protector-strong -fno-plt -g -fuse-ld=gold -g
 -fuse-ld=gold' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GLIB NOTIFY INOTIFY ACL
GNUTLS LIBXML2 FREETYPE HARFBUZZ LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3
PGTK XIM MODULES NATIVE_COMP THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER
LCMS2

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Andrea Corallo <acorallo <at> gnu.org>
To: Y Qu <yqu212 <at> gmail.com>
Cc: 45103-done <at> debbugs.gnu.org
Subject: Re: bug#45103: [feature/native-comp] add re-dumping support
Date: Tue, 24 Oct 2023 14:17:07 -0400
Y Qu <yqu212 <at> gmail.com> 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


This bug report was last modified 1 year and 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.