Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2858

Current master fails to build on OmniOS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • Build
    • None

    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?

      Attachments

        Activity

          People

            zwoop Leif Hedstrom
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: