Skip to content

Instantly share code, notes, and snippets.

@cadwallion
Last active December 26, 2015 02:49
Show Gist options
  • Save cadwallion/7081956 to your computer and use it in GitHub Desktop.
Save cadwallion/7081956 to your computer and use it in GitHub Desktop.
JFFI build failure on ARM
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libffi configure 3.0.10, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ /root/jffi/jni/libffi/configure --disable-static --with-pic=yes --disable-dependency-tracking
## --------- ##
## Platform. ##
## --------- ##
hostname = raspberrypi
uname -m = armv6l
uname -r = 3.6.11+
uname -s = Linux
uname -v = #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/rvm/gems/ruby-1.9.3-p362/bin
PATH: /usr/local/rvm/gems/ruby-1.9.3-p362@global/bin
PATH: /usr/local/rvm/rubies/ruby-1.9.3-p362/bin
PATH: /usr/local/rvm/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2550: checking build system type
configure:2564: result: armv6l-unknown-linux-gnueabi
configure:2584: checking host system type
configure:2597: result: armv6l-unknown-linux-gnueabi
configure:2617: checking target system type
configure:2630: result: armv6l-unknown-linux-gnueabi
configure:2722: checking for gsed
configure:2753: result: sed
configure:2781: checking for a BSD-compatible install
configure:2849: result: /usr/bin/install -c
configure:2860: checking whether build environment is sane
configure:2910: result: yes
configure:3048: checking for a thread-safe mkdir -p
configure:3087: result: /bin/mkdir -p
configure:3100: checking for gawk
configure:3116: found /usr/bin/gawk
configure:3127: result: gawk
configure:3138: checking whether make sets $(MAKE)
configure:3160: result: yes
configure:3299: checking for gcc
configure:3326: result: cc
configure:3555: checking for C compiler version
configure:3564: cc --version >&5
cc (Debian 4.6.3-12+rpi1) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3575: $? = 0
configure:3564: cc -v >&5
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-12+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.6.3 (Debian 4.6.3-12+rpi1)
configure:3575: $? = 0
configure:3564: cc -V >&5
cc: error: unrecognized option '-V'
cc: fatal error: no input files
compilation terminated.
configure:3575: $? = 4
configure:3564: cc -qversion >&5
cc: error: unrecognized option '-qversion'
cc: fatal error: no input files
compilation terminated.
configure:3575: $? = 4
configure:3595: checking whether the C compiler works
configure:3617: cc -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:3621: $? = 0
configure:3669: result: yes
configure:3672: checking for C compiler default output file name
configure:3674: result: a.out
configure:3680: checking for suffix of executables
configure:3687: cc -o conftest -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:3691: $? = 0
configure:3713: result:
configure:3735: checking whether we are cross compiling
configure:3743: cc -o conftest -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:3747: $? = 0
configure:3754: ./conftest
configure:3758: $? = 0
configure:3773: result: no
configure:3778: checking for suffix of object files
configure:3800: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:3804: $? = 0
configure:3825: result: o
configure:3829: checking whether we are using the GNU C compiler
configure:3848: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:3848: $? = 0
configure:3857: result: yes
configure:3866: checking whether cc accepts -g
configure:3886: cc -c -g conftest.c >&5
configure:3886: $? = 0
configure:3927: result: yes
configure:3944: checking for cc option to accept ISO C89
configure:4008: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:4008: $? = 0
configure:4021: result: none needed
configure:4052: checking for style of include used by make
configure:4080: result: GNU
configure:4105: checking dependency style of cc
configure:4215: result: none
configure:4245: checking dependency style of cc
configure:4353: result: none
configure:4369: checking whether cc and cc understand -c and -o together
configure:4400: cc -c conftest.c -o conftest2.o >&5
configure:4404: $? = 0
configure:4410: cc -c conftest.c -o conftest2.o >&5
configure:4414: $? = 0
configure:4425: cc -c conftest.c >&5
configure:4429: $? = 0
configure:4437: cc -c conftest.c -o conftest2.o >&5
configure:4441: $? = 0
configure:4447: cc -c conftest.c -o conftest2.o >&5
configure:4451: $? = 0
configure:4469: result: yes
configure:4540: checking how to print strings
configure:4567: result: printf
configure:4588: checking for a sed that does not truncate output
configure:4652: result: /bin/sed
configure:4670: checking for grep that handles long lines and -e
configure:4728: result: /bin/grep
configure:4733: checking for egrep
configure:4795: result: /bin/grep -E
configure:4800: checking for fgrep
configure:4862: result: /bin/grep -F
configure:4897: checking for ld used by cc
configure:4964: result: ld
configure:4971: checking if the linker (ld) is GNU ld
configure:4986: result: yes
configure:4998: checking for BSD- or MS-compatible name lister (nm)
configure:5047: result: /usr/bin/nm -B
configure:5177: checking the name lister (/usr/bin/nm -B) interface
configure:5184: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:5187: /usr/bin/nm -B "conftest.o"
configure:5190: output
00000000 B some_variable
configure:5197: result: BSD nm
configure:5200: checking whether ln -s works
configure:5204: result: yes
configure:5212: checking the maximum length of command line arguments
configure:5337: result: 805306365
configure:5354: checking whether the shell understands some XSI constructs
configure:5364: result: yes
configure:5368: checking whether the shell understands "+="
configure:5374: result: yes
configure:5409: checking how to convert armv6l-unknown-linux-gnueabi file names to armv6l-unknown-linux-gnueabi format
configure:5449: result: func_convert_file_noop
configure:5456: checking how to convert armv6l-unknown-linux-gnueabi file names to toolchain format
configure:5476: result: func_convert_file_noop
configure:5483: checking for ld option to reload object files
configure:5490: result: -r
configure:5564: checking for objdump
configure:5580: found /usr/bin/objdump
configure:5591: result: objdump
configure:5623: checking how to recognize dependent libraries
configure:5825: result: pass_all
configure:5910: checking for dlltool
configure:5940: result: no
configure:5970: checking how to associate runtime and link libraries
configure:5997: result: printf %s\n
configure:6058: checking for ar
configure:6074: found /usr/bin/ar
configure:6085: result: ar
configure:6122: checking for archiver @FILE support
configure:6139: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:6139: $? = 0
configure:6142: ar cru libconftest.a @conftest.lst >&5
configure:6145: $? = 0
configure:6150: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:6153: $? = 1
configure:6165: result: @
configure:6223: checking for strip
configure:6239: found /usr/bin/strip
configure:6250: result: strip
configure:6322: checking for ranlib
configure:6338: found /usr/bin/ranlib
configure:6349: result: ranlib
configure:6451: checking command to parse /usr/bin/nm -B output from cc object
configure:6570: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:6573: $? = 0
configure:6577: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6580: $? = 0
configure:6646: cc -o conftest -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c conftstm.o >&5
configure:6649: $? = 0
configure:6687: result: ok
configure:6724: checking for sysroot
configure:6754: result: no
configure:6997: checking for mt
configure:7013: found /bin/mt
configure:7024: result: mt
configure:7047: checking if mt is a manifest tool
configure:7053: mt '-?'
configure:7061: result: no
configure:7693: checking how to run the C preprocessor
configure:7724: cc -E conftest.c
configure:7724: $? = 0
configure:7738: cc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:7738: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.0.10"
| #define PACKAGE_STRING "libffi 3.0.10"
| #define PACKAGE_BUGREPORT "http://sourceware.org/libffi.html"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.0.10"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7763: result: cc -E
configure:7783: cc -E conftest.c
configure:7783: $? = 0
configure:7797: cc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:7797: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.0.10"
| #define PACKAGE_STRING "libffi 3.0.10"
| #define PACKAGE_BUGREPORT "http://sourceware.org/libffi.html"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.0.10"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7826: checking for ANSI C header files
configure:7846: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7846: $? = 0
configure:7919: cc -o conftest -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7919: $? = 0
configure:7919: ./conftest
configure:7919: $? = 0
configure:7930: result: yes
configure:7943: checking for sys/types.h
configure:7943: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7943: $? = 0
configure:7943: result: yes
configure:7943: checking for sys/stat.h
configure:7943: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7943: $? = 0
configure:7943: result: yes
configure:7943: checking for stdlib.h
configure:7943: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7943: $? = 0
configure:7943: result: yes
configure:7943: checking for string.h
configure:7943: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7943: $? = 0
configure:7943: result: yes
configure:7943: checking for memory.h
configure:7943: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7943: $? = 0
configure:7943: result: yes
configure:7943: checking for strings.h
configure:7943: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7943: $? = 0
configure:7943: result: yes
configure:7943: checking for inttypes.h
configure:7943: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7943: $? = 0
configure:7943: result: yes
configure:7943: checking for stdint.h
configure:7943: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7943: $? = 0
configure:7943: result: yes
configure:7943: checking for unistd.h
configure:7943: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7943: $? = 0
configure:7943: result: yes
configure:7957: checking for dlfcn.h
configure:7957: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:7957: $? = 0
configure:7957: result: yes
configure:8144: checking for objdir
configure:8159: result: .libs
configure:8430: checking if cc supports -fno-rtti -fno-exceptions
configure:8448: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:8452: $? = 0
configure:8465: result: no
configure:8775: checking for cc option to produce PIC
configure:8782: result: -fPIC -DPIC
configure:8790: checking if cc PIC flag -fPIC -DPIC works
configure:8808: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -fPIC -DPIC -DPIC conftest.c >&5
configure:8812: $? = 0
configure:8825: result: yes
configure:8854: checking if cc static flag -static works
configure:8882: result: yes
configure:8897: checking if cc supports -c -o file.o
configure:8918: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -o out/conftest2.o conftest.c >&5
configure:8922: $? = 0
configure:8944: result: yes
configure:8952: checking if cc supports -c -o file.o
configure:8999: result: yes
configure:9032: checking whether the cc linker (ld) supports shared libraries
configure:10190: result: yes
configure:10227: checking whether -lc should be explicitly linked in
configure:10235: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:10238: $? = 0
configure:10253: cc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:10256: $? = 0
configure:10270: result: no
configure:10435: checking dynamic linker characteristics
configure:10949: cc -o conftest -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wl,-rpath -Wl,/foo conftest.c >&5
configure:10949: $? = 0
configure:11171: result: GNU/Linux ld.so
configure:11278: checking how to hardcode library paths into programs
configure:11303: result: immediate
configure:11843: checking whether stripping libraries is possible
configure:11848: result: yes
configure:11883: checking if libtool supports shared libraries
configure:11885: result: yes
configure:11888: checking whether to build shared libraries
configure:11909: result: yes
configure:11912: checking whether to build static libraries
configure:11916: result: no
configure:11954: checking for C compiler vendor
configure:11978: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
conftest.c: In function 'main':
conftest.c:29:7: error: 'thisisanerror' undeclared (first use in this function)
conftest.c:29:7: note: each undeclared identifier is reported only once for each function it appears in
configure:11978: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.0.10"
| #define PACKAGE_STRING "libffi 3.0.10"
| #define PACKAGE_BUGREPORT "http://sourceware.org/libffi.html"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.0.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| #if !(defined(__ICC) || defined(__ECC) || defined(__INTEL_COMPILER))
| thisisanerror;
| #endif
|
| ;
| return 0;
| }
configure:11978: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
conftest.c: In function 'main':
conftest.c:29:7: error: 'thisisanerror' undeclared (first use in this function)
conftest.c:29:7: note: each undeclared identifier is reported only once for each function it appears in
configure:11978: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.0.10"
| #define PACKAGE_STRING "libffi 3.0.10"
| #define PACKAGE_BUGREPORT "http://sourceware.org/libffi.html"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.0.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| #if !(defined(__xlc__) || defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__))
| thisisanerror;
| #endif
|
| ;
| return 0;
| }
configure:11978: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
conftest.c: In function 'main':
conftest.c:29:7: error: 'thisisanerror' undeclared (first use in this function)
conftest.c:29:7: note: each undeclared identifier is reported only once for each function it appears in
configure:11978: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.0.10"
| #define PACKAGE_STRING "libffi 3.0.10"
| #define PACKAGE_BUGREPORT "http://sourceware.org/libffi.html"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.0.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| #if !(defined(__PATHCC__) || defined(__PATHSCALE__))
| thisisanerror;
| #endif
|
| ;
| return 0;
| }
configure:11978: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
conftest.c: In function 'main':
conftest.c:29:7: error: 'thisisanerror' undeclared (first use in this function)
conftest.c:29:7: note: each undeclared identifier is reported only once for each function it appears in
configure:11978: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.0.10"
| #define PACKAGE_STRING "libffi 3.0.10"
| #define PACKAGE_BUGREPORT "http://sourceware.org/libffi.html"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.0.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| #if !(defined(__clang__))
| thisisanerror;
| #endif
|
| ;
| return 0;
| }
configure:11978: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG conftest.c >&5
configure:11978: $? = 0
configure:11985: result: gnu
configure:12771: checking CFLAGS for maximum warnings
configure:12797: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -pedantic -Wall conftest.c >&5
configure:12797: $? = 0
configure:12811: result: -Wall
configure:12824: : CFLAGS="$CFLAGS $ac_cv_cflags_warn_all"
configure:12827: $? = 0
configure:12839: checking whether to enable maintainer-specific portions of Makefiles
configure:12848: result: no
configure:12864: checking sys/mman.h usability
configure:12864: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
configure:12864: $? = 0
configure:12864: result: yes
configure:12864: checking sys/mman.h presence
configure:12864: cc -E conftest.c
configure:12864: $? = 0
configure:12864: result: yes
configure:12864: checking for sys/mman.h
configure:12864: result: yes
configure:12876: checking for mmap
configure:12876: cc -o conftest -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
configure:12876: $? = 0
configure:12876: result: yes
configure:12886: checking for sys/mman.h
configure:12886: result: yes
configure:12894: checking for mmap
configure:12894: result: yes
configure:12907: checking whether read-only mmap of a plain file works
configure:12924: result: yes
configure:12926: checking whether mmap from /dev/zero works
configure:12948: result: yes
configure:12952: checking for MAP_ANON(YMOUS)
configure:12975: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
conftest.c: In function 'main':
conftest.c:36:5: warning: unused variable 'n' [-Wunused-variable]
configure:12975: $? = 0
configure:12982: result: yes
configure:12988: checking whether mmap with MAP_ANON(YMOUS) works
configure:13005: result: yes
configure:13398: checking for ANSI C header files
configure:13502: result: yes
configure:13512: checking for memcpy
configure:13512: cc -o conftest -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
conftest.c:52:6: warning: conflicting types for built-in function 'memcpy' [enabled by default]
configure:13512: $? = 0
configure:13512: result: yes
configure:13521: checking for size_t
configure:13521: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
configure:13521: $? = 0
configure:13521: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
conftest.c: In function 'main':
conftest.c:66:21: error: expected expression before ')' token
configure:13521: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.0.10"
| #define PACKAGE_STRING "libffi 3.0.10"
| #define PACKAGE_BUGREPORT "http://sourceware.org/libffi.html"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.0.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define STDC_HEADERS 1
| #define HAVE_MEMCPY 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:13521: result: yes
configure:13534: checking for working alloca.h
configure:13551: cc -o conftest -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
configure:13551: $? = 0
configure:13559: result: yes
configure:13567: checking for alloca
configure:13604: cc -o conftest -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
configure:13604: $? = 0
configure:13612: result: yes
configure:13726: checking size of double
configure:13731: cc -o conftest -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
configure:13731: $? = 0
configure:13731: ./conftest
configure:13731: $? = 0
configure:13745: result: 8
configure:13759: checking size of long double
configure:13764: cc -o conftest -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
configure:13764: $? = 0
configure:13764: ./conftest
configure:13764: $? = 0
configure:13778: result: 8
configure:13803: checking whether byte ordering is bigendian
configure:13818: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
conftest.c:35:9: error: unknown type name 'not'
conftest.c:35:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
conftest.c:35:15: error: unknown type name 'universal'
configure:13818: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.0.10"
| #define PACKAGE_STRING "libffi 3.0.10"
| #define PACKAGE_BUGREPORT "http://sourceware.org/libffi.html"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.0.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define STDC_HEADERS 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| /* end confdefs.h. */
| #ifndef __APPLE_CC__
| not a universal capable compiler
| #endif
| typedef int dummy;
|
configure:13863: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
configure:13863: $? = 0
configure:13881: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
conftest.c: In function 'main':
conftest.c:41:4: error: unknown type name 'not'
conftest.c:41:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
configure:13881: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.0.10"
| #define PACKAGE_STRING "libffi 3.0.10"
| #define PACKAGE_BUGREPORT "http://sourceware.org/libffi.html"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.0.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_MMAP 1
| #define HAVE_MMAP_FILE 1
| #define HAVE_MMAP_DEV_ZERO 1
| #define HAVE_MMAP_ANON 1
| #define STDC_HEADERS 1
| #define HAVE_MEMCPY 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 8
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:14009: result: no
configure:14028: checking assembler .cfi pseudo-op support
configure:14046: cc -c -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions conftest.c >&5
configure:14046: $? = 0
configure:14054: result: yes
configure:14335: checking whether .eh_frame section should be read-only
configure:14354: result: no
configure:14369: checking for __attribute__((visibility("hidden")))
configure:14378: cc -Werror -S conftest.c -o conftest.s 1>&5
configure:14381: $? = 0
configure:14390: result: yes
configure:14750: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by libffi config.status 3.0.10, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on raspberrypi
config.status:1208: creating include/Makefile
config.status:1208: creating include/ffi.h
config.status:1208: creating Makefile
config.status:1208: creating testsuite/Makefile
config.status:1208: creating man/Makefile
config.status:1208: creating libffi.pc
config.status:1208: creating fficonfig.h
config.status:1434: linking /root/jffi/jni/libffi/src/arm/ffitarget.h to include/ffitarget.h
config.status:1453: executing buildir commands
config.status:1466: skipping top_srcdir/Makefile - not created
config.status:1453: executing depfiles commands
config.status:1453: executing libtool commands
config.status:1453: executing include commands
config.status:1453: executing src commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=armv6l-unknown-linux-gnueabi
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_cflags_warn_all=-Wall
ac_cv_decl_map_anon=yes
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_alloca_works=yes
ac_cv_func_memcpy=yes
ac_cv_func_mmap=yes
ac_cv_func_mmap_anon=yes
ac_cv_func_mmap_dev_zero=yes
ac_cv_func_mmap_file=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_mman_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=armv6l-unknown-linux-gnueabi
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_ax_enable_builddir_sed=sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP=' cc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=' cc'
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_cc_c_o=yes
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_sizeof_double=8
ac_cv_sizeof_long_double=8
ac_cv_target=armv6l-unknown-linux-gnueabi
ac_cv_type_size_t=yes
ac_cv_working_alloca_h=yes
am_cv_CCAS_dependencies_compiler_type=none
am_cv_CC_dependencies_compiler_type=none
ax_cv_c_compiler_vendor=gnu
libffi_cv_as_cfi_pseudo_op=yes
libffi_cv_hidden_visibility_attribute=yes
libffi_cv_ro_eh_frame=no
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=805306365
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /root/jffi/jni/libffi/missing --run aclocal-1.11'
ALLOCA=''
ALPHA_FALSE=''
ALPHA_TRUE='#'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='${SHELL} /root/jffi/jni/libffi/missing --run tar'
AM_LTLDFLAGS=''
AM_RUNTESTFLAGS=''
AR='ar'
ARM_FALSE='#'
ARM_TRUE=''
AUTOCONF='${SHELL} /root/jffi/jni/libffi/missing --run autoconf'
AUTOHEADER='${SHELL} /root/jffi/jni/libffi/missing --run autoheader'
AUTOMAKE='${SHELL} /root/jffi/jni/libffi/missing --run automake-1.11'
AVR32_FALSE=''
AVR32_TRUE='#'
AWK='gawk'
CC=' cc'
CCAS=' cc'
CCASDEPMODE='depmode=none'
CCASFLAGS='-DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG'
CCDEPMODE='depmode=none'
CFLAGS='-DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions'
CPP=' cc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FFI_DEBUG_FALSE=''
FFI_DEBUG_TRUE='#'
FFI_EXEC_TRAMPOLINE_TABLE='0'
FFI_EXEC_TRAMPOLINE_TABLE_FALSE=''
FFI_EXEC_TRAMPOLINE_TABLE_TRUE='#'
FGREP='/bin/grep -F'
FRV_FALSE=''
FRV_TRUE='#'
GREP='/bin/grep'
HAVE_LONG_DOUBLE='0'
IA64_FALSE=''
IA64_TRUE='#'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='ld'
LDFLAGS=''
LIBFFI_CRIS_FALSE=''
LIBFFI_CRIS_TRUE='#'
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
M32R_FALSE=''
M32R_TRUE='#'
M68K_FALSE=''
M68K_TRUE='#'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /root/jffi/jni/libffi/missing --run makeinfo'
MANIFEST_TOOL=':'
MIPS_FALSE=''
MIPS_TRUE='#'
MKDIR_P='/bin/mkdir -p'
MOXIE_FALSE=''
MOXIE_TRUE='#'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PA64_HPUX_FALSE=''
PA64_HPUX_TRUE='#'
PACKAGE='libffi'
PACKAGE_BUGREPORT='http://sourceware.org/libffi.html'
PACKAGE_NAME='libffi'
PACKAGE_STRING='libffi 3.0.10'
PACKAGE_TARNAME='libffi'
PACKAGE_URL=''
PACKAGE_VERSION='3.0.10'
PATH_SEPARATOR=':'
PA_HPUX_FALSE=''
PA_HPUX_TRUE='#'
PA_LINUX_FALSE=''
PA_LINUX_TRUE='#'
POWERPC_AIX_FALSE=''
POWERPC_AIX_TRUE='#'
POWERPC_DARWIN_FALSE=''
POWERPC_DARWIN_TRUE='#'
POWERPC_FALSE=''
POWERPC_FREEBSD_FALSE=''
POWERPC_FREEBSD_TRUE='#'
POWERPC_TRUE='#'
PRTDIAG=''
RANLIB='ranlib'
S390_FALSE=''
S390_TRUE='#'
SED='/bin/sed'
SET_MAKE=''
SH64_FALSE=''
SH64_TRUE='#'
SHELL='/bin/bash'
SH_FALSE=''
SH_TRUE='#'
SPARC_FALSE=''
SPARC_TRUE='#'
STRIP='strip'
TARGET='ARM'
TARGETDIR='arm'
TESTSUBDIR_FALSE='#'
TESTSUBDIR_TRUE=''
VERSION='3.0.10'
X86_64_FALSE=''
X86_64_TRUE='#'
X86_DARWIN_FALSE=''
X86_DARWIN_TRUE='#'
X86_FALSE=''
X86_FREEBSD_FALSE=''
X86_FREEBSD_TRUE='#'
X86_TRUE='#'
X86_WIN32_FALSE=''
X86_WIN32_TRUE='#'
X86_WIN64_FALSE=''
X86_WIN64_TRUE='#'
ac_ct_AR='ar'
ac_ct_CC=' cc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE='#'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
ax_enable_builddir_sed='sed'
bindir='${exec_prefix}/bin'
build='armv6l-unknown-linux-gnueabi'
build_alias=''
build_cpu='armv6l'
build_os='linux-gnueabi'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='armv6l-unknown-linux-gnueabi'
host_alias=''
host_cpu='armv6l'
host_os='linux-gnueabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/jffi/jni/libffi/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sys_symbol_underscore=''
sysconfdir='${prefix}/etc'
target='armv6l-unknown-linux-gnueabi'
target_alias=''
target_cpu='armv6l'
target_os='linux-gnueabi'
target_vendor='unknown'
toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
toolexeclibdir='$(libdir)'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "libffi"
#define PACKAGE_TARNAME "libffi"
#define PACKAGE_VERSION "3.0.10"
#define PACKAGE_STRING "libffi 3.0.10"
#define PACKAGE_BUGREPORT "http://sourceware.org/libffi.html"
#define PACKAGE_URL ""
#define PACKAGE "libffi"
#define VERSION "3.0.10"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_SYS_MMAN_H 1
#define HAVE_MMAP 1
#define HAVE_MMAP_FILE 1
#define HAVE_MMAP_DEV_ZERO 1
#define HAVE_MMAP_ANON 1
#define STDC_HEADERS 1
#define HAVE_MEMCPY 1
#define HAVE_ALLOCA_H 1
#define HAVE_ALLOCA 1
#define SIZEOF_DOUBLE 8
#define SIZEOF_LONG_DOUBLE 8
#define HAVE_AS_CFI_PSEUDO_OP 1
#define EH_FRAME_FLAGS "aw"
#define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1
configure: exit 0
root@raspberrypi:~/jffi# ant jar && java -jar dist/jffi-complete.jar
Buildfile: /root/jffi/build.xml
-pre-init:
-init-vars:
-post-init:
-init:
-pre-jar:
-pre-compile:
-do-compile:
-generate-version-source:
[echo] Generating Version.java
-generate-version:
[javac] Compiling 1 source file to /root/jffi/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] 1 warning
-compile-java:
-generate-native-headers:
-build-native-library:
[exec] Configuring libffi for arm-linux
[exec] make -C /root/jffi/build/jni/libffi-arm-linux
[exec] make[1]: Entering directory `/root/jffi/build/jni/libffi-arm-linux'
[exec] make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions" "CXXFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/bash /root/jffi/jni/libffi/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/bash" "exec_prefix=/usr/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "mandir=/usr/local/share/man" "prefix=/usr/local" "AR=ar" "AS=as" "CC=cc" "CXX=g++" "LD=ld" "NM=/usr/bin/nm -B" "RANLIB=ranlib" "DESTDIR=" all-recursive
[exec] make[2]: Entering directory `/root/jffi/build/jni/libffi-arm-linux'
[exec] Making all in include
[exec] make[3]: Entering directory `/root/jffi/build/jni/libffi-arm-linux/include'
[exec] make[3]: Nothing to be done for `all'.
[exec] make[3]: Leaving directory `/root/jffi/build/jni/libffi-arm-linux/include'
[exec] Making all in testsuite
[exec] make[3]: Entering directory `/root/jffi/build/jni/libffi-arm-linux/testsuite'
[exec] make[3]: Nothing to be done for `all'.
[exec] make[3]: Leaving directory `/root/jffi/build/jni/libffi-arm-linux/testsuite'
[exec] Making all in man
[exec] make[3]: Entering directory `/root/jffi/build/jni/libffi-arm-linux/man'
[exec] make[3]: Nothing to be done for `all'.
[exec] make[3]: Leaving directory `/root/jffi/build/jni/libffi-arm-linux/man'
[exec] make[3]: Entering directory `/root/jffi/build/jni/libffi-arm-linux'
[exec] /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/debug.lo /root/jffi/jni/libffi/src/debug.c
[exec] libtool: compile: cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /root/jffi/jni/libffi/src/debug.c -fPIC -DPIC -o src/.libs/debug.o
[exec] /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/prep_cif.lo /root/jffi/jni/libffi/src/prep_cif.c
[exec] libtool: compile: cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /root/jffi/jni/libffi/src/prep_cif.c -fPIC -DPIC -o src/.libs/prep_cif.o
[exec] /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/types.lo /root/jffi/jni/libffi/src/types.c
[exec] libtool: compile: cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /root/jffi/jni/libffi/src/types.c -fPIC -DPIC -o src/.libs/types.o
[exec] /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/raw_api.lo /root/jffi/jni/libffi/src/raw_api.c
[exec] libtool: compile: cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /root/jffi/jni/libffi/src/raw_api.c -fPIC -DPIC -o src/.libs/raw_api.o
[exec] /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/java_raw_api.lo /root/jffi/jni/libffi/src/java_raw_api.c
[exec] libtool: compile: cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /root/jffi/jni/libffi/src/java_raw_api.c -fPIC -DPIC -o src/.libs/java_raw_api.o
[exec] /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/closures.lo /root/jffi/jni/libffi/src/closures.c
[exec] libtool: compile: cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /root/jffi/jni/libffi/src/closures.c -fPIC -DPIC -o src/.libs/closures.o
[exec] /bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -c -o src/arm/sysv.lo /root/jffi/jni/libffi/src/arm/sysv.S
[exec] libtool: compile: cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -c /root/jffi/jni/libffi/src/arm/sysv.S -fPIC -DPIC -o src/arm/.libs/sysv.o
[exec] /bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c -o src/arm/ffi.lo /root/jffi/jni/libffi/src/arm/ffi.c
[exec] libtool: compile: cc -DHAVE_CONFIG_H -I. -I/root/jffi/jni/libffi -I. -I/root/jffi/jni/libffi/include -Iinclude -I/root/jffi/jni/libffi/src -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -c /root/jffi/jni/libffi/src/arm/ffi.c -fPIC -DPIC -o src/arm/.libs/ffi.o
[exec] /bin/bash ./libtool --tag=CC --mode=link cc -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -version-info `grep -v '^#' /root/jffi/jni/libffi/libtool-version` -o libffi.la -rpath /usr/local/lib src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/arm/sysv.lo src/arm/ffi.lo
[exec] libtool: link: cc -shared -fPIC -DPIC src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/arm/.libs/sysv.o src/arm/.libs/ffi.o -O2 -Wl,-soname -Wl,libffi.so.5 -o .libs/libffi.so.5.0.10
[exec] libtool: link: (cd ".libs" && rm -f "libffi.so.5" && ln -s "libffi.so.5.0.10" "libffi.so.5")
[exec] libtool: link: (cd ".libs" && rm -f "libffi.so" && ln -s "libffi.so.5.0.10" "libffi.so")
[exec] libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" )
[exec] /bin/bash ./libtool --tag=CC --mode=link cc -g -DFFI_MMAP_EXEC_WRIT -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wall -fexceptions -o libffi_convenience.la src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/arm/sysv.lo src/arm/ffi.lo
[exec] libtool: link: ar cru .libs/libffi_convenience.a src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/arm/.libs/sysv.o src/arm/.libs/ffi.o
[exec] libtool: link: ranlib .libs/libffi_convenience.a
[exec] libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" )
[exec] make[3]: Leaving directory `/root/jffi/build/jni/libffi-arm-linux'
[exec] make[2]: Leaving directory `/root/jffi/build/jni/libffi-arm-linux'
[exec] make[1]: Leaving directory `/root/jffi/build/jni/libffi-arm-linux'
[exec] cc -o /root/jffi/build/jni/libjffi-1.2.so -shared -static-libgcc -Wl,-soname,libjffi-1.2.so -Wl,-O1 /root/jffi/build/jni/jffi/Array.o /root/jffi/build/jni/jffi/CallContext.o /root/jffi/build/jni/jffi/ClosureMagazine.o /root/jffi/build/jni/jffi/deprecated.o /root/jffi/build/jni/jffi/Exception.o /root/jffi/build/jni/jffi/FastIntInvoke.o /root/jffi/build/jni/jffi/FastLongInvoke.o /root/jffi/build/jni/jffi/FastNumericInvoker.o /root/jffi/build/jni/jffi/FaultProtect.o /root/jffi/build/jni/jffi/Foreign.o /root/jffi/build/jni/jffi/Internals.o /root/jffi/build/jni/jffi/Invoke.o /root/jffi/build/jni/jffi/LastError.o /root/jffi/build/jni/jffi/Library.o /root/jffi/build/jni/jffi/LongDouble.o /root/jffi/build/jni/jffi/longjmp.o /root/jffi/build/jni/jffi/Memory.o /root/jffi/build/jni/jffi/MemoryIO.o /root/jffi/build/jni/jffi/MemoryUtil.o /root/jffi/build/jni/jffi/setjmp.o /root/jffi/build/jni/jffi/Struct.o /root/jffi/build/jni/jffi/Type.o /root/jffi/build/jni/libffi-arm-linux/.libs/libffi_convenience.a
[exec] strip -S /root/jffi/build/jni/libjffi-1.2.so
-post-compile:
compile:
-do-jar:
[mkdir] Created dir: /root/jffi/dist
[jar] Building jar: /root/jffi/dist/jffi.jar
-build-platform-jar:
[echo] platform=arm-Linux
[zip] Building zip: /root/jffi/dist/jffi-arm-Linux.jar
-assemble-native-jar:
[jar] Building jar: /root/jffi/build/native.jar
[jar] jni/arm-Linux/libjffi-1.2.so already added, skipping
-assemble-final-jar:
[jar] Building jar: /root/jffi/dist/jffi-complete.jar
[jar] Warning: selected jar files include a META-INF/INDEX.LIST which will be replaced by a newly generated one.
-post-jar:
jar:
BUILD SUCCESSFUL
Total time: 2 minutes 30 seconds
Hello, World
jffi jar version=1.2.8
Error: java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: /tmp/jffi1791052398112483845.tmp: /tmp/jffi1791052398112483845.tmp: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1882)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1061)
at com.kenai.jffi.internal.StubLoader.loadFromJar(Unknown Source)
at com.kenai.jffi.internal.StubLoader.load(Unknown Source)
at com.kenai.jffi.internal.StubLoader.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at com.kenai.jffi.Init.load(Unknown Source)
at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Unknown Source)
at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Unknown Source)
at com.kenai.jffi.Foreign.getInstance(Unknown Source)
at com.kenai.jffi.Main.main(Unknown Source)
java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/libjffi-1.2.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1061)
at com.kenai.jffi.internal.StubLoader.loadFromBootPath(Unknown Source)
at com.kenai.jffi.internal.StubLoader.load(Unknown Source)
at com.kenai.jffi.internal.StubLoader.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at com.kenai.jffi.Init.load(Unknown Source)
at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Unknown Source)
at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Unknown Source)
at com.kenai.jffi.Foreign.getInstance(Unknown Source)
at com.kenai.jffi.Main.main(Unknown Source)
java.lang.UnsatisfiedLinkError: Can't load library: /lib/libjffi-1.2.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1061)
at com.kenai.jffi.internal.StubLoader.loadFromBootPath(Unknown Source)
at com.kenai.jffi.internal.StubLoader.load(Unknown Source)
at com.kenai.jffi.internal.StubLoader.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at com.kenai.jffi.Init.load(Unknown Source)
at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Unknown Source)
at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Unknown Source)
at com.kenai.jffi.Foreign.getInstance(Unknown Source)
at com.kenai.jffi.Main.main(Unknown Source)
java.lang.UnsatisfiedLinkError: Can't load library: /usr/java/packages/lib/arm/libjffi-1.2.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1061)
at com.kenai.jffi.internal.StubLoader.loadFromBootPath(Unknown Source)
at com.kenai.jffi.internal.StubLoader.load(Unknown Source)
at com.kenai.jffi.internal.StubLoader.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at com.kenai.jffi.Init.load(Unknown Source)
at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Unknown Source)
at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Unknown Source)
at com.kenai.jffi.Foreign.getInstance(Unknown Source)
at com.kenai.jffi.Main.main(Unknown Source)
@Favorwilliams
Copy link

My Pleasure to write you,
My name is Favor Williams,
My email address is
( [email protected])
Am interested to know
more about you,
Contact me for my
photo and other
important issue via,

[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment