unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* dmp file does not get program-prefix?
@ 2021-05-16 21:22 T.V Raman
  2021-05-17  6:06 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: T.V Raman @ 2021-05-16 21:22 UTC (permalink / raw)
  To: emacs-devel

I compiled and installed emacs with native compilation support, using
program-prefix=native-

But the .dmp file does not use the prefix  best I can tell, so later
building emacs without native compilation support, and no program
prefix still produces this error when that emacs is run:

emacs: could not load dump file "/usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp": not built for this Emacs executable
-- 

Thanks,

--Raman
♉ Id: kg:/m/0285kf1  🦮

--

Thanks,

--Raman
♉ Id: kg:/m/0285kf1  🦮



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dmp file does not get program-prefix?
  2021-05-16 21:22 dmp file does not get program-prefix? T.V Raman
@ 2021-05-17  6:06 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2021-05-17  6:06 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

> From: "T.V Raman" <raman@google.com>
> Date: Sun, 16 May 2021 14:22:48 -0700
> 
> I compiled and installed emacs with native compilation support, using
> program-prefix=native-
> 
> But the .dmp file does not use the prefix  best I can tell, so later
> building emacs without native compilation support, and no program
> prefix still produces this error when that emacs is run:
> 
> emacs: could not load dump file "/usr/local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp": not built for this Emacs executable

This is currently not supported directly.  You can rename the .pdmp
file by hand to have the same base name as the Emacs executable, and
then it should work, provided you also rename the other *.pdmp files
so that none of them is called "emacs.pdmp" literally.  Alternatively,
you can use a shell script or a shell alias with loads a specific
.pdmp file usingh the --dump-file=FILE command-line option.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-17  6:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-16 21:22 dmp file does not get program-prefix? T.V Raman
2021-05-17  6:06 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).