unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: 44531@debbugs.gnu.org, Daniel Colascione <dancol@dancol.org>
Subject: bug#44531: 27.1; Emacs 27 fails to build from source on m68k (regression)
Date: Sun, 04 Sep 2022 12:05:48 -0400	[thread overview]
Message-ID: <jwvk06juo0d.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <5aab8c76-0b8b-2da7-96d8-ffbfa50a09bb@physik.fu-berlin.de> (John Paul Adrian Glaubitz's message of "Sun, 4 Sep 2022 10:02:06 +0200")

> 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






      reply	other threads:[~2022-09-04 16:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-09 13:30 bug#44531: 27.1; Emacs 27 fails to build from source on m68k (regression) John Paul Adrian Glaubitz
     [not found] ` <handler.44531.B.160492867316655.ack@debbugs.gnu.org>
2020-11-09 19:34   ` bug#44531: Acknowledgement (27.1; Emacs 27 fails to build from source on m68k (regression)) John Paul Adrian Glaubitz
2020-11-21  7:47 ` bug#44531: 27.1; Emacs 27 fails to build from source on m68k (regression) Eli Zaretskii
2020-11-21  8:07   ` Daniel Colascione
2020-11-23 12:35     ` John Paul Adrian Glaubitz
2021-09-08  9:48       ` Lars Ingebrigtsen
2021-09-08 11:28         ` John Paul Adrian Glaubitz
2021-10-07  9:19         ` Lars Ingebrigtsen
2021-10-07  9:20           ` Lars Ingebrigtsen
2021-10-07  9:37           ` John Paul Adrian Glaubitz
2022-07-02 19:28 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-23 14:42   ` Pip Cet
2022-08-16 21:38     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-04  8:02   ` John Paul Adrian Glaubitz
2022-09-04 16:05     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvk06juo0d.fsf-monnier+emacs@gnu.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=44531@debbugs.gnu.org \
    --cc=dancol@dancol.org \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).