[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Tuna now in module form (LuaJIT now supported)
- From: Michal Kolodziejczyk <miko@...>
- Date: Thu, 16 Feb 2012 09:48:55 +0100
On 15.02.2012 20:29, curt wrote:
> Runs fine for LuaJIT 1.1.7 too on x86, but I couldn't get it to build on
> x64, despite installing the .i686 libs:
> "/usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-redhat-linux/4.5.1/libgcc_s.so when searching for
> -lgcc_s
> /usr/bin/ld: cannot find -lgcc_s"
I could't build it on archlinux x86 (32bit), gcc 4.6.2:
g++ -fpic -O2 -fomit-frame-pointer -funswitch-loops
-fpredictive-commoning -fgcse-after-reload -ftree-vectorize
-fipa-cp-clone -Werror -Wall -MD -Isrc -c -o objs/tuna.lo src/tuna.cpp
In file included from src/tuna.cpp:232:0:
src/asm.h: In function ‘void swapStack()’:
src/asm.h:72:54: error: PIC register clobbered by ‘ebx’ in ‘asm’
src/asm.h: In function ‘void saveStack()’:
src/asm.h:97:54: error: PIC register clobbered by ‘ebx’ in ‘asm’
Regards,
miko