Description
On my OmniOS VM, I get this error when it tries to build the LuaJit "imported" tree:
test -d "../lib/luajit/src" || (cd ".." && git submodule update --init) test -d "../lib/luajit/src" || cp -rf "./luajit" "../lib/" cd luajit && gmake PREFIX="/usr/local" CC="/opt/gcc-4.8.1/bin/gcc" CFLAGS="-m64 -g -pipe -Wall -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -mcx16" gmake[3]: Entering directory `/tmp/trafficserver/lib/luajit' ==== Building LuaJIT 2.0.3 ==== gmake -C src gmake[4]: Entering directory `/tmp/trafficserver/lib/luajit/src' HOSTLINK host/minilua ld: fatal: file host/minilua.o: wrong ELF class: ELFCLASS64 ld: fatal: file processing errors. No output written to host/minilua
A wild guess it that it's something with the CFLAGS, but was hoping some of the OmniOS expertise could help? I did verify that compiling with the CFLAGS "works", but I worry we might break other platform if we don't pass along our CFLAGS?