jnr / jffi

Java Foreign Function Interface
Apache License 2.0
168 stars 78 forks source link

ARM Rock64 build failure #56

Open amaline opened 6 years ago

amaline commented 6 years ago

Trying to build on a rock64 board but receive the following error:

     [exec] libtool: compile:  cc -DHAVE_CONFIG_H -I. -I/home/rock64/jffi/jni/libffi -I. -I/home/rock64/jffi/jni/libffi/include -Iinclude -I/home/rock64/jffi/jni/libffi/src -I. -I/home/rock64/jffi/jni/libffi/include -Iinclude -I/home/rock64/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -c /home/rock64/jffi/jni/libffi/src/aarch64/sysv.S  -fPIC -DPIC -o src/aarch64/.libs/sysv.o
     [exec] Makefile:1322: recipe for target 'src/aarch64/sysv.lo' failed
     [exec] make[3]: Leaving directory '/home/rock64/jffi/build/jni/libffi-arm-linux'
     [exec] Makefile:1577: recipe for target 'all-recursive' failed
     [exec] make[2]: Leaving directory '/home/rock64/jffi/build/jni/libffi-arm-linux'
     [exec] Makefile:726: recipe for target 'all' failed
     [exec] make[1]: Leaving directory '/home/rock64/jffi/build/jni/libffi-arm-linux'
     [exec] /home/rock64/jffi/jni/GNUmakefile:338: recipe for target '/home/rock64/jffi/build/jni/libffi-arm-linux/.libs/libffi_convenience.a' failed
     [exec] /home/rock64/jffi/jni/libffi/src/aarch64/sysv.S: Assembler messages:
     [exec] /home/rock64/jffi/jni/libffi/src/aarch64/sysv.S:105: Error: bad instruction `stp x29,x30,[sp,#-16]!'
     [exec] /home/rock64/jffi/jni/libffi/src/aarch64/sysv.S:107: Error: bad register expression
     [exec] /home/rock64/jffi/jni/libffi/src/aarch64/sysv.S:108: Error: bad register expression
     [exec] /home/rock64/jffi/jni/libffi/src/aarch64/sysv.S:110: Error: ARM register expected -- `mov x29,sp'
     [exec] /home/rock64/jffi/jni/libffi/src/aarch64/sysv.S:111: Error: bad register expression
     [exec] /home/rock64/jffi/jni/libffi/src/aarch64/sysv.S:114: Error: bad instruction `stp x21,x22,[sp,#0]'
     [exec] /home/rock64/jffi/jni/libffi/src/aarch64/sysv.S:115: Error: bad register expression