lua-users home
lua-l archive

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


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.