Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
unrecognized option `-malign-double' on MinGW
$ make
[ 1%] Performing download step (verify and extract) for 'LUAJIT'
-- verifying file...
file='C:/MinGW/msys/1.0/home/hnakamur/xming/lev/tarballs/LuaJIT-2.0.0-beta10.tar.gz'
-- verifying file... done
-- extracting...
src='C:/MinGW/msys/1.0/home/hnakamur/xming/lev/tarballs/LuaJIT-2.0.0-beta10.tar.gz'
dst='C:/Users/hnakamur/AppData/Local/Temp/lev/LUAJIT-prefix/src/LUAJIT'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 1%] Performing AddCmake step for 'LUAJIT'
[ 2%] No patch step for 'LUAJIT'
[ 3%] No update step for 'LUAJIT'
[ 4%] Performing configure step for 'LUAJIT'
-- The C compiler identification is GNU 4.7.0
-- The CXX compiler identification is GNU 4.7.0
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The ASM-ATT compiler identification is GNU
-- Found assembler: C:/MinGW/bin/as.exe
-- 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: C:/Users/hnakamur/AppData/Local/Temp/lev/LUAJIT-prefix/src/LUAJIT
[ 5%] Performing build step for 'LUAJIT'
Scanning dependencies of target buildvm
[ 1%] Building C object CMakeFiles/buildvm.dir/src/buildvm.c.obj
[ 2%] Building C object CMakeFiles/buildvm.dir/src/buildvm_asm.c.obj
[ 4%] Building C object CMakeFiles/buildvm.dir/src/buildvm_fold.c.obj
[ 5%] Building C object CMakeFiles/buildvm.dir/src/buildvm_lib.c.obj
[ 7%] Building C object CMakeFiles/buildvm.dir/src/buildvm_peobj.c.obj
Linking C executable buildvm.exe
[ 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.obj
[ 18%] Building C object CMakeFiles/luajit-lib.dir/src/lj_api.c.obj
[ 19%] Building C object CMakeFiles/luajit-lib.dir/src/lj_asm.c.obj
[ 21%] Building C object CMakeFiles/luajit-lib.dir/src/lj_bc.c.obj
[ 22%] Building C object CMakeFiles/luajit-lib.dir/src/lj_bcread.c.obj
[ 23%] Building C object CMakeFiles/luajit-lib.dir/src/lj_bcwrite.c.obj
[ 25%] Building C object CMakeFiles/luajit-lib.dir/src/lj_carith.c.obj
[ 26%] Building C object CMakeFiles/luajit-lib.dir/src/lj_ccall.c.obj
[ 28%] Building C object CMakeFiles/luajit-lib.dir/src/lj_ccallback.c.obj
[ 29%] Building C object CMakeFiles/luajit-lib.dir/src/lj_cconv.c.obj
[ 30%] Building C object CMakeFiles/luajit-lib.dir/src/lj_cdata.c.obj
[ 32%] Building C object CMakeFiles/luajit-lib.dir/src/lj_char.c.obj
[ 33%] Building C object CMakeFiles/luajit-lib.dir/src/lj_clib.c.obj
[ 35%] Building C object CMakeFiles/luajit-lib.dir/src/lj_cparse.c.obj
[ 36%] Building C object CMakeFiles/luajit-lib.dir/src/lj_crecord.c.obj
[ 38%] Building C object CMakeFiles/luajit-lib.dir/src/lj_ctype.c.obj
[ 39%] Building C object CMakeFiles/luajit-lib.dir/src/lj_debug.c.obj
[ 40%] Building C object CMakeFiles/luajit-lib.dir/src/lj_dispatch.c.obj
[ 42%] Building C object CMakeFiles/luajit-lib.dir/src/lj_err.c.obj
[ 43%] Building C object CMakeFiles/luajit-lib.dir/src/lj_ffrecord.c.obj
[ 45%] Building C object CMakeFiles/luajit-lib.dir/src/lj_func.c.obj
[ 46%] Building C object CMakeFiles/luajit-lib.dir/src/lj_gc.c.obj
[ 47%] Building C object CMakeFiles/luajit-lib.dir/src/lj_gdbjit.c.obj
[ 49%] Building C object CMakeFiles/luajit-lib.dir/src/lj_ir.c.obj
[ 50%] Building C object CMakeFiles/luajit-lib.dir/src/lj_lex.c.obj
[ 52%] Building C object CMakeFiles/luajit-lib.dir/src/lj_lib.c.obj
[ 53%] Building C object CMakeFiles/luajit-lib.dir/src/lj_mcode.c.obj
[ 54%] Building C object CMakeFiles/luajit-lib.dir/src/lj_meta.c.obj
[ 56%] Building C object CMakeFiles/luajit-lib.dir/src/lj_obj.c.obj
[ 57%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_dce.c.obj
[ 59%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_fold.c.obj
[ 60%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_loop.c.obj
[ 61%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_mem.c.obj
[ 63%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_narrow.c.obj
[ 64%] Building C object CMakeFiles/luajit-lib.dir/src/lj_opt_split.c.obj
[ 66%] Building C object CMakeFiles/luajit-lib.dir/src/lj_parse.c.obj
[ 67%] Building C object CMakeFiles/luajit-lib.dir/src/lj_record.c.obj
[ 69%] Building C object CMakeFiles/luajit-lib.dir/src/lj_snap.c.obj
[ 70%] Building C object CMakeFiles/luajit-lib.dir/src/lj_state.c.obj
[ 71%] Building C object CMakeFiles/luajit-lib.dir/src/lj_str.c.obj
[ 73%] Building C object CMakeFiles/luajit-lib.dir/src/lj_tab.c.obj
[ 74%] Building C object CMakeFiles/luajit-lib.dir/src/lj_trace.c.obj
[ 76%] Building C object CMakeFiles/luajit-lib.dir/src/lj_udata.c.obj
[ 77%] Building C object CMakeFiles/luajit-lib.dir/src/lj_vmevent.c.obj
[ 78%] Building C object CMakeFiles/luajit-lib.dir/src/lj_vmmath.c.obj
[ 80%] Building C object CMakeFiles/luajit-lib.dir/src/lib_base.c.obj
[ 81%] Building C object CMakeFiles/luajit-lib.dir/src/lib_math.c.obj
[ 83%] Building C object CMakeFiles/luajit-lib.dir/src/lib_bit.c.obj
[ 84%] Building C object CMakeFiles/luajit-lib.dir/src/lib_string.c.obj
[ 85%] Building C object CMakeFiles/luajit-lib.dir/src/lib_table.c.obj
[ 87%] Building C object CMakeFiles/luajit-lib.dir/src/lib_io.c.obj
[ 88%] Building C object CMakeFiles/luajit-lib.dir/src/lib_os.c.obj
[ 90%] Building C object CMakeFiles/luajit-lib.dir/src/lib_package.c.obj
[ 91%] Building C object CMakeFiles/luajit-lib.dir/src/lib_debug.c.obj
[ 92%] Building C object CMakeFiles/luajit-lib.dir/src/lib_jit.c.obj
[ 94%] Building C object CMakeFiles/luajit-lib.dir/src/lib_ffi.c.obj
[ 95%] Building ASM-ATT object CMakeFiles/luajit-lib.dir/lj_vm.s.obj
c:\MinGW\bin\as.exe: unrecognized option `-malign-double'
make[5]: *** [CMakeFiles/luajit-lib.dir/lj_vm.s.obj] 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 Sep 1, 2012

I found the man for -malign-double http://linux.die.net/man/1/g++

I use Windows 7 Home Edition 32bit.

$ uname -a
MINGW32_NT-6.1 SUNSHINE4PC 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys

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.