lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 10/11/2009, at 8:37 AM, Mike Pall wrote:

This is the second beta release of LuaJIT 2.0.0. It fixes many
bugs present in the initial release. Please upgrade!

Anything I've done wrong?

$ uname -v
Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386
$ make
==== Building LuaJIT 2.0.0-beta2 ====
make -C src
BUILDVM   ../lib/vmdef.lua
ld: in lj_vm.o, ObjectFileAddressSpace<A>::getEncodedP() encoding 0x00000005 not supported
collect2: ld returned 1 exit status
make[1]: *** [] Error 1
make: *** [default] Error 2

The actual command line used for DYNLINK was

gcc -m32 -march=i686 -dynamiclib -single_module -undefined dynamic_lookup -fPIC -o lj_vm.o lj_gc.o lj_err.o lj_ctype.o lj_bc.o lj_obj.o lj_str.o lj_tab.o lj_func.o lj_udata.o lj_meta.o lj_state.o lj_dispatch.o lj_vmevent.o lj_api.o lj_lex.o lj_parse.o lj_ir.o lj_opt_mem.o lj_opt_fold.o lj_opt_narrow.o lj_opt_dce.o lj_opt_loop.o lj_mcode.o lj_snap.o lj_record.o lj_asm.o lj_trace.o lj_gdbjit.o lj_lib.o lj_alloc.o lib_aux.o lib_base.o lib_math.o lib_bit.o lib_string.o lib_table.o lib_io.o lib_os.o lib_package.o lib_debug.o lib_jit.o lib_init.o -lm