Created
December 21, 2011 22:24
-
-
Save rmoriz/1507996 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rmoriz@panda:~/jffi$ ant jar | |
| Buildfile: /home/rmoriz/jffi/build.xml | |
| -pre-init: | |
| -init-private: | |
| -pre-init-libraries: | |
| -init-private-libraries: | |
| -init-libraries: | |
| -init-user: | |
| -init-project: | |
| -init-macrodef-property: | |
| -do-init: | |
| -init-vars: | |
| [mkdir] Created dir: /home/rmoriz/jffi/build/jni | |
| -post-init: | |
| -init-check: | |
| -init-ap-cmdline-properties: | |
| -init-macrodef-javac-with-processors: | |
| -init-macrodef-javac-without-processors: | |
| -init-macrodef-javac: | |
| -init-macrodef-junit: | |
| -init-debug-args: | |
| -init-macrodef-nbjpda: | |
| -init-macrodef-debug: | |
| -init-macrodef-java: | |
| -init-presetdef-jar: | |
| -init-ap-cmdline-supported: | |
| -init-ap-cmdline: | |
| init: | |
| -deps-jar-init: | |
| deps-jar: | |
| -warn-already-built-jar: | |
| [propertyfile] Updating property file: /home/rmoriz/jffi/build/built-jar.properties | |
| -check-automatic-build: | |
| -clean-after-automatic-build: | |
| -verify-automatic-build: | |
| -pre-pre-compile: | |
| [mkdir] Created dir: /home/rmoriz/jffi/build/classes | |
| -pre-compile: | |
| -copy-persistence-xml: | |
| -compile-depend: | |
| -do-compile: | |
| [mkdir] Created dir: /home/rmoriz/jffi/build/empty | |
| [javac] Compiling 37 source files to /home/rmoriz/jffi/build/classes | |
| [javac] MemoryIO.java:682: warning: sun.misc.Unsafe is internal proprietary API and may be removed in a future release | |
| [javac] protected static sun.misc.Unsafe unsafe = sun.misc.Unsafe.class.cast(getUnsafe()); | |
| [javac] ^ | |
| [javac] MemoryIO.java:682: warning: sun.misc.Unsafe is internal proprietary API and may be removed in a future release | |
| [javac] protected static sun.misc.Unsafe unsafe = sun.misc.Unsafe.class.cast(getUnsafe()); | |
| [javac] ^ | |
| [javac] 2 warnings | |
| -generate-version-source: | |
| [echo] Generating Version.java | |
| [mkdir] Created dir: /home/rmoriz/jffi/build/java/com/kenai/jffi | |
| -generate-version: | |
| [javac] Compiling 1 source file to /home/rmoriz/jffi/build/classes | |
| -compile-java: | |
| -generate-native-headers: | |
| -build-native-library: | |
| [exec] Configuring libffi for arm-linux | |
| [exec] configure: error: in `/home/rmoriz/jffi/build/jni/libffi-arm-linux': | |
| [exec] configure: error: C compiler cannot create executables | |
| [exec] See `config.log' for more details. | |
| [exec] make: *** [/home/rmoriz/jffi/build/jni/libffi-arm-linux/.libs/libffi_convenience.a] Error 77 | |
| BUILD FAILED | |
| /home/rmoriz/jffi/custom-build.xml:125: exec returned: 2 | |
| Total time: 18 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rmoriz@panda:~/jffi$ java -version | |
| java version "1.6.0_23" | |
| OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10) | |
| JamVM (build 1.6.0-devel, inline-threaded interpreter with stack-caching) | |
| rmoriz@panda:~/jffi$ lsb_release -a | |
| No LSB modules are available. | |
| Distributor ID: Linaro | |
| Description: Linaro 11.12 (development branch) | |
| Release: 11.12 | |
| Codename: oneiric |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rmoriz@panda:~/jffi/jni/libffi$ ./configure | |
| checking build system type... armv7l-unknown-linux-gnueabi | |
| checking host system type... armv7l-unknown-linux-gnueabi | |
| checking target system type... armv7l-unknown-linux-gnueabi | |
| checking for a BSD-compatible install... /usr/bin/install -c | |
| checking whether build environment is sane... yes | |
| checking for a thread-safe mkdir -p... /bin/mkdir -p | |
| checking for gawk... gawk | |
| checking whether make sets $(MAKE)... yes | |
| checking for gcc... gcc | |
| checking for C compiler default output file name... a.out | |
| checking whether the C compiler works... yes | |
| checking whether we are cross compiling... no | |
| checking for suffix of executables... | |
| checking for suffix of object files... o | |
| checking whether we are using the GNU C compiler... yes | |
| checking whether gcc accepts -g... yes | |
| checking for gcc option to accept ISO C89... none needed | |
| checking for style of include used by make... GNU | |
| checking dependency style of gcc... gcc3 | |
| checking dependency style of gcc... gcc3 | |
| checking whether gcc and cc understand -c and -o together... yes | |
| checking for a sed that does not truncate output... /bin/sed | |
| checking for grep that handles long lines and -e... /bin/grep | |
| checking for egrep... /bin/grep -E | |
| checking for fgrep... /bin/grep -F | |
| checking for ld used by gcc... /usr/bin/ld | |
| checking if the linker (/usr/bin/ld) is GNU ld... yes | |
| checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B | |
| checking the name lister (/usr/bin/nm -B) interface... BSD nm | |
| checking whether ln -s works... yes | |
| checking the maximum length of command line arguments... 1572864 | |
| checking whether the shell understands some XSI constructs... yes | |
| checking whether the shell understands "+="... yes | |
| checking for /usr/bin/ld option to reload object files... -r | |
| checking for objdump... objdump | |
| checking how to recognize dependent libraries... pass_all | |
| checking for ar... ar | |
| checking for strip... strip | |
| checking for ranlib... ranlib | |
| checking command to parse /usr/bin/nm -B output from gcc object... ok | |
| checking how to run the C preprocessor... gcc -E | |
| checking for ANSI C header files... yes | |
| checking for sys/types.h... yes | |
| checking for sys/stat.h... yes | |
| checking for stdlib.h... yes | |
| checking for string.h... yes | |
| checking for memory.h... yes | |
| checking for strings.h... yes | |
| checking for inttypes.h... yes | |
| checking for stdint.h... yes | |
| checking for unistd.h... yes | |
| checking for dlfcn.h... yes | |
| checking for objdir... .libs | |
| checking if gcc supports -fno-rtti -fno-exceptions... no | |
| checking for gcc option to produce PIC... -fPIC -DPIC | |
| checking if gcc PIC flag -fPIC -DPIC works... yes | |
| checking if gcc static flag -static works... yes | |
| checking if gcc supports -c -o file.o... yes | |
| checking if gcc supports -c -o file.o... (cached) yes | |
| checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes | |
| checking whether -lc should be explicitly linked in... no | |
| checking dynamic linker characteristics... GNU/Linux ld.so | |
| checking how to hardcode library paths into programs... immediate | |
| checking whether stripping libraries is possible... yes | |
| checking if libtool supports shared libraries... yes | |
| checking whether to build shared libraries... yes | |
| checking whether to build static libraries... yes | |
| checking whether to enable maintainer-specific portions of Makefiles... no | |
| checking sys/mman.h usability... yes | |
| checking sys/mman.h presence... yes | |
| checking for sys/mman.h... yes | |
| checking for mmap... yes | |
| checking for sys/mman.h... (cached) yes | |
| checking for mmap... (cached) yes | |
| checking whether read-only mmap of a plain file works... yes | |
| checking whether mmap from /dev/zero works... yes | |
| checking for MAP_ANON(YMOUS)... yes | |
| checking whether mmap with MAP_ANON(YMOUS) works... yes | |
| checking for ANSI C header files... (cached) yes | |
| checking for memcpy... yes | |
| checking for working alloca.h... yes | |
| checking for alloca... yes | |
| checking size of double... 8 | |
| checking size of long double... 8 | |
| checking whether byte ordering is bigendian... no | |
| checking assembler .cfi pseudo-op support... yes | |
| checking whether .eh_frame section should be read-only... no | |
| checking for __attribute__((visibility("hidden")))... yes | |
| configure: creating ./config.status | |
| config.status: creating include/Makefile | |
| config.status: creating include/ffi.h | |
| config.status: creating Makefile | |
| config.status: creating testsuite/Makefile | |
| config.status: creating man/Makefile | |
| config.status: creating libffi.pc | |
| config.status: creating fficonfig.h | |
| config.status: linking src/arm/ffitarget.h to include/ffitarget.h | |
| config.status: executing depfiles commands | |
| config.status: executing libtool commands | |
| config.status: executing include commands | |
| config.status: executing src commands | |
| rmoriz@panda:~/jffi/jni/libffi$ make | |
| make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-g -O2" "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 /home/rmoriz/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" "prefix=/usr/local" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=/usr/bin/ld" "NM=/usr/bin/nm -B" "RANLIB=ranlib" "DESTDIR=" all-recursive | |
| make[1]: Entering directory `/home/rmoriz/jffi/jni/libffi' | |
| Making all in include | |
| make[2]: Entering directory `/home/rmoriz/jffi/jni/libffi/include' | |
| make[2]: Nothing to be done for `all'. | |
| make[2]: Leaving directory `/home/rmoriz/jffi/jni/libffi/include' | |
| Making all in testsuite | |
| make[2]: Entering directory `/home/rmoriz/jffi/jni/libffi/testsuite' | |
| make[2]: Nothing to be done for `all'. | |
| make[2]: Leaving directory `/home/rmoriz/jffi/jni/libffi/testsuite' | |
| Making all in man | |
| make[2]: Entering directory `/home/rmoriz/jffi/jni/libffi/man' | |
| make[2]: Nothing to be done for `all'. | |
| make[2]: Leaving directory `/home/rmoriz/jffi/jni/libffi/man' | |
| make[2]: Entering directory `/home/rmoriz/jffi/jni/libffi' | |
| depbase=`echo src/debug.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/debug.lo -MD -MP -MF $depbase.Tpo -c -o src/debug.lo src/debug.c &&\ | |
| mv -f $depbase.Tpo $depbase.Plo | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/debug.lo -MD -MP -MF src/.deps/debug.Tpo -c src/debug.c -fPIC -DPIC -o src/.libs/debug.o | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/debug.lo -MD -MP -MF src/.deps/debug.Tpo -c src/debug.c -o src/debug.o >/dev/null 2>&1 | |
| depbase=`echo src/prep_cif.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/prep_cif.lo -MD -MP -MF $depbase.Tpo -c -o src/prep_cif.lo src/prep_cif.c &&\ | |
| mv -f $depbase.Tpo $depbase.Plo | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c src/prep_cif.c -fPIC -DPIC -o src/.libs/prep_cif.o | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c src/prep_cif.c -o src/prep_cif.o >/dev/null 2>&1 | |
| depbase=`echo src/types.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/types.lo -MD -MP -MF $depbase.Tpo -c -o src/types.lo src/types.c &&\ | |
| mv -f $depbase.Tpo $depbase.Plo | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/types.lo -MD -MP -MF src/.deps/types.Tpo -c src/types.c -fPIC -DPIC -o src/.libs/types.o | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/types.lo -MD -MP -MF src/.deps/types.Tpo -c src/types.c -o src/types.o >/dev/null 2>&1 | |
| depbase=`echo src/raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/raw_api.lo -MD -MP -MF $depbase.Tpo -c -o src/raw_api.lo src/raw_api.c &&\ | |
| mv -f $depbase.Tpo $depbase.Plo | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo -c src/raw_api.c -fPIC -DPIC -o src/.libs/raw_api.o | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo -c src/raw_api.c -o src/raw_api.o >/dev/null 2>&1 | |
| depbase=`echo src/java_raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/java_raw_api.lo -MD -MP -MF $depbase.Tpo -c -o src/java_raw_api.lo src/java_raw_api.c &&\ | |
| mv -f $depbase.Tpo $depbase.Plo | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -c src/java_raw_api.c -fPIC -DPIC -o src/.libs/java_raw_api.o | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -c src/java_raw_api.c -o src/java_raw_api.o >/dev/null 2>&1 | |
| depbase=`echo src/closures.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/closures.lo -MD -MP -MF $depbase.Tpo -c -o src/closures.lo src/closures.c &&\ | |
| mv -f $depbase.Tpo $depbase.Plo | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c src/closures.c -fPIC -DPIC -o src/.libs/closures.o | |
| src/closures.c: In function ‘dlmmap_locked’: | |
| src/closures.c:418:17: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] | |
| src/closures.c:430:17: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c src/closures.c -o src/closures.o >/dev/null 2>&1 | |
| depbase=`echo src/arm/sysv.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
| /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -g -O2 -MT src/arm/sysv.lo -MD -MP -MF $depbase.Tpo -c -o src/arm/sysv.lo src/arm/sysv.S &&\ | |
| mv -f $depbase.Tpo $depbase.Plo | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -g -O2 -MT src/arm/sysv.lo -MD -MP -MF src/arm/.deps/sysv.Tpo -c src/arm/sysv.S -fPIC -DPIC -o src/arm/.libs/sysv.o | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -g -O2 -MT src/arm/sysv.lo -MD -MP -MF src/arm/.deps/sysv.Tpo -c src/arm/sysv.S -o src/arm/sysv.o >/dev/null 2>&1 | |
| depbase=`echo src/arm/ffi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ | |
| /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/arm/ffi.lo -MD -MP -MF $depbase.Tpo -c -o src/arm/ffi.lo src/arm/ffi.c &&\ | |
| mv -f $depbase.Tpo $depbase.Plo | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/arm/ffi.lo -MD -MP -MF src/arm/.deps/ffi.Tpo -c src/arm/ffi.c -fPIC -DPIC -o src/arm/.libs/ffi.o | |
| libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -g -O2 -MT src/arm/ffi.lo -MD -MP -MF src/arm/.deps/ffi.Tpo -c src/arm/ffi.c -o src/arm/ffi.o >/dev/null 2>&1 | |
| /bin/bash ./libtool --tag=CC --mode=link gcc -Wall -g -fexceptions -g -O2 -version-info `grep -v '^#' ./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 | |
| libtool: link: gcc -shared 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 -Wl,-soname -Wl,libffi.so.5 -o .libs/libffi.so.5.0.10 | |
| libtool: link: (cd ".libs" && rm -f "libffi.so.5" && ln -s "libffi.so.5.0.10" "libffi.so.5") | |
| libtool: link: (cd ".libs" && rm -f "libffi.so" && ln -s "libffi.so.5.0.10" "libffi.so") | |
| libtool: link: ar cru .libs/libffi.a src/debug.o src/prep_cif.o src/types.o src/raw_api.o src/java_raw_api.o src/closures.o src/arm/sysv.o src/arm/ffi.o | |
| libtool: link: ranlib .libs/libffi.a | |
| libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" ) | |
| /bin/bash ./libtool --tag=CC --mode=link gcc -Wall -g -fexceptions -g -O2 -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 | |
| 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 | |
| libtool: link: ranlib .libs/libffi_convenience.a | |
| libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" ) | |
| make[2]: Leaving directory `/home/rmoriz/jffi/jni/libffi' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rmoriz@panda:~/jffi$ uname -ar | |
| Linux panda 3.0.0-1206-omap4 #13-Ubuntu SMP PREEMPT Wed Nov 23 17:50:31 UTC 2011 armv7l armv7l armv7l GNU/Linux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment