|
package configuration for libffi is not found
|
|
have_header: checking for ffi.h... -------------------- no
|
|
|
|
"gcc -E -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -o conftest.i"
|
|
conftest.c:3:17: error: ffi.h: No such file or directory
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <ffi.h>
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
have_header: checking for ffi/ffi.h... -------------------- no
|
|
|
|
"gcc -E -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -o conftest.i"
|
|
conftest.c:3:21: error: ffi/ffi.h: No such file or directory
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <ffi/ffi.h>
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
["sh", "../../.././ext/fiddle/libffi-3.2.1/configure", "--srcdir=../../.././ext/fiddle/libffi-3.2.1", "--disable-shared", "--host=x86_64-unknown-freebsd9.1", "--enable-builddir=x86_64-freebsd9.1", "CC=gcc", "CFLAGS= -O3 -fno-fast-math -ggdb3 ", "CXX=g++", "CXXFLAGS= -O3 -fno-fast-math -ggdb3 ", "LD=ld", "LDFLAGS=-L. -fstack-protector -rdynamic -L../../.. "] in {:chdir=>"libffi-3.2.1"}
|
|
checking build system type... x86_64-unknown-freebsd9.1
|
|
checking host system type... x86_64-unknown-freebsd9.1
|
|
checking target system type... x86_64-unknown-freebsd9.1
|
|
checking for gsed... sed
|
|
checking for a BSD-compatible install... /usr/bin/install -c
|
|
checking whether build environment is sane... yes
|
|
checking for x86_64-unknown-freebsd9.1-strip... no
|
|
checking for strip... strip
|
|
checking for a thread-safe mkdir -p... ./install-sh -c -d
|
|
checking for gawk... no
|
|
checking for mawk... no
|
|
checking for nawk... nawk
|
|
checking whether make sets $(MAKE)... yes
|
|
checking whether make supports nested variables... yes
|
|
checking for x86_64-unknown-freebsd9.1-gcc... gcc
|
|
checking whether the C compiler works... yes
|
|
checking for C compiler default output file name... a.out
|
|
checking for suffix of executables...
|
|
checking whether we are cross compiling... no
|
|
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 whether we are using the GNU C++ compiler... yes
|
|
checking whether g++ accepts -g... yes
|
|
checking dependency style of g++... gcc3
|
|
checking dependency style of gcc... gcc3
|
|
checking whether gcc and cc understand -c and -o together... yes
|
|
checking how to print strings... printf
|
|
checking for a sed that does not truncate output... /usr/bin/sed
|
|
checking for grep that handles long lines and -e... /usr/bin/grep
|
|
checking for egrep... /usr/bin/grep -E
|
|
checking for fgrep... /usr/bin/grep -F
|
|
checking for ld used by gcc... ld
|
|
checking if the linker (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... 196608
|
|
checking whether the shell understands some XSI constructs... yes
|
|
checking whether the shell understands "+="... no
|
|
checking how to convert x86_64-unknown-freebsd9.1 file names to x86_64-unknown-freebsd9.1 format... func_convert_file_noop
|
|
checking how to convert x86_64-unknown-freebsd9.1 file names to toolchain format... func_convert_file_noop
|
|
checking for ld option to reload object files... -r
|
|
checking for x86_64-unknown-freebsd9.1-objdump... no
|
|
checking for objdump... objdump
|
|
checking how to recognize dependent libraries... pass_all
|
|
checking for x86_64-unknown-freebsd9.1-dlltool... no
|
|
checking for dlltool... no
|
|
checking how to associate runtime and link libraries... printf %s\n
|
|
checking for x86_64-unknown-freebsd9.1-ar... no
|
|
checking for ar... ar
|
|
checking for archiver @FILE support... no
|
|
checking for x86_64-unknown-freebsd9.1-strip... strip
|
|
checking for x86_64-unknown-freebsd9.1-ranlib... no
|
|
checking for ranlib... ranlib
|
|
checking command to parse /usr/bin/nm -B output from gcc object... ok
|
|
checking for sysroot... no
|
|
checking for x86_64-unknown-freebsd9.1-mt... no
|
|
checking for mt... mt
|
|
checking if mt is a manifest tool... no
|
|
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 (ld) supports shared libraries... yes
|
|
checking dynamic linker characteristics... freebsd9.1 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... no
|
|
checking whether to build static libraries... yes
|
|
checking how to run the C++ preprocessor... g++ -E
|
|
checking for ld used by g++... ld
|
|
checking if the linker (ld) is GNU ld... yes
|
|
checking whether the g++ linker (ld) supports shared libraries... yes
|
|
checking for g++ option to produce PIC... -fPIC -DPIC
|
|
checking if g++ PIC flag -fPIC -DPIC works... yes
|
|
checking if g++ static flag -static works... yes
|
|
checking if g++ supports -c -o file.o... yes
|
|
checking if g++ supports -c -o file.o... (cached) yes
|
|
checking whether the g++ linker (ld) supports shared libraries... yes
|
|
checking dynamic linker characteristics... freebsd9.1 ld.so
|
|
checking how to hardcode library paths into programs... immediate
|
|
checking size of size_t... 8
|
|
checking for C compiler vendor... gnu
|
|
checking CFLAGS for maximum warnings... -Wall
|
|
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 mkostemp... no
|
|
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 size_t... yes
|
|
checking for working alloca.h... no
|
|
checking for alloca... yes
|
|
checking size of double... 8
|
|
checking size of long double... 16
|
|
checking whether byte ordering is bigendian... no
|
|
checking assembler .cfi pseudo-op support... yes
|
|
checking assembler supports pc related relocs... yes
|
|
checking assembler .ascii pseudo-op support... yes
|
|
checking assembler .string pseudo-op support... yes
|
|
checking for _ prefix in compiled symbols... no
|
|
checking toolchain supports unwind section type... yes
|
|
checking whether .eh_frame section should be read-only... yes
|
|
checking for __attribute__((visibility("hidden")))... yes
|
|
checking that generated files are newer than configure... done
|
|
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: fficonfig.h is unchanged
|
|
config.status: linking src/x86/ffitarget.h to include/ffitarget.h
|
|
config.status: executing buildir commands
|
|
config.status: keeping top_srcdir/Makefile from earlier configure
|
|
config.status: build in x86_64-freebsd9.1 (HOST=www3433.sakura.ne.jp)
|
|
config.status: executing depfiles commands
|
|
config.status: executing libtool commands
|
|
config.status: executing include commands
|
|
config.status: executing src commands
|
|
have_header: checking for sys/mman.h... -------------------- yes
|
|
|
|
"gcc -E -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -o conftest.i"
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <sys/mman.h>
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
have_header: checking for dlfcn.h... -------------------- yes
|
|
|
|
"gcc -E -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -o conftest.i"
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <dlfcn.h>
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
have_library: checking for main() in -ldl... -------------------- no
|
|
|
|
"gcc -o conftest -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-R/usr/local/lib -L/usr/local/lib -lruby-static -ldl -lprocstat -lthr -lcrypt -lm -lc"
|
|
/usr/bin/ld: cannot find -ldl
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
|
|
/* end */
|
|
|
|
"gcc -o conftest -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-R/usr/local/lib -L/usr/local/lib -lruby-static -ldl -lprocstat -lthr -lcrypt -lm -lc"
|
|
conftest.c: In function 't':
|
|
conftest.c:13: error: too few arguments to function 'main'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: int t(void) { main(); return 0; }
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
have_func: checking for dlopen()... -------------------- yes
|
|
|
|
"gcc -o conftest -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-R/usr/local/lib -L/usr/local/lib -lruby-static -lprocstat -lthr -lcrypt -lm -lc"
|
|
conftest.c: In function 't':
|
|
conftest.c:13: error: 'dlopen' undeclared (first use in this function)
|
|
conftest.c:13: error: (Each undeclared identifier is reported only once
|
|
conftest.c:13: error: for each function it appears in.)
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))dlopen; return 0; }
|
|
/* end */
|
|
|
|
"gcc -o conftest -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-R/usr/local/lib -L/usr/local/lib -lruby-static -lprocstat -lthr -lcrypt -lm -lc"
|
|
conftest.c: In function 't':
|
|
conftest.c:13: warning: implicit declaration of function 'dlopen'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: int t(void) { dlopen(); return 0; }
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
have_func: checking for dlclose()... -------------------- yes
|
|
|
|
"gcc -o conftest -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-R/usr/local/lib -L/usr/local/lib -lruby-static -lprocstat -lthr -lcrypt -lm -lc"
|
|
conftest.c: In function 't':
|
|
conftest.c:13: error: 'dlclose' undeclared (first use in this function)
|
|
conftest.c:13: error: (Each undeclared identifier is reported only once
|
|
conftest.c:13: error: for each function it appears in.)
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))dlclose; return 0; }
|
|
/* end */
|
|
|
|
"gcc -o conftest -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-R/usr/local/lib -L/usr/local/lib -lruby-static -lprocstat -lthr -lcrypt -lm -lc"
|
|
conftest.c: In function 't':
|
|
conftest.c:13: warning: implicit declaration of function 'dlclose'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: int t(void) { dlclose(); return 0; }
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
have_func: checking for dlsym()... -------------------- yes
|
|
|
|
"gcc -o conftest -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-R/usr/local/lib -L/usr/local/lib -lruby-static -lprocstat -lthr -lcrypt -lm -lc"
|
|
conftest.c: In function 't':
|
|
conftest.c:13: error: 'dlsym' undeclared (first use in this function)
|
|
conftest.c:13: error: (Each undeclared identifier is reported only once
|
|
conftest.c:13: error: for each function it appears in.)
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))dlsym; return 0; }
|
|
/* end */
|
|
|
|
"gcc -o conftest -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-R/usr/local/lib -L/usr/local/lib -lruby-static -lprocstat -lthr -lcrypt -lm -lc"
|
|
conftest.c: In function 't':
|
|
conftest.c:13: warning: implicit declaration of function 'dlsym'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: int t(void) { dlsym(); return 0; }
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
have_func: checking for dlerror()... -------------------- yes
|
|
|
|
"gcc -o conftest -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-R/usr/local/lib -L/usr/local/lib -lruby-static -lprocstat -lthr -lcrypt -lm -lc"
|
|
conftest.c: In function 't':
|
|
conftest.c:13: error: 'dlerror' undeclared (first use in this function)
|
|
conftest.c:13: error: (Each undeclared identifier is reported only once
|
|
conftest.c:13: error: for each function it appears in.)
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))dlerror; return 0; }
|
|
/* end */
|
|
|
|
"gcc -o conftest -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-R/usr/local/lib -L/usr/local/lib -lruby-static -lprocstat -lthr -lcrypt -lm -lc"
|
|
conftest.c: In function 't':
|
|
conftest.c:13: warning: implicit declaration of function 'dlerror'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: int t(void) { dlerror(); return 0; }
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
have_const: checking for FFI_STDCALL in ffi.h... -------------------- yes
|
|
|
|
"gcc -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -c conftest.c"
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <ffi.h>
|
|
4:
|
|
5: /*top*/
|
|
6: typedef int conftest_type;
|
|
7: conftest_type conftestval = (int)FFI_STDCALL;
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
check_signedness: checking signedness of size_t... -------------------- unsigned
|
|
|
|
"gcc -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -c conftest.c"
|
|
conftest.c:7: warning: comparison of unsigned expression < 0 is always false
|
|
conftest.c:7: error: size of array 'conftest_const' is negative
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <stddef.h>
|
|
4: typedef size_t rbcv_typedef_;
|
|
5:
|
|
6: /*top*/
|
|
7: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
|
|
/* end */
|
|
|
|
"gcc -I../../.ext/include/x86_64-freebsd9.1 -I../.././include -I../.././ext/fiddle -Ilibffi-3.2.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -c conftest.c"
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <stddef.h>
|
|
4: typedef size_t rbcv_typedef_;
|
|
5:
|
|
6: /*top*/
|
|
7: int conftest_const[((rbcv_typedef_)-1 > 0) ? 1 : -1];
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
extconf.h is:
|
|
/* begin */
|
|
1: #ifndef EXTCONF_H
|
|
2: #define EXTCONF_H
|
|
3: #define RUBY_LIBFFI_MODVERSION 3002001
|
|
4: #define HAVE_SYS_MMAN_H 1
|
|
5: #define HAVE_DLFCN_H 1
|
|
6: #define HAVE_DLOPEN 1
|
|
7: #define HAVE_DLCLOSE 1
|
|
8: #define HAVE_DLSYM 1
|
|
9: #define HAVE_DLERROR 1
|
|
10: #define HAVE_CONST_FFI_STDCALL 1
|
|
11: #define SIGNEDNESS_OF_SIZE_T +1
|
|
12: #endif
|
|
/* end */
|
|
|