Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
failed with CC='gcc -m32' on osx
sunshine5:lev hnakamur$ rm -rf *
sunshine5:lev hnakamur$ CC='gcc -m32' cmake -DUSE_SYSTEM_LUAJIT=0 -DUSE_SYSTEM_OPENSSL=0 -D USE_SYSTEM_UV=0 -DUSE_SYSTEM_YAJL=0 -DUSE_SYSTEM_ZLIB=0 -DUSE_YAJL=1 -DUSE_ZLIB=1 -DUSE_OPENSSL=1 -DUSE_SYSTEM_HTTP_PARSER=0 -DUSE_HTTP_PARSER=1 ~/xming/lev
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 4.0.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/lev
sunshine5:lev hnakamur$ CC='gcc -m32' make
Scanning dependencies of target LUAJIT
[ 1%] Creating directories for 'LUAJIT'
[ 2%] Performing download step (verify and extract) for 'LUAJIT'
-- verifying file...
file='/Users/hnakamur/xming/lev/tarballs/LuaJIT-2.0.0-beta10.tar.gz'
-- verifying file... done
-- extracting...
src='/Users/hnakamur/xming/lev/tarballs/LuaJIT-2.0.0-beta10.tar.gz'
dst='/tmp/lev/LUAJIT-prefix/src/LUAJIT'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 3%] Performing AddCmake step for 'LUAJIT'
[ 4%] No patch step for 'LUAJIT'
[ 5%] No update step for 'LUAJIT'
[ 6%] Performing configure step for 'LUAJIT'
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 4.0.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The ASM-ATT compiler identification is unknown
-- Found assembler: /usr/bin/as
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
LUAJIT_INCLUDE_DIR
LUAJIT_LIBRARIES
-- Build files have been written to: /tmp/lev/LUAJIT-prefix/src/LUAJIT
[ 7%] Performing build step for 'LUAJIT'
Scanning dependencies of target buildvm
[ 1%] Building C object CMakeFiles/buildvm.dir/src/buildvm.c.o
[ 2%] Building C object CMakeFiles/buildvm.dir/src/buildvm_asm.c.o
[ 4%] Building C object CMakeFiles/buildvm.dir/src/buildvm_fold.c.o
[ 5%] Building C object CMakeFiles/buildvm.dir/src/buildvm_lib.c.o
[ 7%] Building C object CMakeFiles/buildvm.dir/src/buildvm_peobj.c.o
Linking C executable buildvm
[ 7%] Built target buildvm
[ 8%] Generating lj_recdef.h
[ 9%] Generating lj_vm.s
[ 11%] Generating lj_folddef.h
[ 12%] Generating lj_bcdef.h
[ 14%] Generating lj_ffdef.h
[ 15%] Generating lj_libdef.h
Scanning dependencies of target luajit-lib
[ 16%] Building C object CMakeFiles/luajit-lib.dir/src/lj_alloc.c.o
[ 18%] Building C object CMakeFiles/luajit-lib.dir/src/lj_api.c.o
[ 19%] Building C object CMakeFiles/luajit-lib.dir/src/lj_asm.c.o
[ 21%] Building C object CMakeFiles/luajit-lib.dir/src/lj_bc.c.o
[ 22%] Building C object CMakeFiles/luajit-lib.dir/src/lj_bcread.c.o
[ 23%] Building C object CMakeFiles/luajit-lib.dir/src/lj_bcwrite.c.o
[ 25%] Building C object CMakeFiles/luajit-lib.dir/src/lj_carith.c.o
[ 26%] Building C object CMakeFiles/luajit-lib.dir/src/lj_ccall.c.o
[ 28%] Building C object CMakeFiles/luajit-lib.dir/src/lj_ccallback.c.o
[ 29%] Building C object CMakeFiles/luajit-lib.dir/src/lj_cconv.c.o
[ 30%] Building C object CMakeFiles/luajit-lib.dir/src/lj_cdata.c.o
[ 32%] Building C object CMakeFiles/luajit-lib.dir/src/lj_char.c.o
[ 33%] Building C object CMakeFiles/luajit-lib.dir/src/lj_clib.c.o
[ 35%] Building C object CMakeFiles/luajit-lib.dir/src/lj_cparse.c.o
[ 36%] Building C object CMakeFiles/luajit-lib.dir/src/lj_crecord.c.o
[ 38%] Building C object CMakeFiles/luajit-lib.dir/src/lj_ctype.c.o
[ 39%] Building C object CMakeFiles/luajit-lib.dir/src/lj_debug.c.o
[ 40%] Building C object CMakeFiles/luajit-lib.dir/src/lj_dispatch.c.o
[ 42%] Building C object CMakeFiles/luajit-lib.dir/src/lj_err.c.o
[ 43%] Building C object CMakeFiles/luajit-lib.dir/src/lj_ffrecord.c.o
[ 45%] Building C object CMakeFiles/luajit-lib.dir/src/lj_func.c.o
[ 46%] Building C object CMakeFiles/luajit-lib.dir/src/lj_gc.c.o
[ 47%] Building C object CMakeFiles/luajit-lib.dir/src/lj_gdbjit.c.o
[ 49%] Building C object CMakeFiles/luajit-lib.dir/src/lj_ir.c.o
[ 50%] Building C object CMakeFiles/luajit-lib.dir/src/lj_lex.c.o
[ 52%] Building C object CMakeFiles/luajit-lib.dir/src/lj_lib.c.o
[ 53%] Building C object CMakeFiles/luajit-lib.dir/src/lj_mcode.c.o
[ 54%] Building C object CMakeFiles/luajit-lib.dir/src/lj_meta.c.o
[ 56%] Building C object CMakeFiles/luajit-lib.dir/src/lj_obj.c.o
[ 57%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_dce.c.o
[ 59%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_fold.c.o
[ 60%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_loop.c.o
[ 61%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_mem.c.o
[ 63%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_narrow.c.o
[ 64%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_split.c.o
[ 66%] Building C object CMakeFiles/luajit-lib.dir/src/lj_parse.c.o
[ 67%] Building C object CMakeFiles/luajit-lib.dir/src/lj_record.c.o
[ 69%] Building C object CMakeFiles/luajit-lib.dir/src/lj_snap.c.o
[ 70%] Building C object CMakeFiles/luajit-lib.dir/src/lj_state.c.o
[ 71%] Building C object CMakeFiles/luajit-lib.dir/src/lj_str.c.o
[ 73%] Building C object CMakeFiles/luajit-lib.dir/src/lj_tab.c.o
[ 74%] Building C object CMakeFiles/luajit-lib.dir/src/lj_trace.c.o
[ 76%] Building C object CMakeFiles/luajit-lib.dir/src/lj_udata.c.o
[ 77%] Building C object CMakeFiles/luajit-lib.dir/src/lj_vmevent.c.o
[ 78%] Building C object CMakeFiles/luajit-lib.dir/src/lj_vmmath.c.o
[ 80%] Building C object CMakeFiles/luajit-lib.dir/src/lib_base.c.o
[ 81%] Building C object CMakeFiles/luajit-lib.dir/src/lib_math.c.o
[ 83%] Building C object CMakeFiles/luajit-lib.dir/src/lib_bit.c.o
[ 84%] Building C object CMakeFiles/luajit-lib.dir/src/lib_string.c.o
[ 85%] Building C object CMakeFiles/luajit-lib.dir/src/lib_table.c.o
[ 87%] Building C object CMakeFiles/luajit-lib.dir/src/lib_io.c.o
[ 88%] Building C object CMakeFiles/luajit-lib.dir/src/lib_os.c.o
[ 90%] Building C object CMakeFiles/luajit-lib.dir/src/lib_package.c.o
[ 91%] Building C object CMakeFiles/luajit-lib.dir/src/lib_debug.c.o
[ 92%] Building C object CMakeFiles/luajit-lib.dir/src/lib_jit.c.o
[ 94%] Building C object CMakeFiles/luajit-lib.dir/src/lib_ffi.c.o
[ 95%] Building ASM-ATT object CMakeFiles/luajit-lib.dir/lj_vm.s.o
buildvm_x86.dasc:7090:Unknown pseudo-op: .non_lazy_symbol_pointer
buildvm_x86.dasc:7092:Unknown pseudo-op: .indirect_symbol
buildvm_x86.dasc:7092:Rest of line ignored. 1st junk character valued 95 (_).
make[5]: *** [CMakeFiles/luajit-lib.dir/lj_vm.s.o] Error 1
make[4]: *** [CMakeFiles/luajit-lib.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [LUAJIT-prefix/src/LUAJIT-stamp/LUAJIT-build] Error 2
make[1]: *** [CMakeFiles/LUAJIT.dir/all] Error 2
make: *** [all] Error 2
@hnakamur

This comment has been minimized.

Copy link
Owner Author

hnakamur commented Aug 31, 2012

i ran this without the diff at https://gist.github.com/3560009.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.