On 04/14/11 14:03, Matthew Flatt wrote: > At Thu, 14 Apr 2011 10:40:12 +0200, Marijn wrote: >> I'm not sure how >> to debug that AC_TRY_LINK invocation or what kind of information would >> help you to do it, so please tell me if you need anything. > > Can you send me "config.log"? It shows the compilation commands and > error messages when AC_TRY_LINK tries to compile and link.
configure:5116: result: yes configure:5121: checking for libffi configure:5173: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -I/usr/lib64/libffi-3.0.10rc8/include -Wl,-O1 -Wl,--as-needed -lffi conftest.c -ldl -lm -ldl -lm -rdynamic >&5 /var/tmp/portage/dev-scheme/racket-999/temp/ccc4wcaM.o: In function `main': /var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/conftest.c:29: undefined reference to `ffi_type_void' /var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/conftest.c:29: undefined reference to `ffi_prep_cif' collect2: ld returned 1 exit status configure:5179: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define USE_SINGLE_FLOATS 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define MZ_USE_NOINLINE 1 | #define HAVE_CODESET 1 | #define HAVE_GETADDRINFO 1 | #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 | /* end confdefs.h. */ | #include <ffi.h> | int | main () | { | ffi_cif cif; | ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 0, &ffi_type_void, NULL); | ; | return 0; | } configure:5195: result: no
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-gracket --disable-plot --disable-docs --enable-shared --disable-jit --enable-foreign --disable-places --disable-futures --disable-backtrace --disable-pthread --disable-perl --with-x ## --------- ## ## Platform. ## ## --------- ## hostname = fusion uname -m = x86_64 uname -r = 2.6.36-gentoo-r8 uname -s = Linux uname -v = #1 SMP PREEMPT Wed Mar 9 14:02:29 CET 2011 /usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU E8600 @ 3.33GHz /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/lib64/portage/bin/ebuild-helpers/4 PATH: /usr/lib64/portage/bin/ebuild-helpers PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5 ## ----------- ## ## Core tests. ## ## ----------- ## configure:1693: loading site script /usr/share/config.site | #!/bin/bash | # Copyright 2009 Gentoo Foundation | # Distributed under the terms of the GNU General Public License v2 | | TOPDIR=/usr/share/crossdev/include/site | | config_site_arch() { | local host=$(echo ${CHOST/-/ } | awk '{print $1}') | | [[ ${host/arm.*eb/} != ${host} ]] && host=armeb | [[ ${host/arm/} != ${host} ]] && [[ ${host} != armeb ]] && host=arm | | [[ ${host/mips.*el/} != ${host} ]] && host=mipsel | | #[[ ${host/i[4-5]/6} != ${host} ]] && host=i686 | | echo ${host} | } | | config_site_names() { | local site_arch=$(config_site_arch) | local sites="" | local x | | [[ ${CHOST/-linux-/} != $CHOST ]] && sites+=" linux ${site_arch}-linux" | [[ ${CHOST/darwin/} != $CHOST ]] && sites+=" darwin ${site_arch}-linux" | | [[ ${CHOST/-linux-uclibc/} != $CHOST ]] && sites+=" linux-uclibc ${site_arch}-linux-uclibc" | [[ ${CHOST/-linux-gnu/} != $CHOST ]] && sites+=" linux-gnu ${site_arch}-linux-gnu" | | [[ ${CHOST/-linux-uclibceabi/} != $CHOST ]] && sites+=" linux-uclibceabi ${site_arch}-linux-uclibceabi" | [[ ${CHOST/-linux-gnueabi/} != $CHOST ]] && sites+=" linux-gnueabi ${site_arch}-linux-gnueabi" | | for x in ${sites} ${CHOST}; do | [[ -e ${TOPDIR}/${x} ]] && echo ${TOPDIR}/${x} | done | } | | if [[ ${CHOST} != "" ]]; then | sites="$(config_site_names)" | if [[ ${sites} != "" ]]; then | for site in ${sites}; do | echo "$(basename $0): loading site script ${site}" | . ${site} | done | fi | unset site | unset sites | fi configure:2366: checking for x86_64-pc-linux-gnu-gcc configure:2382: found /usr/bin/x86_64-pc-linux-gnu-gcc configure:2393: result: x86_64-pc-linux-gnu-gcc configure:2671: checking for C compiler version configure:2678: x86_64-pc-linux-gnu-gcc --version >&5 x86_64-pc-linux-gnu-gcc (Gentoo 4.4.5 p1.0, pie-0.4.5) 4.4.5 Copyright (C) 2010 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:2681: $? = 0 configure:2688: x86_64-pc-linux-gnu-gcc -v >&5 Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.5 p1.0, pie-0.4.5' Thread model: posix gcc version 4.4.5 (Gentoo 4.4.5 p1.0, pie-0.4.5) configure:2691: $? = 0 configure:2698: x86_64-pc-linux-gnu-gcc -V >&5 x86_64-pc-linux-gnu-gcc: '-V' option must have argument configure:2701: $? = 1 configure:2724: checking for C compiler default output file name configure:2751: x86_64-pc-linux-gnu-gcc -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2754: $? = 0 configure:2792: result: a.out configure:2809: checking whether the C compiler works configure:2819: ./a.out configure:2822: $? = 0 configure:2839: result: yes configure:2846: checking whether we are cross compiling configure:2848: result: no configure:2851: checking for suffix of executables configure:2858: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2861: $? = 0 configure:2885: result: configure:2891: checking for suffix of object files configure:2917: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:2920: $? = 0 configure:2943: result: o configure:2947: checking whether we are using the GNU C compiler configure:2976: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:2982: $? = 0 configure:2999: result: yes configure:3004: checking whether x86_64-pc-linux-gnu-gcc accepts -g configure:3034: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:3040: $? = 0 configure:3139: result: yes configure:3156: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89 configure:3230: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:3236: $? = 0 configure:3259: result: none needed configure:3282: checking how to run the C preprocessor configure:3322: x86_64-pc-linux-gnu-gcc -E conftest.c configure:3328: $? = 0 configure:3359: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:9:28: error: ac_nonexistent.h: No such file or directory configure:3365: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define USE_SINGLE_FLOATS 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:3398: result: x86_64-pc-linux-gnu-gcc -E configure:3427: x86_64-pc-linux-gnu-gcc -E conftest.c configure:3433: $? = 0 configure:3464: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:9:28: error: ac_nonexistent.h: No such file or directory configure:3470: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define USE_SINGLE_FLOATS 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:3517: checking for x86_64-pc-linux-gnu-ranlib configure:3533: found /usr/bin/x86_64-pc-linux-gnu-ranlib configure:3544: result: x86_64-pc-linux-gnu-ranlib configure:3691: checking for cos in -lm configure:3726: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -lm >&5 conftest.c:16: warning: conflicting types for built-in function 'cos' configure:3732: $? = 0 configure:3750: result: yes configure:3762: checking for dlopen in -ldl configure:3797: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm >&5 configure:3803: $? = 0 configure:3821: result: yes configure:4114: checking for inline keyword configure:4136: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:4139: $? = 0 configure:4145: ./conftest configure:4148: $? = 0 configure:4166: result: yes configure:4170: checking for noinline attribute configure:4193: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:4196: $? = 0 configure:4202: ./conftest configure:4205: $? = 0 configure:4227: result: yes configure:4231: checking for GNU preprocessor configure:4256: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:4259: $? = 0 configure:4265: ./conftest configure:4268: $? = 0 configure:4286: result: yes configure:4289: checking for nl_langinfo (CODESET) configure:4312: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:4318: $? = 0 configure:4339: result: yes configure:4342: checking for getaddrinfo configure:4367: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:4373: $? = 0 configure:4394: result: yes configure:4400: checking for grep that handles long lines and -e configure:4474: result: /bin/grep configure:4479: checking for egrep configure:4557: result: /bin/grep -E configure:4562: checking for ANSI C header files configure:4592: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:4598: $? = 0 configure:4697: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:4700: $? = 0 configure:4706: ./conftest configure:4709: $? = 0 configure:4726: result: yes configure:4750: checking for sys/types.h configure:4771: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:4777: $? = 0 configure:4793: result: yes configure:4750: checking for sys/stat.h configure:4771: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:4777: $? = 0 configure:4793: result: yes configure:4750: checking for stdlib.h configure:4771: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:4777: $? = 0 configure:4793: result: yes configure:4750: checking for string.h configure:4771: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:4777: $? = 0 configure:4793: result: yes configure:4750: checking for memory.h configure:4771: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:4777: $? = 0 configure:4793: result: yes configure:4750: checking for strings.h configure:4771: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:4777: $? = 0 configure:4793: result: yes configure:4750: checking for inttypes.h configure:4771: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:4777: $? = 0 configure:4793: result: yes configure:4750: checking for stdint.h configure:4771: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:4777: $? = 0 configure:4793: result: yes configure:4750: checking for unistd.h configure:4771: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:4777: $? = 0 configure:4793: result: yes configure:4815: checking iconv.h usability configure:4832: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:4838: $? = 0 configure:4852: result: yes configure:4856: checking iconv.h presence configure:4871: x86_64-pc-linux-gnu-gcc -E conftest.c configure:4877: $? = 0 configure:4891: result: yes configure:4919: checking for iconv.h configure:4926: result: yes configure:4961: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:4964: $? = 0 configure:4970: ./conftest configure:4973: $? = 0 configure:5051: checking iconv is usable configure:5054: result: yes configure:5061: checking for mbsrtowcs configure:5086: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 conftest.c: In function 'main': conftest.c:28: warning: passing argument 2 of 'mbsrtowcs' from incompatible pointer type /usr/include/bits/wchar2.h:475: note: expected 'const char ** __restrict__' but argument is of type 'char **' configure:5089: $? = 0 configure:5095: ./conftest configure:5098: $? = 0 configure:5116: result: yes configure:5121: checking for libffi configure:5173: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -I/usr/lib64/libffi-3.0.10rc8/include -Wl,-O1 -Wl,--as-needed -lffi conftest.c -ldl -lm -ldl -lm -rdynamic >&5 /var/tmp/portage/dev-scheme/racket-999/temp/ccc4wcaM.o: In function `main': /var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/conftest.c:29: undefined reference to `ffi_type_void' /var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/conftest.c:29: undefined reference to `ffi_prep_cif' collect2: ld returned 1 exit status configure:5179: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define USE_SINGLE_FLOATS 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define MZ_USE_NOINLINE 1 | #define HAVE_CODESET 1 | #define HAVE_GETADDRINFO 1 | #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 | /* end confdefs.h. */ | #include <ffi.h> | int | main () | { | ffi_cif cif; | ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 0, &ffi_type_void, NULL); | ; | return 0; | } configure:5195: result: no configure:5237: checking for char configure:5267: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:5273: $? = 0 configure:5288: result: yes configure:5295: checking size of char configure:5597: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:5600: $? = 0 configure:5606: ./conftest configure:5609: $? = 0 configure:5632: result: 1 configure:5642: checking for short configure:5672: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:5678: $? = 0 configure:5693: result: yes configure:5700: checking size of short configure:6002: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:6005: $? = 0 configure:6011: ./conftest configure:6014: $? = 0 configure:6037: result: 2 configure:6047: checking for int configure:6077: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:6083: $? = 0 configure:6098: result: yes configure:6105: checking size of int configure:6407: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:6410: $? = 0 configure:6416: ./conftest configure:6419: $? = 0 configure:6442: result: 4 configure:6452: checking for long configure:6482: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:6488: $? = 0 configure:6503: result: yes configure:6510: checking size of long configure:6812: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:6815: $? = 0 configure:6821: ./conftest configure:6824: $? = 0 configure:6847: result: 8 configure:6857: checking for long long configure:6887: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:6893: $? = 0 configure:6908: result: yes configure:6915: checking size of long long configure:7217: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:7220: $? = 0 configure:7226: ./conftest configure:7229: $? = 0 configure:7252: result: 8 configure:7262: checking for void * configure:7292: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:7298: $? = 0 configure:7313: result: yes configure:7320: checking size of void * configure:7622: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:7625: $? = 0 configure:7631: ./conftest configure:7634: $? = 0 configure:7657: result: 8 configure:7669: checking for intptr_t configure:7699: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:7705: $? = 0 configure:7720: result: yes configure:7784: checking for uintptr_t configure:7814: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:7820: $? = 0 configure:7835: result: yes configure:7918: checking for stack direction configure:7947: x86_64-pc-linux-gnu-gcc -o conftest -march=native -ggdb -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl -lm -ldl -lm -rdynamic >&5 configure:7950: $? = 0 configure:7956: ./conftest configure:7959: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define USE_SINGLE_FLOATS 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define MZ_USE_NOINLINE 1 | #define HAVE_CODESET 1 | #define HAVE_GETADDRINFO 1 | #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 SIZEOF_CHAR 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_VOID_P 8 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | /* end confdefs.h. */ | int grows_down_p(int n, void *cmp) { | if (!cmp) | return grows_down_p(10, &cmp); | else if (!n) | return ((unsigned long)&cmp < (unsigned long)cmp); | else | return grows_down_p(n - 1, cmp); | } | int main() { | return grows_down_p(0, 0); | } configure:7974: result: down configure:8000: checking whether byte ordering is bigendian configure:8033: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 configure:8039: $? = 0 configure:8071: x86_64-pc-linux-gnu-gcc -c -march=native -ggdb -O2 -pipe conftest.c >&5 conftest.c: In function 'main': conftest.c:40: error: 'not' undeclared (first use in this function) conftest.c:40: error: (Each undeclared identifier is reported only once conftest.c:40: error: for each function it appears in.) conftest.c:40: error: expected ';' before 'big' configure:8077: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define USE_SINGLE_FLOATS 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define MZ_USE_NOINLINE 1 | #define HAVE_CODESET 1 | #define HAVE_GETADDRINFO 1 | #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 SIZEOF_CHAR 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_VOID_P 8 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define STACK_DIRECTION -1 | /* 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:8217: result: no configure:8821: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on fusion config.status:681: creating Makefile config.status:681: creating racket/Makefile config.status:681: creating racket/src/Makefile config.status:681: creating racket/dynsrc/Makefile config.status:681: creating racket/gc/Makefile config.status:681: creating racket/sgc/Makefile config.status:681: creating racket/gc2/Makefile config.status:681: creating foreign/Makefile config.status:681: creating gracket/Makefile config.status:681: creating gracket/gc2/Makefile config.status:681: creating racket/mzconfig.h ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-march=native -ggdb -O2 -pipe' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_file___dev_urandom_=yes ac_cv_file__bin_bash=yes ac_cv_file__dev_arandom=no ac_cv_file__dev_random=yes ac_cv_file__dev_srandom=yes ac_cv_file__dev_urandom=yes ac_cv_file__dev_zero=yes ac_cv_file__usr_share_sgml_X11_defs_ent=1 ac_cv_func_calloc_0_nonnull=yes ac_cv_func_setgrent_void=yes ac_cv_func_strnlen_working=yes ac_cv_header_iconv_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_pwd_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_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_lib_dl_dlopen=yes ac_cv_lib_m_cos=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -E' ac_cv_prog_RANLIB=x86_64-pc-linux-gnu-ranlib ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_sizeof_char=1 ac_cv_sizeof_int=4 ac_cv_sizeof_long=8 ac_cv_sizeof_long_long=8 ac_cv_sizeof_short=2 ac_cv_sizeof_void_p=8 ac_cv_type_char=yes ac_cv_type_int=yes ac_cv_type_intptr_t=yes ac_cv_type_long=yes ac_cv_type_long_long=yes ac_cv_type_short=yes ac_cv_type_uintptr_t=yes ac_cv_type_void_p=yes fu_cv_sys_stat_statvfs=yes gl_cv_func_btowc_eof=yes gl_cv_func_malloc_0_nonnull=yes gl_cv_func_re_compile_pattern_working=yes gl_cv_func_rename_trailing_dest_slash_bug=no gl_cv_func_rename_trailing_slash_bug=no glib_cv___va_copy=yes glib_cv_has__inline=yes glib_cv_has__inline__=yes glib_cv_hasinline=yes glib_cv_rtldglobal_broken=no glib_cv_sane_realloc=yes glib_cv_sizeof_gmutex=40 glib_cv_stack_grows=no glib_cv_uscore=no glib_cv_va_copy=yes glib_cv_va_val_copy=no yeti_cv_func_scanf_modif_size_t=z ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='/var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/lt/libtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -release 5.1.0.6 -rpath /usr/lib64 $(ARLIBFLAGS) -o' ARFLAGS='' AS='/var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/lt/libtool --mode=compile as' CC='/var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/lt/libtool --mode=compile --tag=CC x86_64-pc-linux-gnu-gcc' CC_FOR_BUILD='x86_64-pc-linux-gnu-gcc' CFLAGS='-march=native -ggdb -O2 -pipe' CGC='cgc' CGCOPTIONS='' CGC_CAP_INSTALLED='CGC' CGC_INSTALLED='cgc' COLLECTS_PATH='${collectsdir}' COMPFLAGS='' CPP='x86_64-pc-linux-gnu-gcc -E' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' DYN_CFLAGS='-fPIC' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' EXE_SUFFIX='' EXTRA_GMP_DEP='' EXTRA_GMP_OBJ='' EXTRA_OSK_LIBS='' FOREIGNTARGET='foreign-stuff' FOREIGN_CONVENIENCE='_convenience' FOREIGN_IF_USED='FOREIGN_USED' FOREIGN_OBJSLIB='$(FOREIGN_LIB)' FRAMEWORK_INSTALL_DIR='' FRAMEWORK_PREFIX='' FRAMEWORK_REL_INSTALL='' GC2OPTIONS=' -DNEWGC_BTC_ACCOUNT' GCDIR='gc' GREP='/bin/grep' ICP='/var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/lt/libtool --mode=install cp' INCLUDEDEP='#' INSTALL_ORIG_TREE='no' INSTALL_SETUP_FLAGS=' --no-user --no-docs' LDFLAGS='-Wl,-O1 -Wl,--as-needed' LIBATOM='LIBATOM_NONE' LIBFINISH='/var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/lt/libtool --mode=finish' LIBGRACKET_DEP='' LIBOBJS='' LIBRACKET_DEP='' LIBS='-ldl -lm -ldl -lm -rdynamic ' LIBSFX='la' LTA='la' LTLIBOBJS='' LTO='lo' MAIN_VARIANT='3m' MAKE_COPYTREE='copytree' MAKE_FINISH='' MAKE_GRACKET='gracket' MAKE_PLOT='no' MMM='3m' MMM_CAP_INSTALLED='' MMM_INSTALLED='' MRLIBINSTALL='install-lib' MROPTIONS='' MZBINTARGET='normal-bin' MZINSTALLTARGET='unix-install' MZLINKER='/var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/lt/libtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -rpath /usr/lib64' MZOPTIONS=' -DMZ_USES_SHARED_LIB' MZRT_CGC_FLAGS='' NOT_OSX='' OBJEXT='o' OPTIONS='' OSKHOME='' OSX='.osx' OWN_LIBFFI='ON' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PERL='' PLAIN_CC='x86_64-pc-linux-gnu-gcc' PREFLAGS=' -DMZ_DONT_USE_JIT' PROFFLAGS='' RANLIB=':' REZ='/Developer/Tools/Rez' SED='' SHELL='/bin/sh' SO_SUFFIX='.so' STATIC_AR='/var/tmp/portage/dev-scheme/racket-999/work/racket-999/src/lt/libtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -o' STRIP_DEBUG='strip -S' USE_WXPRECOMP='' WXLIBS='WXLIBSDYN' WXPRECOMP='' WXVARIANT='wx_xt' WX_MMD_FLAG='' XFORMFLAGS=' --keep-lines' X_CFLAGS='' X_EXTRA_LIBS='' X_LIBS='' X_PRE_LIBS='' ac_ct_CC='' bindir='${exec_prefix}/bin' build_alias='x86_64-pc-linux-gnu' collectsdir='/usr/lib64/racket/collects' datadir='/usr/share' datarootdir='${prefix}/share' docdir='/usr/share/doc/racket-999' dvidir='${docdir}' exec_prefix='${prefix}' host_alias='x86_64-pc-linux-gnu' htmldir='${docdir}' includedir='${prefix}/include' includepltdir='${prefix}/include/racket' infodir='/usr/share/info' libdir='/usr/lib64' libexecdir='${exec_prefix}/libexec' libpltdir='/usr/lib64/racket' localedir='${datarootdir}/locale' localstatedir='/var/lib' mandir='/usr/share/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs=' foreign/libffi' sysconfdir='/etc' target_alias='' x_includes='NONE' x_libraries='NONE' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define USE_SINGLE_FLOATS 1 #define HAVE_LIBM 1 #define HAVE_LIBDL 1 #define MZ_USE_NOINLINE 1 #define HAVE_CODESET 1 #define HAVE_GETADDRINFO 1 #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 SIZEOF_CHAR 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 8 #define SIZEOF_LONG_LONG 8 #define SIZEOF_VOID_P 8 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define STACK_DIRECTION -1 configure: exit 0
signature.asc
Description: OpenPGP digital signature
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev