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: Thu, 9 Dec 2021 02:01:16 +0530

On Thu, 9 Dec 2021 at 01:41, Eli Zaretskii <eliz@gnu.org> wrote:
> > This means the *.el and *.elc files from GTK3 build are used by the
> > other two.
>
> But what about the *.eln files? are they also reused?  That cannot
> work, I think.

They are not. The *.eln files are different for each binary, at the end
of installation this is what I get (one directory per variant).

$ ls /usr/lib64/emacs/28.0.90/native-lisp/
28.0.90-619a407c  28.0.90-a325c617  28.0.90-f21cc02e

> Also, I think the games you play with the *.pdmp files is the reason
> for the problem.  Emacs decides where to look for the *.eln files by
> the place where it finds the .pdmp file, and you rename those and use
> symlinks for them.  I'm not sure the startup code supports what you
> expect it to support.

Understood. The symlinks are for the binaries and not for the .pdmp
files though.

The result is same if I start /usr/bin/emacs-28.0.90 which has a
/usr/bin/emacs-28.0.90.pdmp along with it.

> I suggest to step in a debugger through the
> code in load_pdump, and see which of the *.pdmp files it finds in the
> problematic case; my guess is that it finds the one in the build
> directory, not in the installation directory.

Okay. I will try to do that and see what it shows.

> I see you copy the *.eln files for the Lucid and no-X build, but not
> for the GTK3 build?

Those are installed by make install command, initially I was copying
those like Lucid and no-X, but that didn't make any difference.

Thank you for the help so far. I will experiment and post results here.





reply via email to

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