lua-users home
lua-l archive

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


I've been using Luajit 1.0.3 for my application with no problems on FreeBSD 4.10

I built LuaJIT 1.1.0 ('make bsd') on the same system, and get the following problem:

-bash-3.00$ luajit
Lua 5.1  Copyright (C) 1994-2006 Lua.org, PUC-Rio
LuaJIT 1.1.0  Copyright (C) 2005-2006 Mike Pall
> print(os.clock())
Illegal instruction (core dumped)

Other examples:

-bash-3.00$ luajit
Lua 5.1  Copyright (C) 1994-2006 Lua.org, PUC-Rio
LuaJIT 1.1.0  Copyright (C) 2005-2006 Mike Pall
> for i=1,1000000 do end
> x=0
Illegal instruction (core dumped)

-bash-3.00$ luajit
Lua 5.1  Copyright (C) 1994-2006 Lua.org, PUC-Rio
LuaJIT 1.1.0  Copyright (C) 2005-2006 Mike Pall
> x=0
Illegal instruction (core dumped)

Any ideas how to proceed?