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

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

bug#41242: Port feature/native-comp to Windows


From: Andrea Corallo
Subject: bug#41242: Port feature/native-comp to Windows
Date: Sat, 23 May 2020 08:35:43 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Nicolas Bértolo <nicolasbertolo@gmail.com>
>> Date: Wed, 20 May 2020 12:46:32 -0300
>> Cc: Andrea Corallo <akrl@sdf.org>, 41242@debbugs.gnu.org
>> 
>> When loading a dump file that contains native compiled elisp we try to find 
>> the
>> .eln file. This uses Ffile_exists_p(). This function, in turn, calls
>> Fexpand_file_name(). This function will use the root directory as
>> `default_directory' as a fallback.
>> 
>> Getting the root directory requires reading the $emacs_dir environment 
>> variable.
>> This is setup later in the initialization process. This caused a crash.
>
> Can you tell why this doesn't happen when *.elc files are used
> instead?  Also, what do you mean by "loading a dump file that contains
> native compiled elisp"? how did native compiled ELisp get into the
> dump file in the first place?

Hi Eli,

you may be interested in this paragraph

https://akrl.sdf.org/gccemacs.html#orgb063106

Regards

  Andrea

-- 
akrl@sdf.org





reply via email to

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