bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52376: 28.0.90; libdir is missing from native-comp-eln-load-path wit


From: Bhavin Gandhi
Subject: bug#52376: 28.0.90; libdir is missing from native-comp-eln-load-path with GTK3 build
Date: Fri, 10 Dec 2021 21:17:38 +0530

On Fri, 10 Dec 2021 at 20:38, Eli Zaretskii <eliz@gnu.org> wrote:
> > Which probably means the .pdmp file is somehow devoid of
> > natively-compiled code, i.e. it was produced by dumping the *.elc
> > files, not the *.eln files?
>
> Does the command below show anything at all?
>
>   $ strings /usr/bin/emacs-28.0.90.pdmp | fgrep .eln

Only one string.

$ strings /usr/bin/emacs-28.0.90.pdmp | fgrep .eln
\.eln\'

> Actually, thinking about it now: why is the emacs.pdmp file in
> /usr/bin?  It should be under /usr/libexec/emacs/28.0.90/.

Yeah, I had to do it to support installation of different binaries like
emacs, emacs-lucid, emacs-nox on the same system. The hardcoded case
from emacs.c:917, which uses path_exec, looks only for the emacs.pdmp file
and not the executable name i.e. emacs-28.0.90.pdmp in my case.

  /* Look for "emacs.pdmp" in PATH_EXEC.  We hardcode "emacs" in
     "emacs.pdmp" so that the Emacs binary still works if the user
     copies and renames it.  */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]