This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libffi on ARM XScale PXA-255



hi cross-compiling libffi from i686 to ARM XScale PXA-255 fails with the following error *

has anyone experienced that before ?
cheers,
 Nils



$CC=arm-linux-gcc NM=arm-linux-nm AR=arm-linux-ar ./configure --host=arm-linux --build=i686-linux

$make
...
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -g -O2 -c types.c >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -g -O2 -c ./arm/sysv.S
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -g -O2 -c -fPIC -DPIC ./arm/sysv.S
arm/sysv.S: Assembler messages:
arm/sysv.S:50: Error: no such instruction: `stmfd sp!,{a1-a4,fp,lr}'
arm/sysv.S:51: Error: too many memory references for `mov'
arm/sysv.S:54: Error: too many memory references for `sub'
arm/sysv.S:57: Error: too many memory references for `mov'
arm/sysv.S:58: Error: too many memory references for `mov'
arm/sysv.S:62: Error: too many memory references for `mov'
arm/sysv.S:63: Error: too many memory references for `mov'
arm/sysv.S:66: Error: no such instruction: `ldr a1,[sp,'
arm/sysv.S:67: Error: no such instruction: `ldr a2,[sp,'
arm/sysv.S:68: Error: no such instruction: `ldr a3,[sp,'
arm/sysv.S:69: Error: no such instruction: `ldr a4,[sp,'
arm/sysv.S:72: Error: no such instruction: `ldr ip,[fp,'
arm/sysv.S:73: Error: expecting operand after ','; got nothing
arm/sysv.S:74: Error: no such instruction: `movge ip,'
arm/sysv.S:75: Error: too many memory references for `add'
arm/sysv.S:78: Error: too many memory references for `mov'
arm/sysv.S:79: Error: no such instruction: `ldr pc,[fp,'
arm/sysv.S:82: Error: too many memory references for `mov'
arm/sysv.S:85: Error: no such instruction: `ldr a3,[sp,'
arm/sysv.S:88: Error: no such instruction: `ldr a4,[sp,'
arm/sysv.S:91: Error: expecting operand after ','; got nothing
arm/sysv.S:92: Error: no such instruction: `beq epilogue'
arm/sysv.S:95: Error: expecting operand after ','; got nothing
arm/sysv.S:96: Error: no such instruction: `streq a1,[a3]'
arm/sysv.S:97: Error: no such instruction: `beq epilogue'
arm/sysv.S:100: Error: expecting operand after ','; got nothing
arm/sysv.S:101: Error: no such instruction: `bne retdouble'
arm/sysv.S:102: Error: no such instruction: `stfs f0,[a3]'
arm/sysv.S:103: Error: no such instruction: `b epilogue'
arm/sysv.S:107: Error: expecting operand after ','; got nothing
arm/sysv.S:108: Error: no such instruction: `bne epilogue'
arm/sysv.S:110: Error: no such instruction: `stfs f0,[a3,'
arm/sysv.S:111: Error: no such instruction: `stfs f1,[a3,'
arm/sysv.S:112: Error: no such instruction: `b epilogue'
arm/sysv.S:115: Error: no such instruction: `ldmfd sp!,{a1-a4,fp,pc}'
make[2]: *** [sysv.lo] Error 1
make[2]: Leaving directory `/tmp/libffi-1.20/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/libffi-1.20'
make: *** [all-recursive-am] Error 2


--
Nils Roeder
Research Associate
Institute of Perception, Action and Behaviour
School of Informatics, University of Edinburgh
+44 (0)131 651 3436


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]