public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gcczilla at cpellegrino dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/96168] GCC support for Apple Silicon (Arm64) on macOS requested
Date: Sat, 11 Jul 2020 21:40:51 +0000	[thread overview]
Message-ID: <bug-96168-4-D4J4MKiIoA@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-96168-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168

--- Comment #7 from Claudia Pellegrino <gcczilla at cpellegrino dot de> ---
Thanks Eric, and thank you Iain for the ballpark estimate.

Just to add a piece of data to get a better idea of the work involved, here’s a
link to a document published by Apple. It specifies how their ABI differs from
the standard ARM64 one:
https://developer.apple.com/library/archive/documentation/Xcode/Conceptual/iPhoneOSABIReference/Articles/ARM64FunctionCallingConventions.html

Note that the document says iPhone OS but after a few cursory checks, the ABI
of macOS 11 on Apple Silicon seems entirely identical to the iOS one – which
makes sense, given the SoCs are the same and their kernels and large parts of
either OS are known to be built from the same source.

To give proper credit: I didn’t do those quick checks myself but macOS/iOS
security researcher Saagar Jha did, who is cc’ed on this bug and knows a ton
more about Apple’s OSes than I do.

  parent reply	other threads:[~2020-07-11 21:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-11 16:32 [Bug bootstrap/96168] New: Cannot bootstrap with Xcode 12 Beta on aarch64, macOS 11.0/Darwin, Apple Silicon gcczilla at cpellegrino dot de
2020-07-11 16:39 ` [Bug bootstrap/96168] " gcczilla at cpellegrino dot de
2020-07-11 16:40 ` pinskia at gcc dot gnu.org
2020-07-11 16:42 ` pinskia at gcc dot gnu.org
2020-07-11 16:50 ` gcczilla at cpellegrino dot de
2020-07-11 20:19 ` egallager at gcc dot gnu.org
2020-07-11 20:56 ` [Bug bootstrap/96168] GCC support for Apple Silicon (Arm64) on macOS requested iains at gcc dot gnu.org
2020-07-11 21:40 ` gcczilla at cpellegrino dot de [this message]
2020-07-11 23:40 ` [Bug target/96168] " keno at juliacomputing dot com
2020-07-12  0:48 ` pinskia at gcc dot gnu.org
2020-08-18  6:45 ` tkoenig at gcc dot gnu.org
2020-08-18  7:47 ` iains at gcc dot gnu.org
2021-04-26 18:19 ` noloader at gmail dot com
2021-11-05 23:18 ` timturnerc at yahoo dot com
2023-02-20 17:41 ` iains at gcc dot gnu.org

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

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

  git send-email \
    --in-reply-to=bug-96168-4-D4J4MKiIoA@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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.
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).