Andreas Schwab <
address@hidden> schrieb am Mi., 23. März 2016 um 09:03 Uhr:
Philipp Stephani <address@hidden> writes:
> Unfortunately there are still ~1000 differing bytes left.
> Is it possible to determine the source address in temacs/bootstrap-emacs
> from the position in the ,bss segment?
Set a watchpoint.
Thanks, I've used that (and 'info symbol') to search for a couple more sources of nondeterminism. So far I've found:
- various jmp_buf objects; these can most likely be zeroed out before dumping
- gl_state; could also be zeroed
- consing_since_gc; Fdump_emacs could just call Fgarbage_collect to reset it (though I'm wondering why this difference exists; AFAIK the garbage collector should be pretty deterministic)