On Tue, Nov 21 2017, Solène Rapenne <[email protected]> wrote: > Building games/tome4 on powerpc (macppc kernel) fail > > [-----] > ==== Building luajit2 (release) ==== > Creating ../obj/Release/luajit2 > mkdir -p ../obj/Release/luajit2 > Running pre-build commands > [---cut----] > In file included from ../src/luajit2/src/lj_obj.h:14:0, > from ../src/luajit2/src/lj_dispatch.c:9: > ../src/luajit2/src/lj_arch.h:321:2: error: #error "No support for > little-endian PowerPC" > #error "No support for little-endian PowerPC" > ^ > > I propose to remove powerpc as a supported arch
Fair proposal. lang/luajit has a patch to explicitely disable this error message, plus another one for the generated asm. What I don't understand, though, is why luajit thinks that powerpc is little-endian: our powerpc architecture is definitely big-endian. Could you please try to run ''make test'' in lang/luajit on powerpc? > Index: Makefile > =================================================================== > RCS file: /cvs/ports/games/tome4/Makefile,v > retrieving revision 1.11 > diff -u -p -r1.11 Makefile > --- Makefile 19 Nov 2017 19:47:43 -0000 1.11 > +++ Makefile 21 Nov 2017 12:38:45 -0000 > @@ -5,7 +5,7 @@ > # Other arches will fail with > # ../src/luajit2/src/lj_arch.h:55:2: error: #error "No support for > # this architecture (yet)" > -ONLY_FOR_ARCHS = powerpc i386 amd64 > +ONLY_FOR_ARCHS = i386 amd64 > > COMMENT-main = graphical sdl rogue-like game > COMMENT-data = data for Tales of Maj'Eyal > -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
