GNU bug report logs - #45455
[nextstep]: Emacs master does not compile on Apple Silicon (arm64)

Previous Next

Package: emacs;

Reported by: Artem Loenko <artyom.loenko <at> mac.com>

Date: Sun, 27 Dec 2020 11:54:02 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Artem Loenko <artyom.loenko <at> mac.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 45455 <at> debbugs.gnu.org
Subject: Re: bug#45455: [nextstep]: Emacs master does not compile on Apple
 Silicon (arm64)
Date: Mon, 28 Dec 2020 12:11:00 +0100
Am Mo., 28. Dez. 2020 um 12:07 Uhr schrieb Artem Loenko <artyom.loenko <at> mac.com>:
>
> On 28 Dec 2020, at 03:27, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
>
> Date: Sun, 27 Dec 2020 21:37:23 +0000
> Cc: 45455 <at> debbugs.gnu.org
> From: Artem Loenko via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> I see two options:
>
> - Backport `arm64:Darwin:*:*)` support within `config.guess` to emacs-27 branch and switch to
> `aarch64-apple-darwin` everywhere
> - Do not backport, but switch to `aarch64-apple-darwin` everywhere anyway :)
>
> What do you think?
>
>
> The latter, please.  It's too late to backport config.guess to the
> release branch, and I see no good reason to do so.
>
>
> Then the patch in the initial message will do. We have to apply it to the master and emacs-27 (if there will be more releases from it) branches. I just checked, Emacs compiles fine on both branches with the patch on Apple Silicon. Or we can revert the following commit – https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-27&id=fda9b3e83a434706c31ab1bee5c15511c0181d5a

I installed that commit because without it, building the emacs-27
branch doesn't work on my system (due to the architecture mismatch).
Why do you think that reverting it won't break the build again?




This bug report was last modified 4 years and 205 days ago.

Previous Next


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