all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* HowTo: Have both native-emacs and emacs installed?
@ 2020-08-24 21:04 T.V Raman
  2020-08-25  6:29 ` Andrea Corallo via Emacs development discussions.
  0 siblings, 1 reply; 4+ messages in thread
From: T.V Raman @ 2020-08-24 21:04 UTC (permalink / raw)
  To: emacs-devel

I built native-emacs with the flag  --program-prefix=native- to
configure thinking I could then have /usr/local/bin/emacs and
/usr/local/bin/native-emacs. That part works, however the dumper file
ends up not having a build-specific name, so  at the end, you can
still only run one  -- error is:

13:52:03 raman-glaptop ~ $ native-emacs -nw
desired fingerprint: a8411d29f8395f2b0334445e1d6f966aa3b2866974b6779626dd74f69bd61f4f
found fingerprint: a13aa195c0ea23eb408e4955d4b9bc4d5820e6120e91c9b55d2499abca4f6c82
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
-- 
♉Id: kg:/m/0285kf1  🦮♉

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

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



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

* Re: HowTo: Have both native-emacs and emacs installed?
  2020-08-24 21:04 HowTo: Have both native-emacs and emacs installed? T.V Raman
@ 2020-08-25  6:29 ` Andrea Corallo via Emacs development discussions.
  2020-08-25 14:51   ` T.V Raman
  0 siblings, 1 reply; 4+ messages in thread
From: Andrea Corallo via Emacs development discussions. @ 2020-08-25  6:29 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

"T.V Raman" <raman@google.com> writes:

> I built native-emacs with the flag  --program-prefix=native- to
> configure thinking I could then have /usr/local/bin/emacs and
> /usr/local/bin/native-emacs. That part works, however the dumper file
> ends up not having a build-specific name, so  at the end, you can
> still only run one  -- error is:
>
> 13:52:03 raman-glaptop ~ $ native-emacs -nw
> desired fingerprint: a8411d29f8395f2b0334445e1d6f966aa3b2866974b6779626dd74f69bd61f4f
> found fingerprint: a13aa195c0ea23eb408e4955d4b9bc4d5820e6120e91c9b55d2499abca4f6c82
> 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

Hi Raman,

I see the issue.  I think this is a generic problem that is not just
related to the native compiler configuration but to any that has an
impact on the pdump fingerprint.

Maybe the dump file should include the program-prefix.

  Andrea

-- 
akrl@sdf.org



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

* Re: HowTo: Have both native-emacs and emacs installed?
  2020-08-25  6:29 ` Andrea Corallo via Emacs development discussions.
@ 2020-08-25 14:51   ` T.V Raman
  2020-08-25 19:56     ` Andrea Corallo via Emacs development discussions.
  0 siblings, 1 reply; 4+ messages in thread
From: T.V Raman @ 2020-08-25 14:51 UTC (permalink / raw)
  To: akrl; +Cc: raman, emacs-devel

yes, dump file name including the prefix would be the easiest fix.

For now I have two dump files plain.pdmp and native.pdmp  from the two
dumps and symlink emacs.pdmp appropriately, but clearly not a viable
situation except when playing with it 
Andrea Corallo writes:
 > "T.V Raman" <raman@google.com> writes:
 > 
 > > I built native-emacs with the flag  --program-prefix=native- to
 > > configure thinking I could then have /usr/local/bin/emacs and
 > > /usr/local/bin/native-emacs. That part works, however the dumper file
 > > ends up not having a build-specific name, so  at the end, you can
 > > still only run one  -- error is:
 > >
 > > 13:52:03 raman-glaptop ~ $ native-emacs -nw
 > > desired fingerprint: a8411d29f8395f2b0334445e1d6f966aa3b2866974b6779626dd74f69bd61f4f
 > > found fingerprint: a13aa195c0ea23eb408e4955d4b9bc4d5820e6120e91c9b55d2499abca4f6c82
 > > 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
 > 
 > Hi Raman,
 > 
 > I see the issue.  I think this is a generic problem that is not just
 > related to the native compiler configuration but to any that has an
 > impact on the pdump fingerprint.
 > 
 > Maybe the dump file should include the program-prefix.
 > 
 >   Andrea
 > 
 > -- 
 > akrl@sdf.org

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

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



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

* Re: HowTo: Have both native-emacs and emacs installed?
  2020-08-25 14:51   ` T.V Raman
@ 2020-08-25 19:56     ` Andrea Corallo via Emacs development discussions.
  0 siblings, 0 replies; 4+ messages in thread
From: Andrea Corallo via Emacs development discussions. @ 2020-08-25 19:56 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

"T.V Raman" <raman@google.com> writes:

> yes, dump file name including the prefix would be the easiest fix.
>
> For now I have two dump files plain.pdmp and native.pdmp  from the two
> dumps and symlink emacs.pdmp appropriately, but clearly not a viable
> situation except when playing with it 

Yeah, I guess the easiest it to report it and treat it as bug in the bug
tracker.  This should affect 28 but I guess 27 too.

  Andrea

-- 
akrl@sdf.org



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

end of thread, other threads:[~2020-08-25 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-24 21:04 HowTo: Have both native-emacs and emacs installed? T.V Raman
2020-08-25  6:29 ` Andrea Corallo via Emacs development discussions.
2020-08-25 14:51   ` T.V Raman
2020-08-25 19:56     ` Andrea Corallo via Emacs development discussions.

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.