lua-users home
lua-l archive

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


>>> After switching to Lua 5.2.2 I see some strange bus errors on Mac OS 10.6.8 / 32 bit.
>>
>> It works fine for me on Mac OS 10.6.8 with this gcc using -m32:
>> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

It may or may not be relevant, but OSX switched the size of 'long' under x64 from 32 to 64 bits at some point (it's always 32-bit on Win32/64 and 64-bit on Linux x64).

Whether you compile with -m32 or -m64, it's possible some system library/compiler version expects another data type size and barfs on it.

-- p