Hi,

dyncall fails to build in the current macppc bulk:

> /usr/obj/ports/dyncall-1.1/dyncall-1.1/dyncall/dyncall_call_ppc32.S:
> 36:11: error: unrecognized machine type .machine ppc
>           ^
> /usr/obj/ports/dyncall-1.1/dyncall-1.1/dyncall/dyncall_call_ppc32.S:
> 103:11: error: invalid operand for instruction cmpi cr0,5,0

The assembly being is not compatible with clang's integrated assembler,
disabling it allows dyncall to be built. REVISION bump is not needed, it
has never been built on macppc.


Comments/feedback are welcome,

Charlène.


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/dyncall/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile    15 Apr 2020 17:11:37 -0000      1.1.1.1
+++ Makefile    25 May 2020 21:11:36 -0000
@@ -19,4 +19,9 @@ MODULES=      devel/cmake
 
 NO_TEST=       Yes
 
+# Assembly incompatible with clang's integrated assembler
+.if ${MACHINE_ARCH:Mpowerpc}
+CFLAGS +=      -fno-integrated-as
+.endif
+
 .include <bsd.port.mk>


Reply via email to