This is the mail archive of the
mailing list for the GCC project.
Re: What is the status of macOS PowerPC support?
- From: Iain Sandoe <iain at codesourcery dot com>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Cc: Segher Boessenkool <segher at kernel dot crashing dot org>, FX <fxcoudert at gmail dot com>, Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Date: Mon, 30 Jan 2017 08:36:28 +0000
- Subject: Re: What is the status of macOS PowerPC support?
- Authentication-results: sourceware.org; auth=none
- References: <1B32B4F9-BD6B-48B9-99AA-956963D4AFBB@gmail.com> <20170125223022.GR30284@gate.crashing.org> <CAH6eHdR=4_pJWOGU_rVPtw6eXZfSBVbvPgj6kM3HO7rvo=E24A@mail.gmail.com>
> On 26 Jan 2017, at 10:58, Jonathan Wakely <email@example.com> wrote:
> On 25 January 2017 at 22:30, Segher Boessenkool wrote:
>> On Wed, Jan 25, 2017 at 04:36:13PM +0100, FX wrote:
>>> I am trying to determine what is the status of the powerpc-apple-darwin target for GCC. The last released version of GCC for which a successful build is reported is 4.9.1 (https://gcc.gnu.org/ml/gcc-testresults/2014-07/msg02093.html), and the last gcc-testresults post I could find was in April 2015 (https://gcc.gnu.org/ml/gcc-testresults/2015-04/msg01438.html), for the GCC 5 branch.
>>> Do GCC 5, GCC 6 and current trunk support powerpc-apple-darwin? The target code is still there, apparently, and the compiler is not on the “obsolete” list.
>> It is actively being worked on (the latest commit is just over a month
>> old it seems). It mostly works, too. It is in better shape than many
>> other targets, I would say.
> Less than a month even:
OK I have taken a while to reply to this, so that I could put some factual input.
* The Darwin port(s) [x86 and ppc] are primarily maintained on a volunteer basis, which means progress is slow and sporadic.
* For my part, I tend to prioritise fixes that will work across the whole Darwin range (which, in practical terms, means powerpc,i686-darwin9 … x86_64-darwin16). [Corresponding to OS X 10.5 => 10.12]
* I usually test : x86_64-darwin1x (currently 15), powerpc-darwin9, i686-darwin10 (and sometimes x86_64-darwin10).
* With lots of help from Segher and Bill (Schmidt), I do try to keep the PowerPC port afloat and actually 5.x/6.x is not in bad shape - it’s possible to build powerpc-darwin9 toolchains capable of building ~ 120 OSS projects including some of the more demanding ones (e.g. LLVM).
* There are a small number of bootstrap fixes needed to trunk (attached to the test-results, for interest).
* Sadly, trunk seems to have regressed for powerpc-darwin9 significantly in the last few weeks, I had clean Ada tests (at least for revision 242913, late November, and likely later), but don’t have time to track this down right now.
Hopefully that helps clarify where we’re at presently,