On Mon, Aug 03, 2015 at 12:28:34PM +0200, Pascal Stumpf wrote:
> On Sun, 2 Aug 2015 16:15:26 +0200, Antoine Jacoutot wrote:
> > Ok but then why mark it broken on PowerPC if the breakage is sparc64 
> > related?
> 
> Because naddy@'s mail reminded me that I had simply forgotten to set
> ONLY_FOR_ARCHS=amd64 i386.

Then followin mpi's mail, I think you should at least add macppc to the list.

> > -----Original Message-----
> > From: "Christian Weisgerber" <[email protected]>
> > To: "[email protected]" <[email protected]>
> > Subject: Re: CVS: cvs.openbsd.org: ports
> > 
> > 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.lo
> > g
> > 
> > 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]
> 

-- 
Antoine

Reply via email to