On 2015-08-02, Antoine Jacoutot <[email protected]> wrote:

>> Modified files:
>>      games/supertuxkart: Makefile 
>> 
>> Log message:
>> Don't even attempt to build this on anything but amd64 and i386.  3D accel
>> isn't nearly good enough to run it on sparc64 or macppc.
>
> Hmm I am not sure I like this -- the above is true for a lot of other ports 
> as well.
> There is ongoing work on 3D and macppc and it's nice to have things we can 
> test.
> Besides being slow, is there any actual breakage?

I triggered that commit.

supertuxkart spectactularly fails to build on sparc64 because of amd64
assembly:
http://build-failures.rhaalovely.net/sparc64/2015-06-17/games/supertuxkart.log

That's easy enough to fix, see below, but then it still fails to run
(at least with X11 forwarded through SSH; I can't test local X11):

supertuxkart:/usr/lib/libstdc++.so.57.0: /usr/local/lib/libestdc++.so.17.0 : 
WARNING: symbol(_ZN11__gnu_debug17_S_debug_messagesE) size mismatch, relink 
your program
[verbose  ] main: Error messages and other text output will be logged to 
/home/naddy/.config/supertuxkart/0.8.2/stdout.log.
terminate called after throwing an instance of 'std::runtime_error'
terminate called recursively
Abort trap (core dumped) 

Index: patches/patch-lib_angelscript_source_as_config_h
===================================================================
RCS file: patches/patch-lib_angelscript_source_as_config_h
diff -N patches/patch-lib_angelscript_source_as_config_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-lib_angelscript_source_as_config_h    1 Aug 2015 22:49:38 
-0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- lib/angelscript/source/as_config.h.orig    Tue Apr 21 13:32:17 2015
++++ lib/angelscript/source/as_config.h Sat Aug  1 16:45:33 2015
+@@ -853,7 +853,7 @@
+                       #define COMPLEX_RETURN_MASK (asOBJ_APP_CLASS_DESTRUCTOR 
| asOBJ_APP_CLASS_COPY_CONSTRUCTOR)
+                       #define THISCALL_PASS_OBJECT_POINTER_ON_THE_STACK
+                       #define AS_X86
+-              #elif defined(__LP64__)
++              #elif defined(__amd64__)
+                       #define AS_X64_GCC
+                       #define HAS_128_BIT_PRIMITIVES
+                       #define SPLIT_OBJS_BY_MEMBER_TYPES

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to