ubuntu@jumpbox:~/binary-builder/build/ffi$ rake
[warn] YARD unavailable
cd build/powerpc64le-linux/ffi_c/1.9.3
make
make -C "/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi"
make[1]: Entering directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi'
make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=" "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/ubuntu/binary-builder/build/ffi/ext/ffi_c/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 -m elf64ppc" "NM=/usr/bin/nm -B" "RANLIB=ranlib" "DESTDIR=" all-recursive
make[2]: Entering directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi'
Making all in include
make[3]: Entering directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/include'
Making all in testsuite
make[3]: Entering directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/testsuite'
Making all in man
make[3]: Entering directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/man'
make[3]: Entering directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi'
make[2]: Leaving directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi'
make[1]: Leaving directory `/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi'
compiling ../../../../ext/ffi_c/LastError.c
compiling ../../../../ext/ffi_c/MappedType.c
../../../../ext/ffi_c/MappedType.c: In function ‘mapped_initialize’:
../../../../ext/ffi_c/MappedType.c:63:11: warning: unused variable ‘t’ [-Wunused-variable]
Type* t = NULL;
^
compiling ../../../../ext/ffi_c/Thread.c
compiling ../../../../ext/ffi_c/StructLayout.c
../../../../ext/ffi_c/StructLayout.c: In function ‘struct_field_initialize’:
../../../../ext/ffi_c/StructLayout.c:80:9: warning: variable ‘nargs’ set but not used [-Wunused-but-set-variable]
int nargs;
^
compiling ../../../../ext/ffi_c/Platform.c
compiling ../../../../ext/ffi_c/Variadic.c
../../../../ext/ffi_c/Variadic.c: In function ‘variadic_initialize’:
../../../../ext/ffi_c/Variadic.c:89:8: warning: unused variable ‘rbConventionStr’ [-Wunused-variable]
VALUE rbConventionStr;
^
../../../../ext/ffi_c/Variadic.c:87:11: warning: variable ‘convention’ set but not used [-Wunused-but-set-variable]
VALUE convention = Qnil;
^
compiling ../../../../ext/ffi_c/StructByReference.c
compiling ../../../../ext/ffi_c/Pointer.c
compiling ../../../../ext/ffi_c/ClosurePool.c
compiling ../../../../ext/ffi_c/Buffer.c
compiling ../../../../ext/ffi_c/DynamicLibrary.c
compiling ../../../../ext/ffi_c/Type.c
compiling ../../../../ext/ffi_c/Function.c
../../../../ext/ffi_c/Function.c: In function ‘callback_invoke’:
../../../../ext/ffi_c/Function.c:457:14: warning: variable ‘empty’ set but not used [-Wunused-but-set-variable]
bool empty = false;
^
compiling ../../../../ext/ffi_c/MemoryPointer.c
../../../../ext/ffi_c/MemoryPointer.c:133:1: warning: ‘memptr_mark’ defined but not used [-Wunused-function]
memptr_mark(Pointer* ptr)
^
compiling ../../../../ext/ffi_c/ArrayType.c
compiling ../../../../ext/ffi_c/AbstractMemory.c
../../../../ext/ffi_c/AbstractMemory.c:63:1: warning: ‘memory_put_bool’ defined but not used [-Wunused-function]
memory_put_##name(VALUE self, VALUE offset, VALUE value) \
^
../../../../ext/ffi_c/AbstractMemory.c:271:1: note: in expansion of macro ‘NUM_OP’
NUM_OP(bool, unsigned char, rbffi_bool_value, rbffi_bool_new, NOSWAP);
^
../../../../ext/ffi_c/AbstractMemory.c:72:1: warning: ‘memory_write_bool’ defined but not used [-Wunused-function]
memory_write_##name(VALUE self, VALUE value) \
^
../../../../ext/ffi_c/AbstractMemory.c:271:1: note: in expansion of macro ‘NUM_OP’
NUM_OP(bool, unsigned char, rbffi_bool_value, rbffi_bool_new, NOSWAP);
^
../../../../ext/ffi_c/AbstractMemory.c:91:1: warning: ‘memory_get_bool’ defined but not used [-Wunused-function]
memory_get_##name(VALUE self, VALUE offset) \
^
../../../../ext/ffi_c/AbstractMemory.c:271:1: note: in expansion of macro ‘NUM_OP’
NUM_OP(bool, unsigned char, rbffi_bool_value, rbffi_bool_new, NOSWAP);
^
../../../../ext/ffi_c/AbstractMemory.c:99:1: warning: ‘memory_read_bool’ defined but not used [-Wunused-function]
memory_read_##name(VALUE self) \
^
../../../../ext/ffi_c/AbstractMemory.c:271:1: note: in expansion of macro ‘NUM_OP’
NUM_OP(bool, unsigned char, rbffi_bool_value, rbffi_bool_new, NOSWAP);
^
../../../../ext/ffi_c/AbstractMemory.c:125:1: warning: ‘memory_write_array_of_bool’ defined but not used [-Wunused-function]
memory_write_array_of_##name(VALUE self, VALUE ary) \
^
../../../../ext/ffi_c/AbstractMemory.c:271:1: note: in expansion of macro ‘NUM_OP’
NUM_OP(bool, unsigned char, rbffi_bool_value, rbffi_bool_new, NOSWAP);
^
../../../../ext/ffi_c/AbstractMemory.c:149:1: warning: ‘memory_read_array_of_bool’ defined but not used [-Wunused-function]
memory_read_array_of_##name(VALUE self, VALUE length) \
^
../../../../ext/ffi_c/AbstractMemory.c:271:1: note: in expansion of macro ‘NUM_OP’
NUM_OP(bool, unsigned char, rbffi_bool_value, rbffi_bool_new, NOSWAP);
^
../../../../ext/ffi_c/AbstractMemory.c:387:1: warning: ‘memory_read_array_of_string’ defined but not used [-Wunused-function]
memory_read_array_of_string(int argc, VALUE* argv, VALUE self)
^
compiling ../../../../ext/ffi_c/StructByValue.c
compiling ../../../../ext/ffi_c/Struct.c
compiling ../../../../ext/ffi_c/Types.c
compiling ../../../../ext/ffi_c/DataConverter.c
compiling ../../../../ext/ffi_c/ffi.c
compiling ../../../../ext/ffi_c/Call.c
compiling ../../../../ext/ffi_c/MethodHandle.c
compiling ../../../../ext/ffi_c/FunctionInfo.c
../../../../ext/ffi_c/FunctionInfo.c: In function ‘fntype_initialize’:
../../../../ext/ffi_c/FunctionInfo.c:92:27: warning: variable ‘rbConvention’ set but not used [-Wunused-but-set-variable]
VALUE rbEnums = Qnil, rbConvention = Qnil, rbBlocking = Qnil;
^
linking shared-object ffi_c.so
/usr/bin/ld: /home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/.libs/libffi_convenience.a(linux64.o): ABI version 1 is not compatible with ABI version 2 output
/usr/bin/ld: failed to merge target specific data of file /home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/.libs/libffi_convenience.a(linux64.o)
/usr/bin/ld: /home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/.libs/libffi_convenience.a(linux64_closure.o): ABI version 1 is not compatible with ABI version 2 output
/usr/bin/ld: failed to merge target specific data of file /home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/.libs/libffi_convenience.a(linux64_closure.o)
/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/.libs/libffi_convenience.a(linux64.o): In function `.ffi_call_LINUX64':
(.text+0x34): undefined reference to `.ffi_prep_args64'
/home/ubuntu/binary-builder/build/ffi/build/powerpc64le-linux/ffi_c/1.9.3/libffi/.libs/libffi_convenience.a(linux64_closure.o): In function `.ffi_closure_LINUX64':
linux64_closure.S:(.text+0x70): undefined reference to `.ffi_closure_helper_LINUX64'
collect2: error: ld returned 1 exit status
make: *** [ffi_c.so] Error 1
rake aborted!
Command failed with status (2): [make...]
/var/lib/gems/1.9.1/gems/rake-compiler-0.9.5/lib/rake/extensiontask.rb:155:in `block (2 levels) in define_compile_tasks'
/var/lib/gems/1.9.1/gems/rake-compiler-0.9.5/lib/rake/extensiontask.rb:154:in `block in define_compile_tasks'
Tasks: TOP => default => specs => compile => compile:powerpc64le-linux => compile:ffi_c:powerpc64le-linux => copy:ffi_c:powerpc64le-linux:1.9.3 => build/powerpc64le-linux/ffi_c/1.9.3/ffi_c.so
(See full trace by running task with --trace)