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.59. Invocation command line was $ ./configure --prefix= --prefix= --prefix=/usr/local i386-unknown-gnu build_alias=i386-unknown-gnu host_alias=i386-unknown-gnu target_alias=i386-unknown-gnu --cache-file=/dev/null --srcdir=. CC=cc CFLAGS=-fno-common --cache-file=../ --srcdir=. ## --------- ## ## Platform. ## ## --------- ## hostname = darwintel uname -m = x86 uname -r = 8.0.1 uname -s = Darwin uname -v = Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = Mach kernel version: Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 Kernel configured for up to 4 processors. 4 processors are physically available. Processor type: pentpro (Intel Pentium Pro) Processors active: 0 1 2 3 Primary memory available: 1023.00 megabytes Default processor set: 111 tasks, 166 threads, 4 processors Load average: 1.89, Mach factor: 2.10 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /var/root/usr/local/bin PATH: /var/root/usr/bin PATH: /var/root/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1384: creating cache configure:1474: checking for i386-unknown-gnu-gcc configure:1500: result: cc configure:1782: checking for C compiler version configure:1785: cc --version &5 cc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) Copyright (C) 2002 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:1788: $? = 0 configure:1790: cc -v &5 Reading specs from /usr/libexec/gcc/darwin/i386/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) configure:1793: $? = 0 configure:1795: cc -V &5 cc: `-V' option must have argument configure:1798: $? = 1 configure:1821: checking for C compiler default output file name configure:1824: cc -fno-common conftest.c >&5 configure:1827: $? = 0 configure:1873: result: a.out configure:1878: checking whether the C compiler works configure:1884: ./a.out configure:1887: $? = 0 configure:1904: result: yes configure:1911: checking whether we are cross compiling configure:1913: result: no configure:1916: checking for suffix of executables configure:1918: cc -o conftest -fno-common conftest.c >&5 configure:1921: $? = 0 configure:1946: result: configure:1952: checking for suffix of object files configure:1973: cc -c -fno-common conftest.c >&5 configure:1976: $? = 0 configure:1998: result: configure:2002: checking whether we are using the GNU C compiler configure:2026: cc -c -fno-common conftest.c >&5 configure:2032: $? = 0 configure:2036: test -z || test ! -s conftest.err configure:2039: $? = 0 configure:2042: test -s conftest. configure:2045: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:2058: result: no configure:2064: checking whether cc accepts -g configure:2085: cc -c -g conftest.c >&5 configure:2091: $? = 0 configure:2095: test -z || test ! -s conftest.err configure:2098: $? = 0 configure:2101: test -s conftest. configure:2104: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2115: result: no configure:2132: checking for cc option to accept ANSI C configure:2202: cc -c -fno-common conftest.c >&5 configure:2208: $? = 0 configure:2212: test -z || test ! -s conftest.err configure:2215: $? = 0 configure:2218: test -s conftest. configure:2221: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2202: cc -qlanglvl=ansi -c -fno-common conftest.c >&5 cc: unrecognized option `-qlanglvl=ansi' configure:2208: $? = 0 configure:2212: test -z || test ! -s conftest.err configure:2215: $? = 0 configure:2218: test -s conftest. configure:2221: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2202: cc -std1 -c -fno-common conftest.c >&5 cc1: error: unrecognized option `-std1' configure:2208: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2202: cc -Ae -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2208: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2202: cc -Aa -D_HPUX_SOURCE -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2208: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2202: cc -Xc -D__EXTENSIONS__ -c -fno-common conftest.c >&5 cc: unrecognized option `-Xc' configure:2208: $? = 0 configure:2212: test -z || test ! -s conftest.err configure:2215: $? = 0 configure:2218: test -s conftest. configure:2221: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2239: result: none needed configure:2257: cc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2263: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2401: checking how to run the C preprocessor configure:2436: cc -E conftest.c configure:2442: $? = 0 configure:2474: cc -E conftest.c conftest.c:9:28: ac_nonexistent.h: No such file or directory configure:2480: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:2519: result: cc -E configure:2543: cc -E conftest.c configure:2549: $? = 0 configure:2581: cc -E conftest.c conftest.c:9:28: ac_nonexistent.h: No such file or directory configure:2587: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:2632: checking for egrep configure:2642: result: grep -E configure:2698: checking whether using GNU C configure:2725: result: yes configure:2737: checking for underscore in external names configure:2751: cc -S conftest.c configure:2754: $? = 0 configure:2764: result: yes configure:2779: checking for ranlib configure:2795: found /usr/bin/ranlib configure:2806: result: ranlib configure:2813: checking whether gmake sets $(MAKE) configure:2833: result: yes configure:2852: checking for a BSD compatible install configure:2899: result: /usr/bin/install -c -o root -g wheel configure:2911: checking how to copy files configure:2927: result: cp -p configure:2931: checking how to make hard links configure:2947: result: ln configure:2951: checking whether ln -s works configure:2967: result: yes configure:2984: checking build system type configure:3002: result: i386-unknown-gnu configure:3010: checking host system type configure:3024: result: i386-unknown-gnu configure:3288: checking for non-GNU ld configure:3318: result: /usr/bin/ld configure:3327: checking if the linker (/usr/bin/ld) is GNU ld configure:3339: result: no configure:3344: checking for /usr/bin/ld option to reload object files configure:3351: result: -r configure:3356: checking for BSD-compatible nm configure:3392: result: nm configure:3395: checking for a sed that does not truncate output configure:3477: result: /usr/local/bin/sed configure:3480: checking how to recognise dependent libraries configure:3661: result: pass_all configure:3673: checking command to parse nm output configure:3757: cc -c -fno-common conftest.c >&5 configure:3760: $? = 0 configure:3764: nm conftest. \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm nm: can't open file: conftest. (No such file or directory) configure:3767: $? = 0 cannot run sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' configure:3757: cc -c -fno-common conftest.c >&5 configure:3760: $? = 0 configure:3764: nm conftest. \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm nm: can't open file: conftest. (No such file or directory) configure:3767: $? = 0 cannot run sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' configure:3863: result: failed configure:3870: checking for ANSI C header files configure:3895: cc -c -fno-common conftest.c >&5 configure:3901: $? = 0 configure:3905: test -z || test ! -s conftest.err configure:3908: $? = 0 configure:3911: test -s conftest. configure:3914: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | | int | main () | { | | ; | return 0; | } configure:4023: result: no configure:4047: checking for sys/types.h configure:4063: cc -c -fno-common conftest.c >&5 configure:4069: $? = 0 configure:4073: test -z || test ! -s conftest.err configure:4076: $? = 0 configure:4079: test -s conftest. configure:4082: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:4093: result: no configure:4047: checking for sys/stat.h configure:4063: cc -c -fno-common conftest.c >&5 configure:4069: $? = 0 configure:4073: test -z || test ! -s conftest.err configure:4076: $? = 0 configure:4079: test -s conftest. configure:4082: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:4093: result: no configure:4047: checking for stdlib.h configure:4063: cc -c -fno-common conftest.c >&5 configure:4069: $? = 0 configure:4073: test -z || test ! -s conftest.err configure:4076: $? = 0 configure:4079: test -s conftest. configure:4082: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:4093: result: no configure:4047: checking for string.h configure:4063: cc -c -fno-common conftest.c >&5 configure:4069: $? = 0 configure:4073: test -z || test ! -s conftest.err configure:4076: $? = 0 configure:4079: test -s conftest. configure:4082: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:4093: result: no configure:4047: checking for memory.h configure:4063: cc -c -fno-common conftest.c >&5 configure:4069: $? = 0 configure:4073: test -z || test ! -s conftest.err configure:4076: $? = 0 configure:4079: test -s conftest. configure:4082: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:4093: result: no configure:4047: checking for strings.h configure:4063: cc -c -fno-common conftest.c >&5 configure:4069: $? = 0 configure:4073: test -z || test ! -s conftest.err configure:4076: $? = 0 configure:4079: test -s conftest. configure:4082: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:4093: result: no configure:4047: checking for inttypes.h configure:4063: cc -c -fno-common conftest.c >&5 configure:4069: $? = 0 configure:4073: test -z || test ! -s conftest.err configure:4076: $? = 0 configure:4079: test -s conftest. configure:4082: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:4093: result: no configure:4047: checking for stdint.h configure:4063: cc -c -fno-common conftest.c >&5 configure:4069: $? = 0 configure:4073: test -z || test ! -s conftest.err configure:4076: $? = 0 configure:4079: test -s conftest. configure:4082: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:4093: result: no configure:4047: checking for unistd.h configure:4063: cc -c -fno-common conftest.c >&5 configure:4069: $? = 0 configure:4073: test -z || test ! -s conftest.err configure:4076: $? = 0 configure:4079: test -s conftest. configure:4082: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | | #include configure:4093: result: no configure:4119: checking dlfcn.h usability configure:4131: cc -c -fno-common conftest.c >&5 configure:4137: $? = 0 configure:4141: test -z || test ! -s conftest.err configure:4144: $? = 0 configure:4147: test -s conftest. configure:4150: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:4160: result: no configure:4164: checking dlfcn.h presence configure:4174: cc -E conftest.c configure:4180: $? = 0 configure:4200: result: yes configure:4213: WARNING: dlfcn.h: present but cannot be compiled configure:4215: WARNING: dlfcn.h: check for missing prerequisite headers? configure:4217: WARNING: dlfcn.h: see the Autoconf documentation configure:4219: WARNING: dlfcn.h: section "Present But Cannot Be Compiled" configure:4221: WARNING: dlfcn.h: proceeding with the preprocessor's result configure:4223: WARNING: dlfcn.h: in the future, the compiler will take precedence configure:4235: checking for dlfcn.h configure:4242: result: yes configure:4402: checking for i386-unknown-gnu-ranlib configure:4428: result: ranlib configure:4482: checking for i386-unknown-gnu-strip configure:4511: result: no configure:4520: checking for strip configure:4536: found /usr/bin/strip configure:4547: result: strip configure:4767: checking for objdir configure:4778: result: .libs configure:4795: checking for cc option to produce PIC configure:4938: result: none configure:5041: checking if cc static flag works configure:5065: cc -o conftest -fno-common conftest.c >&5 configure:5071: $? = 0 configure:5075: test -z || test ! -s conftest.err configure:5078: $? = 0 configure:5081: test -s conftest configure:5084: $? = 0 configure:5101: result: yes configure:5113: checking if cc supports -c -o file.o configure:5136: cc -c -fno-common -o out/conftest2.o conftest.c >&5 configure:5157: result: yes configure:5162: checking if cc supports -c -o file.lo configure:5189: cc -c -fno-common -c -o conftest.lo conftest.c >&5 configure:5195: $? = 0 configure:5199: test -z || test ! -s conftest.err configure:5202: $? = 0 configure:5205: test -s conftest.lo configure:5208: $? = 0 configure:5230: result: yes configure:5330: checking whether the linker (/usr/bin/ld) supports shared libraries configure:6025: result: no configure:6030: checking how to hardcode library paths into programs configure:6054: result: unsupported configure:6059: checking whether stripping libraries is possible configure:6067: result: no configure:6075: checking dynamic linker characteristics configure:6482: result: gnu ld.so configure:6487: checking if libtool supports shared libraries configure:6489: result: no configure:6492: checking whether to build shared libraries configure:6513: result: no configure:6516: checking whether to build static libraries configure:6520: result: yes configure:7884: checking for working void configure:7909: cc -c -fno-common conftest.c >&5 configure:7915: $? = 0 configure:7919: test -z || test ! -s conftest.err configure:7922: $? = 0 configure:7925: test -s conftest.o configure:7928: $? = 0 configure:7941: result: yes configure:7953: checking for working "return void" configure:7975: cc -c -fno-common conftest.c >&5 configure:7981: $? = 0 configure:7985: test -z || test ! -s conftest.err configure:7988: $? = 0 configure:7991: test -s conftest.o configure:7994: $? = 0 configure:8007: result: yes configure:8022: checking for ANSI C header files configure:8040: cc -E conftest.c configure:8046: $? = 0 configure:8069: result: yes configure:8084: checking for unistd_h configure:8089: result: no configure:8230: checking for getpagesize configure:8257: cc -o conftest -fno-common conftest.c >&5 configure:8263: $? = 0 configure:8267: test -z || test ! -s conftest.err configure:8270: $? = 0 configure:8273: test -s conftest configure:8276: $? = 0 configure:8290: result: yes configure:8301: checking for getpagesize declaration configure:8339: cc -c -fno-common conftest.c >&5 configure:8345: $? = 0 configure:8349: test -z || test ! -s conftest.err configure:8352: $? = 0 configure:8355: test -s conftest.o configure:8358: $? = 0 configure:8375: result: extern int getpagesize (void); configure:8537: checking for vm_allocate configure:8559: cc -o conftest -fno-common conftest.c >&5 ld: Undefined symbols: _task_self configure:8565: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | #define HAVE_DLFCN_H 1 | #define return_void return | #define STDC_HEADERS 1 | #define HAVE_GETPAGESIZE | #define RETGETPAGESIZETYPE int | /* end confdefs.h. */ | | int | main () | { | vm_allocate(); task_self(); | ; | return 0; | } configure:8592: result: no configure:8617: checking sys/file.h usability configure:8629: cc -c -fno-common conftest.c >&5 configure:8635: $? = 0 configure:8639: test -z || test ! -s conftest.err configure:8642: $? = 0 configure:8645: test -s conftest.o configure:8648: $? = 0 configure:8658: result: yes configure:8662: checking sys/file.h presence configure:8672: cc -E conftest.c configure:8678: $? = 0 configure:8698: result: yes configure:8733: checking for sys/file.h configure:8740: result: yes configure:8763: checking for O_RDWR in fcntl.h configure:8785: cc -c -fno-common conftest.c >&5 configure:8791: $? = 0 configure:8795: test -z || test ! -s conftest.err configure:8798: $? = 0 configure:8801: test -s conftest.o configure:8804: $? = 0 configure:8817: result: yes configure:8842: checking sys/mman.h usability configure:8854: cc -c -fno-common conftest.c >&5 configure:8860: $? = 0 configure:8864: test -z || test ! -s conftest.err configure:8867: $? = 0 configure:8870: test -s conftest.o configure:8873: $? = 0 configure:8883: result: yes configure:8887: checking sys/mman.h presence configure:8897: cc -E conftest.c configure:8903: $? = 0 configure:8923: result: yes configure:8958: checking for sys/mman.h configure:8965: result: yes configure:8976: checking for mmap configure:9033: cc -o conftest -fno-common conftest.c >&5 configure:9039: $? = 0 configure:9043: test -z || test ! -s conftest.err configure:9046: $? = 0 configure:9049: test -s conftest configure:9052: $? = 0 configure:9064: result: yes configure:9077: checking for working mmap configure:9158: cc -o conftest -fno-common conftest.c >&5 configure:9161: $? = 0 configure:9163: ./conftest configure:9166: $? = 0 configure:9197: cc -o conftest -fno-common conftest.c >&5 conftest.c: In function `main': conftest.c:33: error: `MAP_ANONYMOUS' undeclared (first use in this function) conftest.c:33: error: (Each undeclared identifier is reported only once conftest.c:33: error: for each function it appears in.) configure:9200: $? = 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 ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | #define HAVE_DLFCN_H 1 | #define return_void return | #define STDC_HEADERS 1 | #define HAVE_GETPAGESIZE | #define RETGETPAGESIZETYPE int | #define HAVE_SYS_FILE_H 1 | #define HAVE_MMAP | /* end confdefs.h. */ | | #include | #ifdef HAVE_UNISTD_H | #include | #endif | #include | #ifdef OPEN_NEEDS_SYS_FILE_H | #include | #endif | #include | #include | int main () { | | int flags = MAP_ANONYMOUS | MAP_PRIVATE; | int fd = -1; | #define bits_to_avoid 0 | #define my_shift 24 | #define my_low 1 | #ifdef FOR_SUN4_29 | #define my_high 31 | #define my_size 32768 /* hope that 32768 is a multiple of the page size */ | /* i*32 KB for i=1..31 gives a total of 15.5 MB, which is close to what we need */ | #else | #define my_high 64 | #define my_size 8192 /* hope that 8192 is a multiple of the page size */ | /* i*8 KB for i=1..64 gives a total of 16.25 MB, which is close to what we need */ | #endif | {long i; | #define i_ok(i) ((i) & (bits_to_avoid >> my_shift) == 0) | for (i=my_low; i<=my_high; i++) | if (i_ok(i)) | { caddr_t addr = (caddr_t)(i << my_shift); | /* Check for 8 MB, not 16 MB. This is more likely to work on Solaris 2. */ | #if bits_to_avoid | long size = i*my_size; | #else | long size = ((i+1)/2)*my_size; | #endif | if (mmap(addr,size,PROT_READ|PROT_WRITE,flags|MAP_FIXED,fd,0) == (void*)-1) exit(1); | } | #define x(i) *(unsigned char *) ((i<=my_low; i--) if (i_ok(i)) { if (x(i) != y(i)) exit(1); } | exit(0); | }} | | configure:9240: cc -o conftest -fno-common conftest.c >&5 configure:9243: $? = 0 configure:9245: ./conftest configure:9248: $? = 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 ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | #define HAVE_DLFCN_H 1 | #define return_void return | #define STDC_HEADERS 1 | #define HAVE_GETPAGESIZE | #define RETGETPAGESIZETYPE int | #define HAVE_SYS_FILE_H 1 | #define HAVE_MMAP | /* end confdefs.h. */ | | #include | #ifdef HAVE_UNISTD_H | #include | #endif | #include | #ifdef OPEN_NEEDS_SYS_FILE_H | #include | #endif | #include | #include | int main () { | | #ifndef MAP_FILE | #define MAP_FILE 0 | #endif | int flags = MAP_FILE | MAP_PRIVATE; | int fd = open("/dev/zero",O_RDONLY,0666); | if (fd<0) exit(1); | #define bits_to_avoid 0 | #define my_shift 24 | #define my_low 1 | #ifdef FOR_SUN4_29 | #define my_high 31 | #define my_size 32768 /* hope that 32768 is a multiple of the page size */ | /* i*32 KB for i=1..31 gives a total of 15.5 MB, which is close to what we need */ | #else | #define my_high 64 | #define my_size 8192 /* hope that 8192 is a multiple of the page size */ | /* i*8 KB for i=1..64 gives a total of 16.25 MB, which is close to what we need */ | #endif | {long i; | #define i_ok(i) ((i) & (bits_to_avoid >> my_shift) == 0) | for (i=my_low; i<=my_high; i++) | if (i_ok(i)) | { caddr_t addr = (caddr_t)(i << my_shift); | /* Check for 8 MB, not 16 MB. This is more likely to work on Solaris 2. */ | #if bits_to_avoid | long size = i*my_size; | #else | long size = ((i+1)/2)*my_size; | #endif | if (mmap(addr,size,PROT_READ|PROT_WRITE,flags|MAP_FIXED,fd,0) == (void*)-1) exit(1); | } | #define x(i) *(unsigned char *) ((i<=my_low; i--) if (i_ok(i)) { if (x(i) != y(i)) exit(1); } | exit(0); | }} | | configure:9286: cc -o conftest -fno-common conftest.c >&5 configure:9289: $? = 0 configure:9291: ./conftest configure:9294: $? = 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 ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | #define HAVE_DLFCN_H 1 | #define return_void return | #define STDC_HEADERS 1 | #define HAVE_GETPAGESIZE | #define RETGETPAGESIZETYPE int | #define HAVE_SYS_FILE_H 1 | #define HAVE_MMAP | /* end confdefs.h. */ | #define FOR_SUN4_29 | | #include | #ifdef HAVE_UNISTD_H | #include | #endif | #include | #ifdef OPEN_NEEDS_SYS_FILE_H | #include | #endif | #include | #include | int main () { | | #ifndef MAP_FILE | #define MAP_FILE 0 | #endif | int flags = MAP_FILE | MAP_PRIVATE; | int fd = open("/dev/zero",O_RDONLY,0666); | if (fd<0) exit(1); | #define bits_to_avoid 0 | #define my_shift 24 | #define my_low 1 | #ifdef FOR_SUN4_29 | #define my_high 31 | #define my_size 32768 /* hope that 32768 is a multiple of the page size */ | /* i*32 KB for i=1..31 gives a total of 15.5 MB, which is close to what we need */ | #else | #define my_high 64 | #define my_size 8192 /* hope that 8192 is a multiple of the page size */ | /* i*8 KB for i=1..64 gives a total of 16.25 MB, which is close to what we need */ | #endif | {long i; | #define i_ok(i) ((i) & (bits_to_avoid >> my_shift) == 0) | for (i=my_low; i<=my_high; i++) | if (i_ok(i)) | { caddr_t addr = (caddr_t)(i << my_shift); | /* Check for 8 MB, not 16 MB. This is more likely to work on Solaris 2. */ | #if bits_to_avoid | long size = i*my_size; | #else | long size = ((i+1)/2)*my_size; | #endif | if (mmap(addr,size,PROT_READ|PROT_WRITE,flags|MAP_FIXED,fd,0) == (void*)-1) exit(1); | } | #define x(i) *(unsigned char *) ((i<=my_low; i--) if (i_ok(i)) { if (x(i) != y(i)) exit(1); } | exit(0); | }} | | configure:9316: result: yes configure:9353: checking for mprotect configure:9410: cc -o conftest -fno-common conftest.c >&5 configure:9416: $? = 0 configure:9420: test -z || test ! -s conftest.err configure:9423: $? = 0 configure:9426: test -s conftest configure:9429: $? = 0 configure:9441: result: yes configure:9451: checking for working mprotect configure:9501: cc -o conftest -fno-common conftest.c >&5 configure:9504: $? = 0 configure:9506: ./conftest configure:9509: $? = 0 configure:9543: cc -o conftest -fno-common conftest.c >&5 configure:9546: $? = 0 configure:9548: ./conftest ./configure: line 1: 23949 Bus error ./conftest$ac_exeext configure:9551: $? = 138 configure: program exited with status 138 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | #define HAVE_DLFCN_H 1 | #define return_void return | #define STDC_HEADERS 1 | #define HAVE_GETPAGESIZE | #define RETGETPAGESIZETYPE int | #define HAVE_SYS_FILE_H 1 | #define HAVE_MMAP | #define HAVE_MMAP_ANON | #define HAVE_MPROTECT 1 | /* end confdefs.h. */ | | #include | /* declare malloc() */ | #include | #ifdef HAVE_UNISTD_H | #include | #endif | /* declare getpagesize() and mprotect() */ | #include | #ifndef HAVE_GETPAGESIZE | #include | #define getpagesize() PAGESIZE | #else | extern | #ifdef __cplusplus | "C" | #endif | | #if defined(__STDC__) || defined(__cplusplus) | RETGETPAGESIZETYPE getpagesize (void); | #else | RETGETPAGESIZETYPE getpagesize(); | #endif | #endif | char foo; | int main () { | unsigned long pagesize = getpagesize(); | #define page_align(address) (char*)((unsigned long)(address) & -pagesize) | | char* area = (char*) malloc(6*pagesize); | char* fault_address = area + pagesize*7/2; | | if (mprotect(page_align(fault_address),pagesize,PROT_NONE) < 0) exit(0); | foo = *fault_address; /* this should cause a core dump */ | exit(0); } configure:9582: cc -o conftest -fno-common conftest.c >&5 configure:9585: $? = 0 configure:9587: ./conftest ./configure: line 1: 23985 Bus error ./conftest$ac_exeext configure:9590: $? = 138 configure: program exited with status 138 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | #define HAVE_DLFCN_H 1 | #define return_void return | #define STDC_HEADERS 1 | #define HAVE_GETPAGESIZE | #define RETGETPAGESIZETYPE int | #define HAVE_SYS_FILE_H 1 | #define HAVE_MMAP | #define HAVE_MMAP_ANON | #define HAVE_MPROTECT 1 | /* end confdefs.h. */ | | #include | /* declare malloc() */ | #include | #ifdef HAVE_UNISTD_H | #include | #endif | /* declare getpagesize() and mprotect() */ | #include | #ifndef HAVE_GETPAGESIZE | #include | #define getpagesize() PAGESIZE | #else | extern | #ifdef __cplusplus | "C" | #endif | | #if defined(__STDC__) || defined(__cplusplus) | RETGETPAGESIZETYPE getpagesize (void); | #else | RETGETPAGESIZETYPE getpagesize(); | #endif | #endif | char foo; | int main () { | unsigned long pagesize = getpagesize(); | #define page_align(address) (char*)((unsigned long)(address) & -pagesize) | | char* area = (char*) malloc(6*pagesize); | char* fault_address = area + pagesize*7/2; | | if (mprotect(page_align(fault_address),pagesize,PROT_NONE) < 0) exit(0); | *fault_address = 'z'; /* this should cause a core dump */ | exit(0); } configure:9621: cc -o conftest -fno-common conftest.c >&5 configure:9624: $? = 0 configure:9626: ./conftest ./configure: line 1: 24024 Bus error ./conftest$ac_exeext configure:9629: $? = 138 configure: program exited with status 138 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | #define HAVE_DLFCN_H 1 | #define return_void return | #define STDC_HEADERS 1 | #define HAVE_GETPAGESIZE | #define RETGETPAGESIZETYPE int | #define HAVE_SYS_FILE_H 1 | #define HAVE_MMAP | #define HAVE_MMAP_ANON | #define HAVE_MPROTECT 1 | /* end confdefs.h. */ | | #include | /* declare malloc() */ | #include | #ifdef HAVE_UNISTD_H | #include | #endif | /* declare getpagesize() and mprotect() */ | #include | #ifndef HAVE_GETPAGESIZE | #include | #define getpagesize() PAGESIZE | #else | extern | #ifdef __cplusplus | "C" | #endif | | #if defined(__STDC__) || defined(__cplusplus) | RETGETPAGESIZETYPE getpagesize (void); | #else | RETGETPAGESIZETYPE getpagesize(); | #endif | #endif | char foo; | int main () { | unsigned long pagesize = getpagesize(); | #define page_align(address) (char*)((unsigned long)(address) & -pagesize) | | char* area = (char*) malloc(6*pagesize); | char* fault_address = area + pagesize*7/2; | | if (mprotect(page_align(fault_address),pagesize,PROT_READ) < 0) exit(0); | *fault_address = 'z'; /* this should cause a core dump */ | exit(0); } configure:9661: cc -o conftest -fno-common conftest.c >&5 configure:9664: $? = 0 configure:9666: ./conftest configure:9669: $? = 0 configure:9691: result: yes configure:9716: checking sys/shm.h usability configure:9728: cc -c -fno-common conftest.c >&5 configure:9734: $? = 0 configure:9738: test -z || test ! -s conftest.err configure:9741: $? = 0 configure:9744: test -s conftest.o configure:9747: $? = 0 configure:9757: result: yes configure:9761: checking sys/shm.h presence configure:9771: cc -E conftest.c configure:9777: $? = 0 configure:9797: result: yes configure:9832: checking for sys/shm.h configure:9839: result: yes configure:9867: checking sys/ipc.h usability configure:9879: cc -c -fno-common conftest.c >&5 configure:9885: $? = 0 configure:9889: test -z || test ! -s conftest.err configure:9892: $? = 0 configure:9895: test -s conftest.o configure:9898: $? = 0 configure:9908: result: yes configure:9912: checking sys/ipc.h presence configure:9922: cc -E conftest.c configure:9928: $? = 0 configure:9948: result: yes configure:9983: checking for sys/ipc.h configure:9990: result: yes configure:10007: checking for working shared memory configure:10041: cc -o conftest -fno-common conftest.c >&5 configure:10044: $? = 0 configure:10046: ./conftest configure:10049: $? = 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 ASM_UNDERSCORE | #ifndef __i386__ | #define __i386__ 1 | #endif | #define HAVE_DLFCN_H 1 | #define return_void return | #define STDC_HEADERS 1 | #define HAVE_GETPAGESIZE | #define RETGETPAGESIZETYPE int | #define HAVE_SYS_FILE_H 1 | #define HAVE_MMAP | #define HAVE_MMAP_ANON | #define HAVE_MPROTECT 1 | #define HAVE_WORKING_MPROTECT | #define HAVE_SYS_SHM_H 1 | #define HAVE_SYS_IPC_H 1 | /* end confdefs.h. */ | #include | #include | #include | /* try attaching a single segment to multiple addresses */ | #define segsize 0x10000 | #define attaches 128 | #define base_addr 0x01000000 | int main () | { int shmid, i; char* addr; char* result; | if ((shmid = shmget(IPC_PRIVATE,segsize,0400)) < 0) exit(1); | for (i=0, addr = (char*)0x01000000; i&5 configure:10267: $? = 0 configure:10269: ./conftest configure:10272: $? = 0 configure:10292: result: yes configure:10722: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on darwintel config.status:666: creating Makefile config.status:769: creating config.h ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-unknown-gnu ac_cv_build_alias=i386-unknown-gnu ac_cv_c_compiler_gnu=no ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=-fno-common 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= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i386-unknown-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i386-unknown-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=i386-unknown-gnu ac_cv_exeext= ac_cv_func_mmap=yes ac_cv_func_mprotect=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=no ac_cv_header_memory_h=no ac_cv_header_stdc=no ac_cv_header_stdint_h=no ac_cv_header_stdlib_h=no ac_cv_header_string_h=no ac_cv_header_strings_h=no ac_cv_header_sys_file_h=yes ac_cv_header_sys_ipc_h=yes ac_cv_header_sys_mman_h=yes ac_cv_header_sys_shm_h=yes ac_cv_header_sys_stat_h=no ac_cv_header_sys_types_h=no ac_cv_header_unistd_h=no ac_cv_host=i386-unknown-gnu ac_cv_host_alias=i386-unknown-gnu ac_cv_objext= ac_cv_prog_CC=cc ac_cv_prog_CPP='cc -E' ac_cv_prog_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_g=no ac_cv_prog_cc_stdc=no ac_cv_prog_egrep='grep -E' ac_cv_prog_make_gmake_set=yes cl_cv_c_return_void=yes cl_cv_c_return_void_form=return cl_cv_c_void=yes cl_cv_codeexec=yes cl_cv_decl_O_RDWR_fcntl_h=yes cl_cv_func_getpagesize=yes cl_cv_func_mmap_anon=yes cl_cv_func_mmap_works=yes cl_cv_func_mprotect_works=yes cl_cv_func_vm=no cl_cv_header_stdc=yes cl_cv_prog_LN=ln cl_cv_prog_LN_S='ln -s' cl_cv_prog_as_underscore=yes cl_cv_prog_cc_gcc=yes cl_cv_prog_cp='cp -p' cl_cv_proto_getpagesize='extern int getpagesize (void);' cl_cv_proto_getpagesize_ret=int cl_cv_sys_shm_works=no lt_cv_compiler_c_o=yes lt_cv_compiler_o_lo=yes lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' lt_cv_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char \1;/p'\''' lt_cv_ld_reload_flag=-r lt_cv_path_LD=/usr/bin/ld lt_cv_path_NM=nm lt_cv_path_SED=/usr/local/bin/sed lt_cv_prog_cc_can_build_shared=no lt_cv_prog_cc_no_builtin= lt_cv_prog_cc_pic= lt_cv_prog_cc_shlib= lt_cv_prog_cc_static= lt_cv_prog_cc_static_works=yes lt_cv_prog_cc_wl= lt_cv_prog_gnu_ld=no lt_cv_sys_global_symbol_pipe= lt_cv_sys_max_cmd_len= ## ----------------- ## ## Output variables. ## ## ----------------- ## AS_UNDERSCORE='true' CC='cc' CC_GCC='true' CFLAGS='-fno-common' CP='cp -p' CPP='cc -E' CPPFLAGS='' CPU_OBJECTS='' DEFS='-DHAVE_CONFIG_H' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' EXEEXT='' GCC_X_NONE='-x none' INSTALL='/usr/bin/install -c -o root -g wheel' INSTALL_DATA='install -o root -g wheel -m 444' INSTALL_PROGRAM='install -s -o root -g wheel -m 555' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LN='ln' LN_S='ln -s' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='ranlib' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' ac_ct_CC='' ac_ct_RANLIB='' ac_ct_STRIP='strip' bindir='${exec_prefix}/bin' build='i386-unknown-gnu' build_alias='i386-unknown-gnu' build_cpu='i386' build_os='gnu' build_vendor='unknown' datadir='${prefix}/share' exec_prefix='${prefix}' host='i386-unknown-gnu' host_alias='i386-unknown-gnu' host_cpu='i386' host_os='gnu' host_vendor='unknown' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='i386-unknown-gnu' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define ASM_UNDERSCORE #define CODE_EXECUTABLE 1 #define HAVE_DLFCN_H 1 #define HAVE_GETPAGESIZE #define HAVE_MMAP #define HAVE_MMAP_ANON #define HAVE_MPROTECT 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_WORKING_MPROTECT #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define RETGETPAGESIZETYPE int #define STDC_HEADERS 1 #define __i386__ 1 #define return_void return #endif #ifndef __i386__ configure: exit 0