[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44531: 27.1; Emacs 27 fails to build from source on m68k (regression
From: |
Stefan Monnier |
Subject: |
bug#44531: 27.1; Emacs 27 fails to build from source on m68k (regression) |
Date: |
Sun, 04 Sep 2022 12:05:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> 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