Wednesday, July 31, 2019

[macppc, sparc64] games/godot won't build there

We're currently trying to build godot on these 2 archs for nothing and
it's pretty time consuming: ~6 hours on a PowerBook 5,8.

> http://build-failures.rhaalovely.net/powerpc/2019-07-14/games/godot.log

There were occurrences of NULL that gcc does not consider as boolean
false as you can read in the log, that was easy to fix, but then:

core/safe_refcount.h:126: undefined reference to `__sync_add_and_fetch_8'

(...and more). We don't support the 64-bit __sync_* family, only the
newer __atomic_* one. So i've marked it as BROKEN like the others.

> http://build-failures.rhaalovely.net/sparc64/2019-07-11/games/godot.log

The log says that the architecture is not supported.

OK?


Charlène.


Index: Makefile
===================================================================
RCS file: /cvs/ports/games/godot/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile 12 Jul 2019 20:46:19 -0000 1.7
+++ Makefile 31 Jul 2019 17:55:57 -0000
@@ -1,5 +1,8 @@
# $OpenBSD: Makefile,v 1.7 2019/07/12 20:46:19 sthen Exp $

+NOT_FOR_ARCHS = sparc64
+BROKEN-powerpc = undefined reference to __sync_sub_and_fetch_8
+
COMMENT = 2D and 3D game engine

V = 3.0.6

No comments:

Post a Comment