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

From: Stefan Monnier <[email-masked]>
Date: Sun, 04 Sep 2022 12:05:48 -0400

> I just gave lowering DUMP_RELOC_ALIGNMENT_BITS to 1 and it fixes the problem
> for me. Maybe DUMP_RELOC_ALIGNMENT_BITS could be set depending on the native
> alignment of the host machine?

That's right.
If someone can come up with a corresponding patch that would be great.
The alignment is a question of ABI convention, so I'm not sure how best
to do it, but maybe something like:

    struct dummy
    {
      char a;
      Lisp_Object b;
    }

    #define DUMP_RELOC_ALIGNMENT_BITS log2 (offsetof (struct dummy, b))

?

        Stefan