[ https://issues.apache.org/jira/browse/TS-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012644#comment-14012644 ]
ASF subversion and git services commented on TS-2858: ----------------------------------------------------- Commit 1cb12a93a0df96e5c38e77076bcc1337e4caaa31 in trafficserver's branch refs/heads/master from [~zwoop] [ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=1cb12a9 ] TS-2858 Build failures on OmniOS > 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 > Fix For: 5.0.0 > > > 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)