This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What is the status of macOS PowerPC support?


> On 26 Jan 2017, at 10:58, Jonathan Wakely <jwakely.gcc@gmail.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:
> https://gcc.gnu.org/ml/gcc-patches/2017-01/msg00553.html

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).

5.4.0:
https://gcc.gnu.org/ml/gcc-testresults/2017-01/msg02969.html

6.3.0:
https://gcc.gnu.org/ml/gcc-testresults/2017-01/msg02970.html

trunk:

* 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.

https://gcc.gnu.org/ml/gcc-testresults/2017-01/msg02971.html

Hopefully that helps clarify where we’re at presently,
Iain


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]