On Sat, 9 Mar 2019 17:50:27 -0500
Brad Smith <b...@comstyle.com> wrote:

> Here is a start at an update to GCC 8.3.0.

Thank you for posting this!  To solve the conflict with 8.2.0p2, I
edited Makefile to change REVISION = 2 back to REVISION = 1 before
I applied your diff.

GCC 8.2.0 was working well on my powerpc machine (a PowerBook G4
running OpenBSD/macppc), except for a few ports that have compiler
errors with recent gcc versions.  I started to build 8.3.0 with your
patch, but I run the G4 at half speed (666 MHz), so the build might
take about 37 to 38 hours.

I will be trying 8.3.0 as ports-gcc with the below diff, and with
GCC_VER = 8.3.0 in devel/llvm/Makefile (plus some new patches, because
llvm has problems on powerpc), and with my patches for x11/qt4 (from
https://marc.info/?l=openbsd-ports&m=154887662015606&w=2 ).

Index: infrastructure/mk/gcc4.port.mk
===================================================================
RCS file: /cvs/ports/infrastructure/mk/gcc4.port.mk,v
retrieving revision 1.13
diff -u -p -r1.13 gcc4.port.mk
--- infrastructure/mk/gcc4.port.mk      2 Feb 2019 18:44:38 -0000       1.13
+++ infrastructure/mk/gcc4.port.mk      16 Mar 2019 21:40:44 -0000
@@ -1,4 +1,4 @@
-.if ${MACHINE_ARCH} == "aarch64"
+.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "powerpc"
 MODGCC4_VERSION?=8
 .else
 MODGCC4_VERSION?=4.9

-- 
George Koehler <kern...@gmail.com>

Reply via email to