Leif Hedstrom created TS-2858: --------------------------------- Summary: Current master fails to build on OmniOS Key: TS-2858 URL: https://issues.apache.org/jira/browse/TS-2858 Project: Traffic Server Issue Type: Bug Components: Build Reporter: Leif Hedstrom
On my OmniOS VM, I get this error when it tries to build the LuaJit "imported" tree: {code} 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 {code} 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? -- This message was sent by Atlassian JIRA (v6.2#6252)