lua-users home
lua-l archive

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


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