GNU bug report logs - #44531
27.1; Emacs 27 fails to build from source on m68k (regression)

Previous Next

Package: emacs;

Reported by: John Paul Adrian Glaubitz <glaubitz <at> physik.fu-berlin.de>

Date: Mon, 9 Nov 2020 13:32:01 UTC

Severity: important

Found in version 27.1

Full log


Message #53 received at 44531 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: John Paul Adrian Glaubitz <glaubitz <at> physik.fu-berlin.de>
Cc: 44531 <at> debbugs.gnu.org, Daniel Colascione <dancol <at> dancol.org>
Subject: Re: bug#44531: 27.1; Emacs 27 fails to build from source on m68k
 (regression)
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





This bug report was last modified 2 years and 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.