lua-users home
lua-l archive

Re: Lua 5.2 compiled with MINGW32 crashes my host program when a Lua error occurs

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


On 11/11/2013 7:20 PM, steve donovan wrote:
On Mon, Nov 11, 2013 at 12:59 PM, Luiz Henrique de Figueiredo wrote:
and using setjmp and longjmp. The solution seems to be to add
-fno-omit-frame-pointer.
I have definitely seen the problem on 32-bit Linux as well. So I
compile ldo.c specially in luabuild. Here is the relevant part of the
lakefile:
-- gcc 4.6 messes up setjmp/longjmp when optimizing
local ldo = c.group{LDO,defines=defs,args=def,
 flags=choose(CC=='gcc','-fno-omit-frame-pointer')
}
(point being that only this file needs the flag, and it may be GCC
version specific)
I've been sticking to Lua 5.1 on MinGW32...
Anyone has a test program or is the 4.8.x series okay? What about dw2/sjlj effects? The stackoverflow reply sounded pretty confident but lacks certain details...
--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia

AltStyle によって変換されたページ (->オリジナル) /