On Sun, 11 Sep 2022 13:48:34 -0700 Kyle Milz <krwm...@gmail.com> wrote:
> Recently I needed plan9port for i386 and to my surprise it builds and > light testing of mk and acme work fine. > > I was curious if macppc was also fixed, so I built and tested that as > well, with the same results. Good find! I can also build it on powerpc64. I applied your diff and deleted ONLY_FOR_ARCHS, so I have the diff below. I can run a few simple commands like "9 man intro" and "9 ls" on macppc and powerpc64. I can also start 9term on macppc; I'm not running X on powerpc64. The broken OpenBSD-386-asm.S no longer exists, after git commits to src/libthread in Dec 2020 deleted OpenBSD-*-asm.S and switched to pthreads(3). This might fix the threading problems and allow any OpenBSD arch to build plan9port. --George Index: Makefile =================================================================== RCS file: /cvs/ports/plan9/plan9port/Makefile,v retrieving revision 1.39 diff -u -p -r1.39 Makefile --- Makefile 11 Mar 2022 19:49:08 -0000 1.39 +++ Makefile 14 Sep 2022 20:57:45 -0000 @@ -1,7 +1,3 @@ -ONLY_FOR_ARCHS = amd64 i386 powerpc -BROKEN-i386 = various "invalid operand for instruction", OpenBSD-386-asm.S -BROKEN-powerpc = threading issues - COMMENT = Plan 9 from user space DISTNAME = plan9port-20210323