On Tue, November 21, 2017 19:19, Jeremie Courreges-Anglas wrote:
> 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?

Hi!
I'm currently trying to build tome4 on macppc. It will take some more time
on my single core G5 :)
But... audio/openal uses COMPILER=base-clang ports-clang ports-gcc and have
no chance to be built on powerpc because llvm is marked broken on that arch.
It builds with ports-gcc.

>
>> 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
>>
>


Reply via email to