[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] LuaJIT-2.0.0-beta1
- From: Mark Hamburg <mark@...>
- Date: Mon, 2 Nov 2009 15:39:47 -0800
On Nov 2, 2009, at 3:05 PM, Mike Pall wrote:
Hi, Mike Pall
LuaJIT 2.0 requires iuplua failed with the error messages shown
-- LuaJIT 2.0.0-beta1 -- Copyright (C) 2005-2009 Mike Pall. http://luajit.org/
-- JIT: ON CMOV SSE2 fold cse dce fwd dse narrow loop fuse
-- > require "iuplua"
-- attempt to call a nil value
-- stack traceback:
-- [C]: ?
-- [C]: in function 'require'
-- stdin:1: in main chunk
-- [C]: ?
The IUP binaries (esp. imlua51.dll) apparently include hardcoded,
bytecode-compiled Lua files. And they do not properly check for
returned errors from luaL_loadbuffer().
So what happens is that (obviously) loading the bytecode fails
(it's incompatible), the errors get ignored and the initialization
of the library fails with the above message.
Solution: file a bug against IUP.
To what extent did you change the instruction set v to what extent did
you change the encoding of the instruction set? (I'm thinking about
whether a bytecode translator is even reasonable to consider.)