From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: bjorn.bidar@thaodan.de, emacs-devel@gnu.org
Subject: Re: How to make aot native-compilation and pdmp creation reproduceable
Date: Mon, 09 Oct 2023 13:55:30 +0200 [thread overview]
Message-ID: <m2y1gcdn7x.fsf@Pro.fritz.box> (raw)
In-Reply-To: <83jzrwvxnx.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Oct 2023 14:32:34 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Gerd Möllmann <gerd.moellmann@gmail.com>
>> Cc: bjorn.bidar@thaodan.de, emacs-devel@gnu.org
>> Date: Mon, 09 Oct 2023 13:26:03 +0200
>>
>> 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.
>
> If x-win.el didn't change, x-win.eln will not be regenerated, so
> something else is at work here.
But x-win.elc _did_ change. To cite one of Björn's mails
> Strangely the only eln file that changes is x-win.el:
> /usr/lib64/emacs/29.1/native-lisp/29.1-115521d4/preloaded/x-win-3c49581f-6ddb7e08.eln differs in ELF sections
> --- old /usr/lib64/emacs/29.1/native-lisp/29.1-115521d4/preloaded/x-win-3c49581f-6ddb7e08.eln (objdump)
> +++ new /usr/lib64/emacs/29.1/native-lisp/29.1-115521d4/preloaded/x-win-3c49581f-6ddb7e08.eln (objdump)
> @@ -2950,7 +2950,7 @@
> 0e7c0 6f726564 20736573 73696f6e 20646174 ored session dat
> 0e7d0 61222022 4865776c 6574742d 5061636b a" "Hewlett-Pack
> 0e7e0 61726420 496e636f 72706f72 61746564 ard Incorporated
> - 0e7f0 22202334 3d282831 3638202e 206d7574 " #4=((168 . mut
> + 0e7f0 22202336 3d282831 3638202e 206d7574 " #6=((168 . mut
> 0e800 652d6163 75746529 20283136 39202e20 e-acute) (169 .
> 0e810 6d757465 2d677261 76652920 28313730 mute-grave) (170
> 0e820 202e206d 7574652d 61736369 69636972 . mute-asciicir
> @@ -2976,7 +2976,7 @@
> 0e960 20224865 776c6574 742d5061 636b6172 "Hewlett-Packar
> 0e970 6420436f 6d70616e 79222022 5831312f d Company" "X11/
> 0e980 4e655753 202d2053 756e204d 6963726f NeWS - Sun Micro
> - 0e990 73797374 656d7320 496e632e 22202336 systems Inc." #6
> + 0e990 73797374 656d7320 496e632e 22202334 systems Inc." #4
> 0e9a0 3d282833 39323937 36202e20 66333629 =((392976 . f36)
> 0e9b0 20283339 32393737 202e2066 33372920 (392977 . f37)
> 0e9c0 28333933 30353620 2e207265 71292028 (393056 . req) (
next prev parent reply other threads:[~2023-10-09 11:55 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-07 18:37 How to make aot native-compilation and pdmp creation reproduceable Björn Bidar
2023-10-07 19:27 ` Gerd Möllmann
2023-10-08 20:53 ` Björn Bidar
2023-10-08 20:57 ` Björn Bidar
2023-10-09 4:19 ` Gerd Möllmann
2023-10-09 11:05 ` Eli Zaretskii
2023-10-09 11:26 ` Gerd Möllmann
2023-10-09 11:32 ` Eli Zaretskii
2023-10-09 11:55 ` Gerd Möllmann [this message]
2023-10-09 12:29 ` Gerd Möllmann
2023-10-09 13:09 ` Eli Zaretskii
2023-10-09 13:33 ` Gerd Möllmann
2023-10-09 14:20 ` Eli Zaretskii
2023-10-09 14:30 ` Gerd Möllmann
2023-10-09 14:48 ` Björn Bidar
2023-10-09 14:58 ` Eli Zaretskii
2023-10-09 15:44 ` Björn Bidar
2023-10-09 14:52 ` Björn Bidar
2023-10-09 15:06 ` Gerd Möllmann
[not found] ` <8734yju8ax.fsf@thaodan.de>
2023-10-09 15:59 ` Eli Zaretskii
2023-10-09 16:06 ` Björn Bidar
2023-10-09 16:28 ` Eli Zaretskii
2023-10-09 16:53 ` Björn Bidar
2023-10-09 16:40 ` Gerd Möllmann
2023-10-09 17:06 ` Björn Bidar
2023-10-09 17:19 ` Gerd Möllmann
2023-10-09 18:23 ` Alan Mackenzie
2023-10-10 6:21 ` Gerd Möllmann
2023-10-10 10:39 ` Alan Mackenzie
2023-10-10 11:12 ` Gerd Möllmann
2023-10-10 11:58 ` Michael Albinus
2023-10-10 12:17 ` Eli Zaretskii
2023-10-10 13:07 ` Alan Mackenzie
2023-10-11 9:15 ` Andrea Corallo
2023-10-10 8:30 ` Ulrich Mueller
2023-10-10 9:28 ` Gerd Möllmann
2023-10-10 10:53 ` Ulrich Mueller
2023-10-10 11:15 ` Gerd Möllmann
2023-10-10 11:08 ` Differences in *.elc files (was: Re: How to make aot native-compilation and pdmp creation reproduceable) Ulrich Mueller
2023-10-10 11:51 ` Differences in *.elc files Gerd Möllmann
2023-10-10 12:14 ` How to make aot native-compilation and pdmp creation reproduceable Eli Zaretskii
2023-10-10 14:40 ` Björn Bidar
2023-10-10 14:59 ` Ulrich Mueller
2023-10-09 4:28 ` Gerd Möllmann
2023-10-08 7:14 ` Andrea Corallo
2023-10-08 21:38 ` Björn Bidar
2023-10-09 2:34 ` Eli Zaretskii
2023-10-09 4:25 ` Björn Bidar
2023-10-09 4:46 ` Gerd Möllmann
2023-10-09 5:06 ` Gerd Möllmann
2023-10-09 5:47 ` Gerd Möllmann
2023-10-09 11:15 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2y1gcdn7x.fsf@Pro.fritz.box \
--to=gerd.moellmann@gmail.com \
--cc=bjorn.bidar@thaodan.de \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.