After work that has been underway since the GCC 10 days in 2020, and that already ships in Homebrew and MacPorts builds of the compiler, upstream GCC 17 might finally get native AArch64 Darwin support for macOS on Apple silicon, Phoronix reports. Longtime open-source developer Iain Sandoe posted the patch series and said he hopes it can land in GCC 17.
Feature development for GCC 17 is ending, as I noted when stage one was wrapping up, but a new port can still get a little more time. The GCC 17.1 stable release is still expected around March or April. Nothing has been merged on the strength of this announcement, and this is not a compiler you go install today.
My take
If you have been building GCC from Homebrew or MacPorts on an Apple silicon Mac, you have probably already been living with this work. Getting it into upstream GCC 17 would still be a nice cleanup. I’ll wait to see whether the patches actually land before treating native AArch64 Darwin as a 17.1 feature.
God Bless, and Use the Source!