Subject: bug#46790: 28.0.50; make install with native-comp branch

From: Eli Zaretskii <[email-masked]>
Date: Sun, 25 Apr 2021 11:21:05 +0300

> From: Thierry Volpiatto <[email-masked]>
> Cc: [email-masked], [email-masked], [email-masked]
> Date: Sun, 25 Apr 2021 04:29:14 +0000
> 
> >> >> libexec/emacs/27.1/x86_64-pc-linux-gnu/emacs.pdmp
> >> >> libexec/emacs/27.2/x86_64-pc-linux-gnu/emacs.pdmp
> >> >> libexec/emacs/28.0.50/x86_64-pc-linux-gnu/emacs.pdmp
> >> >
> >> > Surely, you have at least one more in the directory where you built
> >> > Emacs?
> >> 
> >> No, there is no such file there, where should it be located normally?
> >
> > In the src directory, where you have the Emacs executable.
> 
> Yes, there is 3 such files in src/, couldn't find them because my search
> tool was ignoring files which are in .gitignore.
> 
> src/bootstrap-emacs.pdmp
> src/emacs-28.0.50.1.pdmp
> src/emacs.pdmp

And these or their directories are not symlinked from somewhere else?

I'm asking because the current code on the branch looks for the
native-lisp directory relatively to the directory of the .pdmp file,
so if Emacs picks up the .pdmp file from some unexpected directory,
perhaps via a symlink, it could decide to look for native-lisp in the
wrong place.