[Liboil] liboil issue with float point cross compile?

Nathan Fain cyphunk at gmail.com
Sat Dec 3 08:20:46 PST 2005


I've searched around both on the mailing list and and internet and couldn't find clues for the following problem. I am compiling liboil using a powerpc cross compiler and get this error:

powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wa,-mregnames
-D_BSD_SOURCE -D_GNU_SOURCE -I../.. -O2 -g -O2 -MT libpowerpc_la-conv.lo
-MD -MP -MF .deps/libpowerpc_la-conv.Tpo -c conv.c  -fPIC -DPIC -o
.libs/libpowerpc_la-conv.o
conv.c: In function `clipconv_s8_f32_powerpc':
conv.c:89: error: can't find a register in class `FLOAT_REGS' while
reloading `asm'
make[3]: *** [libpowerpc_la-conv.lo] Error 1
make[3]: Leaving directory `/build/liboil-0.3.6/liboil/powerpc'

configure line was:
./configure --host=powerpc-linux

specifically this is for a powerpc 405 with light float point capabilities.


Anyone have ideas?  Where can I read more about the meaning of FLOAT_REGS?

thanks



More information about the Liboil mailing list