openresty / luajit2

OpenResty's Branch of LuaJIT 2
https://luajit.org/luajit.html
Other
1.24k stars 200 forks source link

ppc64le build broken #131

Closed 0rtz closed 2 years ago

0rtz commented 3 years ago

I get the following error when trying to build on ppc64le:

make -C src
make[1]: Entering directory '/home/luajit2/src'
CC        lj_init.o
HOSTCC    host/minilua.o
HOSTLINK  host/minilua
DYNASM    host/buildvm_arch.h
vm_ppc.dasc:5692: error: .endif without .if:
    |  .endif
vm_ppc.dasc:*: info: fatal error in input file -- no output file generated.
make[1]: *** [Makefile:668: host/buildvm_arch.h] Error 1
make[1]: Leaving directory '/home/luajit2/src'
make: *** [Makefile:113: default] Error 2

The last commit that i can build from is 5f1385520140ea2ece997372bf8cc1affe87c3b8 IIUC it was merged in mainline in 63dee93f4e55faf40d8d417a963cbff5ba606b3b and since then build is broken for some reason

zhuizhuhaomeng commented 2 years ago

@0xRZ would you please try this branch bug_ppc

zhuizhuhaomeng commented 2 years ago

https://github.com/openresty/luajit2/pull/132/files

0rtz commented 2 years ago

@zhuizhuhaomeng Yes, it builds on bug_ppc branch successfully

zhuizhuhaomeng commented 2 years ago

@0xRZ merged