[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.2 compiled with MINGW32 crashes my host program when a Lua error occurs
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 11 Nov 2013 13:20:58 +0200
On Mon, Nov 11, 2013 at 12:59 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> 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)
steve d.