emacs-devel
[Top][All Lists]
Advanced

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

Re: How to make aot native-compilation and pdmp creation reproduceable


From: Björn Bidar
Subject: Re: How to make aot native-compilation and pdmp creation reproduceable
Date: Mon, 09 Oct 2023 17:52:04 +0300
User-agent: Gnus/5.13 (Gnus v5.13)

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> Offset 17 is the stat of the dump fingerprint (the first 16 bytes are a
>>> magic number).
>>> 
>>> struct dump_header
>>> {
>>>   /* File type magic.  */
>>>   char magic[sizeof (dump_magic)];
>>> 
>>>   /* Associated Emacs binary.  */
>>>   unsigned char fingerprint[sizeof fingerprint];
>>
>> The fingerprint is supposed to remain unchanged if you rebuild the
>> same code base.
>
> Right, that's the problem -- apparently it isn't unchanged in this case
> as the diff of the executables' objdump shows.
>
> My hypothesis is that x-win.eln changes between builds (print-circle
> etc.) => make-fingerprint computes a different ingerprint and so on

But the emacs execute and pdmp even changes for builds without native-comp, see 
my earlier message:
https://mail.gnu.org/archive/html/emacs-devel/2023-10/msg00133.html



reply via email to

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