lua-users home
lua-l archive

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


Okay I figured out the problem, works great on my x86 test box... with -O1 .. -O2 segfaults on exit. Sorry but homey don't play that game, I will be tracking that down; pretty sure its related to my handling of the EBP register. I have uploaded it as 0.4.2[unstable] and as far as I can tell x64 and windows x86/x64 are unaffected and the examples function correctly (as does linux x86 at the current optimization level of -O1)

-Curt

On 2/14/2012 8:53 PM, Ezra Sims wrote:


On 2/14/2012 6:20 PM, Curt wrote:
Well thats why the support is experimental.. that'll teach me to release it without actually trying to compile the shared lib on x86 architecture.

I'll take a look at it tonight and figure out what's what. I am using gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) .

maybe try -fPIC (note capital)?

-Curt



No dice there, same error.