Subject: bug#44531: 27.1; Emacs 27 fails to build from source on m68k (regression)

From: Stefan Monnier <[email-masked]>
Date: Sat, 02 Jul 2022 15:28:33 -0400

> dumping fingerprint: 7b5c59c589dc151eb1e4269bd83fbe809616b5cb9bb5c80014d5b560b391dfb6
> dump relocation out of range

This error message basically says that the relation is not a multiple of
the minimum expected alignment.  So it seems to be a direct consequence
of the 16bit alignment used on m68k combined with the following from
pdumper.el:

   [...]
   DUMP_RELOC_ALIGNMENT_BITS = 2,

   /* Minimum alignment required by dump file format.  */
   DUMP_RELOCATION_ALIGNMENT = 1 << DUMP_RELOC_ALIGNMENT_BITS,
   [...]

I can't see anything in the code which explains what this alignment
requirement is about.  You can try lowering DUMP_RELOC_ALIGNMENT_BITS
to 1 and see if that works (long shot).
Daniel?

        Stefan