unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Stefan Kangas <stefan@marxist.se>
Cc: Roland Kaufmann <rlndkfmn+emacs@gmail.com>, 41994@debbugs.gnu.org
Subject: bug#41994: Emacs on Apple ARM devices
Date: Fri, 14 Aug 2020 16:15:40 +0200	[thread overview]
Message-ID: <m24kp55n5f.fsf@gmail.com> (raw)
In-Reply-To: <CADwFkmk9b6P5v=871AM1wFynKhtR32yfk3mWbZHjvti=T6TkuQ@mail.gmail.com> (Stefan Kangas's message of "Fri, 14 Aug 2020 02:17:18 -0700")

>>>>> On Fri, 14 Aug 2020 02:17:18 -0700, Stefan Kangas <stefan@marxist.se> said:

    Stefan> Roland Kaufmann <rlndkfmn+emacs@gmail.com> writes:
    >> Code generation on Apple's ARM devices is mostly similar to MacOS, except that
    >> they expect a code signature section, which to avoid wasting too many bytes, are
    >> not aligned on page size as with code, but rather to nearest 16 bytes. In
    >> addition, the ARM compiler will also emit some relative pointer relocation
    >> records, which it seems can be safely ignored as sections aren't rearranged.
    >> 
    >> This changeset implements those changes on the Mach-O dumper so that Emacs can
    >> be compiled for ARM devices. With the ongoing convergence between the MacOS and
    >> iOS platform, and the increasing importance of code-signing in later MacOS
    >> versions, I think it could be nice to mainline these changes.
    >> 
    >> Since these sections do not occur in current MacOS builds - otherwise they would
    >> generate errors for being unknown - the changes should not impact existing
    >> places where Emacs build, and it would not work on iOS without to begin with.
    >> 
    >> Hat tip to Aaron Griffith for sharing his knowledge.

    Stefan> This series of patches was submitted 8 weeks ago, but never got a reply
    Stefan> at the time.

    Stefan> Could someone with more knowledge about this please help review it?

Are these patches even still needed now that emacs-27 has a portable
dumper?

Robert





  reply	other threads:[~2020-08-14 14:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-21 22:13 bug#41994: Emacs on Apple ARM devices Roland Kaufmann
2020-08-14  9:17 ` Stefan Kangas
2020-08-14 14:15   ` Robert Pluim [this message]
2020-08-14 20:11     ` Alan Third
2020-08-14 22:10       ` Roland Kaufmann
2020-08-14 23:04         ` Alan Third
2020-08-15  7:38           ` Roland Kaufmann
2020-08-15 11:45       ` Robert Pluim
2020-08-15 16:17         ` Alan Third

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=m24kp55n5f.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=41994@debbugs.gnu.org \
    --cc=rlndkfmn+emacs@gmail.com \
    --cc=stefan@marxist.se \
    /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).