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)

This is a different gcc than I have used.

I get no error with:
  make macosx CC="i686-apple-darwin10-gcc-4.2.1 -m32"
I get a bus error with:
  make macosx CC="llvm-gcc-4.2 -m32"

/usr/bin/gcc is a link to llvm-gcc-4.2 on my machine.

This is my --version output:

$ i686-apple-darwin10-gcc-4.2.1 --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

$ llvm-gcc-4.2 --version
i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

Can you reproduce it with llvm-gcc-4.2?


   Jörg