[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT 2.0.0b9 on OSX 10.6 - Crash in luaL_newstate()
- From: Mike Pall <mikelu-1203@...>
- Date: Mon, 26 Mar 2012 21:24:09 +0200
Coda Highland wrote:
> Well, for future reference, it seems that dead code stripping in
> 64-bit causes problems.
>
> I reverted the build settings to defaults and started incrementally
> making changes until it broke, and dead code stripping seems to be the
> culprit.
>
> Should this be considered a build flag to avoid? Or does this indicate
> a problem in LuaJIT failing to make the compiler think that some code
> is alive?
I'm not sure how dead code stripping on OSX works. Maybe this gets
into trouble with the assembler part, which doesn't conform to the
rules for standard C functions. E.g. there's cross-jumping between
the internal pseudo-functions.
I'm only pushing releases that have no dead code in the core VM.
So simply avoid that build flag.
--Mike