Opened 5 years ago

Closed 4 years ago

#59268 closed defect (wontfix)

upgrading to gcc9 on SnowLeopard, and progress on upgrading gcc on PowerPC and Leopard Intel

Reported by: kencu (Ken) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc: cjones051073 (Chris Jones), jmroot (Joshua Root), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: gcc9 libgcc9

Description (last modified by kencu (Ken))

It's been two years since I last worked on this much, so I thought it would be time to try to bring the older systems up to harmony, as much as possible. This has been met with some success.

With a very minor patch that looks completely upstreamable, gcc9 and libgcc9 build nicely on 10.6.8, both i386 and x86_64.

There was a hiccup six months ago when the assembler defaulted to an older version that ran into some troubles compiling i386 code 58493 but all the new default compiler updates that came along with MacPorts 2.6.x have fixed that up nicely, and there is no longer such an issue.

gcc9 passes it's test suites reasonably well if not perfectly well -- that's as good as gcc8 did, and it's performed well.

I will attach the test suite runs on i386 and x86_64 for anyone interested.

I haven't yet looked at 10.5 Intel Leopard. Given the results in this ticket, it may very well also be able to jump up to libgcc9/gcc9.

On PowerPC, gcc8/libgcc8 now build through to completion -- I have the test suites running on both Tiger and Leopard. I have not as yet tried building gcc9/libgcc9 on PowerPC.

Change History (9)

comment:1 Changed 5 years ago by kencu (Ken)

Description: modified (diff)

comment:2 Changed 5 years ago by kencu (Ken)

Iain has had good success on darwin9+ with gcc9.

<http://gcc.1065356.n8.nabble.com/Successful-builds-of-GCC-9-2-on-Darwin-tt1616893.html#none>

even without the patch I needed...I'll have to see how that could be. darwin8 is hoped to be supported in gcc 9.3. Perhaps I can help him with that.

He uses a slightly different configure set than we do.

Last edited 5 years ago by kencu (Ken) (previous) (diff)

comment:3 Changed 5 years ago by kencu (Ken)

gcc8 on 10.5 PPC is looking good to use.

comment:4 Changed 5 years ago by kencu (Ken)

Well, libitm didn't fare so well with gcc8 PowerPC 10.5; not sure what that is about. It is passing nicely enough with 10.6 Intel...

comment:5 Changed 5 years ago by kencu (Ken)

OH -- libitm is basically the gcc implementation of the Itanium ABI, so of course it would fail on 10.5 PPC Darwin, which does not support the Itanium ABI. So that is a non-issue, it would appear.

comment:6 Changed 4 years ago by kencu (Ken)

Resolution: wontfix
Status: newclosed

I'll put this project on hold for the foreseeable future, and reopen this ticket if/when I get back to it.

Note: See TracTickets for help on using tickets.