all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Björn Bidar" <bjorn.bidar@thaodan.de>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: How to make aot native-compilation and pdmp creation reproduceable
Date: Sun, 08 Oct 2023 23:53:13 +0300	[thread overview]
Message-ID: <87wmvwvnt2.fsf@thaodan.de> (raw)
In-Reply-To: <m25y3i2pxv.fsf@Pro.fritz.box> ("Gerd Möllmann"'s message of "Sat, 07 Oct 2023 21:27:40 +0200")

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

>> One example of pdmp of one of the variants:
>> /usr/bin/emacs-x11 differs in ELF sections
>> --- old /usr/bin/emacs-x11 (objdump)
>> +++ new /usr/bin/emacs-x11 (objdump)
>> @@ -519888,8 +519888,8 @@
>>   7f1410 2d2d6e6f 2d73706c 61736800 00000000  --no-splash.....
>>   7f1420 00400000 00000000 00000000 00000000  .@..............
>>   7f1430 00000000 00000000 00000000 00000000  ................
>> - 7f1440 81e3b8e4 33011ec5 18db85f2 9586197c  ....3..........|
>> - 7f1450 be6fb703 f761afd4 c6d7bd74 f2168be2  .o...a.....t....
>> + 7f1440 a2c05c34 51540c6d eae96bed 21a90a3c  ..\4QT.m..k.!..<
>> + 7f1450 c0cf321a e7c634d2 89ae7791 2fe90967  ..2...4...w./..g
>>   7f1460 2c010000 00000000 20003900 00000000  ,....... .9.....
>>   7f1470 ffffffff 15000000 3e000000 7c000000  ........>...|...
>>   7f1480 12000000 00000000 00000000 00000000  ................
>
> That's confusing.  Is that an executable, if you do an objdump?  You
> write it's an example of pdmp.
Th Emacs executable also changes each time.
Oh that's an oversight on my side. Here is the diff:
/usr/libexec/emacs/29.1/x86_64-suse-linux/emacs-x11.pdmp differs at offset '17' (GNU/Emacs pdumper image)
--- old /usr/libexec/emacs/29.1/x86_64-suse-linux/emacs-x11.pdmp (hex)
+++ new /usr/libexec/emacs/29.1/x86_64-suse-linux/emacs-x11.pdmp (hex)
@@ -1,6 +1,6 @@
 00000000  44 55 4d 50 45 44 47 4e  55 45 4d 41 43 53 00 00  |DUMPEDGNUEMACS..|
-00000010  81 e3 b8 e4 33 01 1e c5  18 db 85 f2 95 86 19 7c  |....3..........||
-00000020  be 6f b7 03 f7 61 af d4  c6 d7 bd 74 f2 16 8b e2  |.o...a.....t....|
+00000010  a2 c0 5c 34 51 54 0c 6d  ea e9 6b ed 21 a9 0a 3c  |..\4QT.m..k.!..<|
+00000020  c0 cf 32 1a e7 c6 34 d2  89 ae 77 91 2f e9 09 67  |..2...4...w./..g|
 00000030  98 ce c2 00 bc d7 08 00  88 2d e6 00 5b 00 00 00  |.........-..[...|
 00000040  f8 2e e6 00 b8 16 00 00  d8 89 e6 00 e3 e9 03 00  |................|
 00000050  68 31 f6 00 03 0d 00 00  20 4c 98 00 00 00 9c 00  |h1...... L......|

Here is the diff of the matching Emacs binary:
/usr/bin/emacs-x11 differs in ELF sections
--- old /usr/bin/emacs-x11 (objdump)
+++ new /usr/bin/emacs-x11 (objdump)
@@ -519888,8 +519888,8 @@
  7f1410 2d2d6e6f 2d73706c 61736800 00000000  --no-splash.....
  7f1420 00400000 00000000 00000000 00000000  .@..............
  7f1430 00000000 00000000 00000000 00000000  ................
- 7f1440 81e3b8e4 33011ec5 18db85f2 9586197c  ....3..........|
- 7f1450 be6fb703 f761afd4 c6d7bd74 f2168be2  .o...a.....t....
+ 7f1440 a2c05c34 51540c6d eae96bed 21a90a3c  ..\4QT.m..k.!..<
+ 7f1450 c0cf321a e7c634d2 89ae7791 2fe90967  ..2...4...w./..g
  7f1460 2c010000 00000000 20003900 00000000  ,....... .9.....
  7f1470 ffffffff 15000000 3e000000 7c000000  ........>...|...
  7f1480 12000000 00000000 00000000 00000000  ................

(I had to rebuild to get new logs)



  reply	other threads:[~2023-10-08 20:53 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 [this message]
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
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=87wmvwvnt2.fsf@thaodan.de \
    --to=bjorn.bidar@thaodan.de \
    --cc=emacs-devel@gnu.org \
    --cc=gerd.moellmann@gmail.com \
    /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.