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.69. 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 --disable-gcc-back-end --disable-deep-profiler --disable-dotnet-grades --disable-erlang-grade --disable-java-grade --disable-debug-grades --disable-par-grades --enable-most-grades --with-readline ## --------- ## ## Platform. ## ## --------- ## hostname = mr-fox uname -m = x86_64 uname -r = 4.8.15-hardened uname -s = Linux uname -v = #1 SMP Sat Dec 17 12:32:14 CET 2016 /usr/bin/uname -p = Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz /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/lib/portage/python3.4/ebuild-helpers/xattr PATH: /usr/lib/portage/python3.4/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/5.4.0 ## ----------- ## ## Core tests. ## ## ----------- ## configure:2602: checking for x86_64-pc-linux-gnu-gcc configure:2618: found /usr/bin/x86_64-pc-linux-gnu-gcc configure:2629: result: x86_64-pc-linux-gnu-gcc configure:2898: checking for C compiler version configure:2907: x86_64-pc-linux-gnu-gcc --version >&5 x86_64-pc-linux-gnu-gcc (Gentoo 5.4.0-r2 p1.2, pie-0.6.5) 5.4.0 Copyright (C) 2015 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:2918: $? = 0 configure:2907: x86_64-pc-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0-r2/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 5.4.0-r2 p1.2, pie-0.6.5' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer Thread model: posix gcc version 5.4.0 (Gentoo 5.4.0-r2 p1.2, pie-0.6.5) configure:2918: $? = 0 configure:2907: x86_64-pc-linux-gnu-gcc -V >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:2918: $? = 1 configure:2907: x86_64-pc-linux-gnu-gcc -qversion >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:2918: $? = 1 configure:2938: checking whether the C compiler works configure:2960: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2964: $? = 0 configure:3012: result: yes configure:3015: checking for C compiler default output file name configure:3017: result: a.out configure:3023: checking for suffix of executables configure:3030: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3034: $? = 0 configure:3056: result: configure:3078: checking whether we are cross compiling configure:3086: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3090: $? = 0 configure:3097: ./conftest configure:3101: $? = 0 configure:3116: result: no configure:3121: checking for suffix of object files configure:3143: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall conftest.c >&5 configure:3147: $? = 0 configure:3168: result: o configure:3172: checking whether we are using the GNU C compiler configure:3191: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall conftest.c >&5 configure:3191: $? = 0 configure:3200: result: yes configure:3209: checking whether x86_64-pc-linux-gnu-gcc accepts -g configure:3229: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:3229: $? = 0 configure:3270: result: yes configure:3287: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89 configure:3350: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall conftest.c >&5 configure:3350: $? = 0 configure:3363: result: none needed configure:3423: checking build system type configure:3437: result: x86_64-pc-linux-gnu configure:3457: checking host system type configure:3470: result: x86_64-pc-linux-gnu configure:3529: checking for cygpath configure:3557: result: echo configure:3567: checking for cygpath configure:3595: result: echo configure:3693: checking for mmc configure:3726: result: no configure:4006: checking whether to enable large heaps when using conservative GC configure:4010: result: yes configure:4042: checking whether to enable unmapping of unused pages when using Boehm GC configure:4052: result: no configure:4080: checking for GCC source directory configure:4111: result: not_found configure:4113: checking whether to enable the GCC back-end interface configure:4150: result: no configure:4164: checking for gmake configure:4180: found /usr/bin/gmake configure:4191: result: gmake configure:4227: checking for mkfifo configure:4245: found /usr/bin/mkfifo configure:4257: result: /usr/bin/mkfifo configure:4353: checking for mktemp configure:4371: found /usr/bin/mktemp configure:4383: result: /usr/bin/mktemp configure:4413: checking for install-info configure:4431: found /usr/bin/install-info configure:4443: result: /usr/bin/install-info configure:4464: checking for texi2dvi configure:4482: found /usr/bin/texi2dvi configure:4494: result: /usr/bin/texi2dvi configure:4508: checking for pdftex configure:4526: found /usr/bin/pdftex configure:4538: result: /usr/bin/pdftex configure:4550: checking for lynx configure:4583: result: no configure:4592: checking for dvips configure:4610: found /usr/bin/dvips configure:4622: result: /usr/bin/dvips configure:4634: checking for makeinfo configure:4652: found /usr/bin/makeinfo configure:4664: result: /usr/bin/makeinfo configure:4676: checking for info configure:4694: found /usr/bin/info configure:4706: result: /usr/bin/info configure:4718: checking for perl configure:4736: found /usr/bin/perl configure:4748: result: /usr/bin/perl configure:4760: checking for hostname configure:4778: found /bin/hostname configure:4790: result: /bin/hostname configure:4823: checking whether C compiler needs -no-cpp-precomp configure:4841: result: no x86_64-pc-linux-gnu-gcc -o conftest contest.c configure:5000: checking whether we can use -fno-move-loop-invariants configure:5005: result: yes configure:5025: checking whether to pass -I/usr/local/include to C compiler configure:5034: result: no configure:5054: checking whether to pass -L/usr/local/lib to the linker configure:5064: result: no configure:5084: checking how to run the C preprocessor configure:5115: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:5115: $? = 0 configure:5129: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5129: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | /* end confdefs.h. */ | #include configure:5154: result: x86_64-pc-linux-gnu-gcc -E configure:5174: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:5174: $? = 0 configure:5188: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5188: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | /* end confdefs.h. */ | #include configure:5219: checking for grep that handles long lines and -e configure:5277: result: /bin/grep configure:5282: checking for egrep configure:5344: result: /bin/grep -E configure:5349: checking for use of a Microsoft C compiler configure:5375: result: no configure:5492: checking for x86_64-pc-linux-gnu-ranlib configure:5508: found /usr/bin/x86_64-pc-linux-gnu-ranlib configure:5519: result: x86_64-pc-linux-gnu-ranlib configure:5620: checking for sin in -lm configure:5645: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -lm >&5 conftest.c:20:6: warning: conflicting types for built-in function 'sin' char sin (); ^ configure:5645: $? = 0 configure:5654: result: yes configure:5711: checking for ilasm configure:5744: result: no configure:5751: checking for gacutil configure:5784: result: no configure:5790: checking for Microsoft.NET Framework SDK configure:5808: result: no configure:5820: checking for csc configure:5853: result: no configure:5820: checking for gmcs configure:5853: result: no configure:5820: checking for cscc configure:5853: result: no configure:5913: checking for al configure:5946: result: no configure:5913: checking for ilalink configure:5946: result: no configure:5961: checking for mono configure:5994: result: no configure:6030: checking for jikes configure:6060: result: /etc/java-config-2/current-system-vm/bin/javac configure:6083: checking for java configure:6101: found /usr/bin/java configure:6113: result: /usr/bin/java configure:6128: checking for jar configure:6146: found /usr/bin/jar configure:6158: result: /usr/bin/jar configure:6177: checking if the above Java SDK works and is sufficiently recent /etc/java-config-2/current-system-vm/bin/javac conftest.java configure:6221: result: yes configure:6263: checking if the Java compiler accepts the max heap size option configure:6269: result: yes configure:6305: checking for x86_64-pc-linux-gnu-erlc configure:6338: result: no configure:6348: checking for erlc configure:6381: result: no configure:6411: checking for x86_64-pc-linux-gnu-erl configure:6444: result: no configure:6454: checking for erl configure:6487: result: no configure:6526: checking for sysconf configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for getpagesize configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for gethostname configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for mprotect configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for memalign configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for posix_memalign configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:41:6: warning: conflicting types for built-in function 'posix_memalign' char posix_memalign (); ^ configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for memmove configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:42:6: warning: conflicting types for built-in function 'memmove' char memmove (); ^ configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for sigaction configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for siginterrupt configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for setitimer configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for snprintf configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:46:6: warning: conflicting types for built-in function 'snprintf' char snprintf (); ^ configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for _snprintf configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/dev-lang/mercury-11.01/temp/ccHXTVI8.o: In function `main': conftest.c:(.text+0xa): undefined reference to `_snprintf' collect2: error: ld returned 1 exit status configure:6526: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | /* end confdefs.h. */ | /* Define _snprintf to an innocuous variant, in case declares _snprintf. | For example, HP-UX 11i declares gettimeofday. */ | #define _snprintf innocuous__snprintf | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _snprintf (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _snprintf | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _snprintf (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__snprintf || defined __stub____snprintf | choke me | #endif | | int | main () | { | return _snprintf (); | ; | return 0; | } configure:6526: result: no configure:6526: checking for vsnprintf configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:47:6: warning: conflicting types for built-in function 'vsnprintf' char vsnprintf (); ^ configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for _vsnprintf configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/dev-lang/mercury-11.01/temp/ccCxg2mb.o: In function `main': conftest.c:(.text+0xa): undefined reference to `_vsnprintf' collect2: error: ld returned 1 exit status configure:6526: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | /* end confdefs.h. */ | /* Define _vsnprintf to an innocuous variant, in case declares _vsnprintf. | For example, HP-UX 11i declares gettimeofday. */ | #define _vsnprintf innocuous__vsnprintf | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _vsnprintf (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _vsnprintf | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _vsnprintf (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__vsnprintf || defined __stub____vsnprintf | choke me | #endif | | int | main () | { | return _vsnprintf (); | ; | return 0; | } configure:6526: result: no configure:6526: checking for strerror configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for open configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for close configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for dup configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for dup2 configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for fdopen configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for fileno configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for fstat configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for stat configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for lstat configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for isatty configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for getpid configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for setpgid configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for fork configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:61:6: warning: conflicting types for built-in function 'fork' char fork (); ^ configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for execlp configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:62:6: warning: conflicting types for built-in function 'execlp' char execlp (); ^ configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for wait configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for kill configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for grantpt configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for unlockpt configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for ptsname configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for tcgetattr configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for tcsetattr configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for ioctl configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for access configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for sleep configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for opendir configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for readdir configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for closedir configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for mkdir configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for symlink configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for readlink configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for gettimeofday configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for setenv configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for putenv configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for _putenv configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/dev-lang/mercury-11.01/temp/ccepZi09.o: In function `main': conftest.c:(.text+0xa): undefined reference to `_putenv' collect2: error: ld returned 1 exit status configure:6526: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | /* end confdefs.h. */ | /* Define _putenv to an innocuous variant, in case declares _putenv. | For example, HP-UX 11i declares gettimeofday. */ | #define _putenv innocuous__putenv | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _putenv (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _putenv | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char _putenv (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub__putenv || defined __stub____putenv | choke me | #endif | | int | main () | { | return _putenv (); | ; | return 0; | } configure:6526: result: no configure:6526: checking for posix_spawn configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for sched_setaffinity configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for sched_getcpu configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for sched_yield configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for mkstemp configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6564: checking for ANSI C header files configure:6584: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6584: $? = 0 configure:6657: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6657: $? = 0 configure:6657: ./conftest configure:6657: $? = 0 configure:6668: result: yes configure:6681: checking for sys/types.h configure:6681: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6681: $? = 0 configure:6681: result: yes configure:6681: checking for sys/stat.h configure:6681: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6681: $? = 0 configure:6681: result: yes configure:6681: checking for stdlib.h configure:6681: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6681: $? = 0 configure:6681: result: yes configure:6681: checking for string.h configure:6681: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6681: $? = 0 configure:6681: result: yes configure:6681: checking for memory.h configure:6681: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6681: $? = 0 configure:6681: result: yes configure:6681: checking for strings.h configure:6681: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6681: $? = 0 configure:6681: result: yes configure:6681: checking for inttypes.h configure:6681: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6681: $? = 0 configure:6681: result: yes configure:6681: checking for stdint.h configure:6681: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6681: $? = 0 configure:6681: result: yes configure:6681: checking for unistd.h configure:6681: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6681: $? = 0 configure:6681: result: yes configure:6704: checking for unistd.h configure:6704: result: yes configure:6704: checking sys/wait.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking sys/wait.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for sys/wait.h configure:6704: result: yes configure:6704: checking sys/siginfo.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 conftest.c:109:25: fatal error: sys/siginfo.h: No such file or directory compilation terminated. configure:6704: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:6704: result: no configure:6704: checking sys/siginfo.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c conftest.c:76:25: fatal error: sys/siginfo.h: No such file or directory compilation terminated. configure:6704: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | /* end confdefs.h. */ | #include configure:6704: result: no configure:6704: checking for sys/siginfo.h configure:6704: result: no configure:6704: checking sys/signal.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking sys/signal.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for sys/signal.h configure:6704: result: yes configure:6704: checking ucontext.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking ucontext.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for ucontext.h configure:6704: result: yes configure:6704: checking asm/sigcontext.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking asm/sigcontext.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for asm/sigcontext.h configure:6704: result: yes configure:6704: checking sys/param.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking sys/param.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for sys/param.h configure:6704: result: yes configure:6704: checking sys/time.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking sys/time.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for sys/time.h configure:6704: result: yes configure:6704: checking sys/times.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking sys/times.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for sys/times.h configure:6704: result: yes configure:6704: checking for sys/types.h configure:6704: result: yes configure:6704: checking for sys/stat.h configure:6704: result: yes configure:6704: checking fcntl.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking fcntl.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for fcntl.h configure:6704: result: yes configure:6704: checking termios.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking termios.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for termios.h configure:6704: result: yes configure:6704: checking sys/ioctl.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking sys/ioctl.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for sys/ioctl.h configure:6704: result: yes configure:6704: checking sys/stropts.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking sys/stropts.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for sys/stropts.h configure:6704: result: yes configure:6704: checking windows.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 conftest.c:121:21: fatal error: windows.h: No such file or directory compilation terminated. configure:6704: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:6704: result: no configure:6704: checking windows.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c conftest.c:88:21: fatal error: windows.h: No such file or directory compilation terminated. configure:6704: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | /* end confdefs.h. */ | #include configure:6704: result: no configure:6704: checking for windows.h configure:6704: result: no configure:6704: checking dirent.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking dirent.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for dirent.h configure:6704: result: yes configure:6704: checking getopt.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking getopt.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for getopt.h configure:6704: result: yes configure:6704: checking malloc.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking malloc.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for malloc.h configure:6704: result: yes configure:6704: checking semaphore.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking semaphore.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for semaphore.h configure:6704: result: yes configure:6704: checking pthread.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking pthread.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for pthread.h configure:6704: result: yes configure:6704: checking time.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking time.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for time.h configure:6704: result: yes configure:6704: checking spawn.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking spawn.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for spawn.h configure:6704: result: yes configure:6704: checking fenv.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking fenv.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for fenv.h configure:6704: result: yes configure:6704: checking sys/mman.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking sys/mman.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for sys/mman.h configure:6704: result: yes configure:6704: checking sys/sem.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking sys/sem.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for sys/sem.h configure:6704: result: yes configure:6704: checking sched.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking sched.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for sched.h configure:6704: result: yes configure:6704: checking utmpx.h usability configure:6704: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking utmpx.h presence configure:6704: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:6704: $? = 0 configure:6704: result: yes configure:6704: checking for utmpx.h configure:6704: result: yes configure:6754: checking for fesetround function configure:6781: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -lm >&5 configure:6781: $? = 0 configure:6793: result: yes configure:6811: checking for `sigaction' field name configure:6855: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:6855: $? = 0 configure:6855: ./conftest configure:6855: $? = 0 configure:6866: result: sa_sigaction configure:6883: checking for working `sigcontext_struct' in second arg configure:6934: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:39:8: error: redefinition of 'struct _fpx_sw_bytes' struct _fpx_sw_bytes { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:29:8: note: originally defined here struct _fpx_sw_bytes ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:84:8: error: redefinition of 'struct _fpreg' struct _fpreg { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:38:8: note: originally defined here struct _fpreg ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:90:8: error: redefinition of 'struct _fpxreg' struct _fpxreg { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:44:8: note: originally defined here struct _fpxreg ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:97:8: error: redefinition of 'struct _xmmreg' struct _xmmreg { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:51:8: note: originally defined here struct _xmmreg ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:179:8: error: redefinition of 'struct _ymmh_state' struct _ymmh_state { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:182:8: note: originally defined here struct _ymmh_state ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:191:8: error: redefinition of 'struct _xstate' struct _xstate { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:187:8: note: originally defined here struct _xstate ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:316:8: error: redefinition of 'struct sigcontext' struct sigcontext { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:137:8: note: originally defined here struct sigcontext ^ conftest.c: In function 'main': conftest.c:130:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ conftest.c:130:5: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:130:5: note: include '' or provide a declaration of 'exit' conftest.c: In function 'handler': conftest.c:135:20: warning: implicit declaration of function 'MR_GET_FAULT_ADDR' [-Wimplicit-function-declaration] addr = (int *) MR_GET_FAULT_ADDR(context); ^ conftest.c:135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] addr = (int *) MR_GET_FAULT_ADDR(context); ^ conftest.c:137:9: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ conftest.c:137:9: note: include '' or provide a declaration of 'exit' conftest.c:139:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:139:9: note: include '' or provide a declaration of 'exit' configure:6934: $? = 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 PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | /* end confdefs.h. */ | | /* see runtime/mercury_signal.h for documentation of this code */ | | #define sigcontext_struct sigcontext | | #define __KERNEL__ | #include | #undef __KERNEL__ | | #ifdef MR_HAVE_ASM_SIGCONTEXT_H | #include | #endif | | #include "mercury_faultaddr.h" | | #include | | extern void handler(int signum, struct sigcontext_struct info); | | #define FAULT_ADDRESS ((int *)112) | | int main() { | signal(SIGSEGV, (void (*)(int))handler); | | /* provoke a SIGSEGV */ | (*FAULT_ADDRESS)++; | | exit(1); | } | | void handler(int signum, struct sigcontext_struct context) { | int *addr; | addr = (int *) MR_GET_FAULT_ADDR(context); | if (signum == SIGSEGV && addr == FAULT_ADDRESS) { | exit(0); | } else { | exit(1); | } | } configure:6945: result: no configure:6951: checking for working `sigcontext_struct' in third arg configure:7004: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:39:8: error: redefinition of 'struct _fpx_sw_bytes' struct _fpx_sw_bytes { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:29:8: note: originally defined here struct _fpx_sw_bytes ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:84:8: error: redefinition of 'struct _fpreg' struct _fpreg { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:38:8: note: originally defined here struct _fpreg ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:90:8: error: redefinition of 'struct _fpxreg' struct _fpxreg { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:44:8: note: originally defined here struct _fpxreg ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:97:8: error: redefinition of 'struct _xmmreg' struct _xmmreg { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:51:8: note: originally defined here struct _xmmreg ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:179:8: error: redefinition of 'struct _ymmh_state' struct _ymmh_state { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:182:8: note: originally defined here struct _ymmh_state ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:191:8: error: redefinition of 'struct _xstate' struct _xstate { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:187:8: note: originally defined here struct _xstate ^ In file included from conftest.c:113:0: /usr/include/asm/sigcontext.h:316:8: error: redefinition of 'struct sigcontext' struct sigcontext { ^ In file included from /usr/include/signal.h:306:0, from conftest.c:109: /usr/include/bits/sigcontext.h:137:8: note: originally defined here struct sigcontext ^ conftest.c: In function 'main': conftest.c:131:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ conftest.c:131:9: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:131:9: note: include '' or provide a declaration of 'exit' conftest.c: In function 'handler': conftest.c:136:24: warning: implicit declaration of function 'MR_GET_FAULT_ADDR' [-Wimplicit-function-declaration] addr = (int *) MR_GET_FAULT_ADDR(context); ^ conftest.c:136:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] addr = (int *) MR_GET_FAULT_ADDR(context); ^ conftest.c:138:13: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ conftest.c:138:13: note: include '' or provide a declaration of 'exit' conftest.c:140:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:140:13: note: include '' or provide a declaration of 'exit' configure:7004: $? = 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 PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | /* end confdefs.h. */ | | /* see runtime/mercury_signal.h for documentation of this code */ | | #define sigcontext_struct sigcontext | | #define __KERNEL__ | #include | #undef __KERNEL__ | | #ifdef MR_HAVE_ASM_SIGCONTEXT_H | #include | #endif | | #include "mercury_faultaddr.h" | | #include | | extern void handler(int signum, int code, struct | sigcontext_struct info); | | #define FAULT_ADDRESS ((int *)112) | | int main() { | signal(SIGSEGV, (void (*)(int))handler); | | /* provoke a SIGSEGV */ | (*FAULT_ADDRESS)++; | | exit(1); | } | | void handler(int signum, int code, struct sigcontext_struct context) { | int *addr; | addr = (int *) MR_GET_FAULT_ADDR(context); | if (signum == SIGSEGV && addr == FAULT_ADDRESS) { | exit(0); | } else { | exit(1); | } | } configure:7015: result: no configure:7124: checking for `siginfo_t' configure:7173: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:127:13: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ conftest.c:127:13: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:127:13: note: include '' or provide a declaration of 'exit' conftest.c:129:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:129:13: note: include '' or provide a declaration of 'exit' conftest.c:130:18: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] if (kill(getpid(), SIGSEGV) != 0) ^ conftest.c:131:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:131:13: note: include '' or provide a declaration of 'exit' conftest.c:133:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:133:13: note: include '' or provide a declaration of 'exit' conftest.c:134:9: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ conftest.c:134:9: note: include '' or provide a declaration of 'exit' configure:7173: $? = 0 configure:7173: ./conftest configure:7173: $? = 0 configure:7184: result: yes configure:7192: checking for `siginfo' pc access at signals configure:7239: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:108:33: fatal error: sys/siginfo.h: No such file or directory compilation terminated. configure:7239: $? = 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 PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | /* end confdefs.h. */ | | #include | #include | #include | #ifdef MR_HAVE_UCONTEXT_H | #include | #else | #include | #endif | int save_signum = 0; | int save_cause; | int save_pc; | extern void handler(int signum, siginfo_t *info, void *context); | int main() { | struct sigaction act; | act.sa_flags = SA_SIGINFO; | act.sa_sigaction = handler; | if (sigemptyset(&act.sa_mask) != 0) | exit(1); | if (sigaction(SIGSEGV, &act, NULL) != 0) | exit(1); | if (kill(getpid(), SIGSEGV) != 0) | exit(1); | if (save_signum == 0) | exit(1); | exit(0); | } | void handler(int signum, siginfo_t *info, void *context) { | save_signum = signum; | save_cause = info->si_code; | /* Don't use array indexing - the square brackets | are autoconf quote characters */ | save_pc = *(((ucontext_t *) context)->uc_mcontext.gregs | + REG_PC); | } configure:7287: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:108:33: fatal error: sys/siginfo.h: No such file or directory compilation terminated. configure:7287: $? = 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 PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | /* end confdefs.h. */ | | #include | #include | #include | #ifdef MR_HAVE_UCONTEXT_H | #include | #else | #include | #endif | int save_signum = 0; | int save_cause; | int save_pc; | extern void handler(int signum, siginfo_t *info, void *context); | int main() { | struct sigaction act; | act.sa_flags = SA_SIGINFO; | act.sa_sigaction = handler; | if (sigemptyset(&act.sa_mask) != 0) | exit(1); | if (sigaction(SIGSEGV, &act, NULL) != 0) | exit(1); | if (kill(getpid(), SIGSEGV) != 0) | exit(1); | if (save_signum == 0) | exit(1); | exit(0); | } | void handler(int signum, siginfo_t *info, void *context) { | save_signum = signum; | save_cause = info->si_code; | save_pc = *(((ucontext_t *) context)->uc_mcontext.gregs | + CTX_EPC); | } configure:7334: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:108:33: fatal error: sys/siginfo.h: No such file or directory compilation terminated. configure:7334: $? = 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 PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | /* end confdefs.h. */ | | #include | #include | #include | #ifdef MR_HAVE_UCONTEXT_H | #include | #else | #include | #endif | int save_signum = 0; | int save_cause; | int save_pc; | extern void handler(int signum, siginfo_t *info, void *context); | int main() { | struct sigaction act; | act.sa_flags = SA_SIGINFO; | act.sa_sigaction = handler; | if (sigemptyset(&act.sa_mask) != 0) | exit(1); | if (sigaction(SIGSEGV, &act, NULL) != 0) | exit(1); | if (kill(getpid(), SIGSEGV) != 0) | exit(1); | if (save_signum == 0) | exit(1); | exit(0); | } | void handler(int signum, siginfo_t *info, void *context) { | save_signum = signum; | save_cause = info->si_code; | save_pc = ((ucontext_t *) context)->uc_mcontext.sc_pc; | } configure:7346: result: no configure:7362: checking for an integer type with the same size as a pointer configure:7397: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:112:13: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ conftest.c:112:13: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:112:13: note: include '' or provide a declaration of 'exit' conftest.c:117:13: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ conftest.c:117:13: note: include '' or provide a declaration of 'exit' conftest.c:123:13: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ conftest.c:123:13: note: include '' or provide a declaration of 'exit' conftest.c:127:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:127:9: note: include '' or provide a declaration of 'exit' configure:7397: $? = 0 configure:7397: ./conftest configure:7397: $? = 0 configure:7446: result: long configure:7477: checking for an integer type of at least 64 bits configure:7522: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:115:13: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ conftest.c:115:13: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:115:13: note: include '' or provide a declaration of 'exit' conftest.c:120:13: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ conftest.c:120:13: note: include '' or provide a declaration of 'exit' conftest.c:126:13: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ conftest.c:126:13: note: include '' or provide a declaration of 'exit' conftest.c:139:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:139:9: note: include '' or provide a declaration of 'exit' configure:7522: $? = 0 configure:7522: ./conftest configure:7522: $? = 0 configure:7574: result: long configure:7586: checking for an integer type of at least 32 bits configure:7623: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:7623: $? = 0 configure:7623: ./conftest configure:7623: $? = 0 configure:7636: result: int configure:7670: checking for pid_t configure:7670: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:7670: $? = 0 configure:7670: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 conftest.c: In function 'main': conftest.c:147:20: error: expected expression before ')' token if (sizeof ((pid_t))) ^ configure:7670: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((pid_t))) | return 0; | ; | return 0; | } configure:7670: result: yes configure:7682: checking for dev_t configure:7682: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:7682: $? = 0 configure:7682: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 conftest.c: In function 'main': conftest.c:147:20: error: expected expression before ')' token if (sizeof ((dev_t))) ^ configure:7682: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((dev_t))) | return 0; | ; | return 0; | } configure:7682: result: yes configure:7691: checking for ino_t configure:7691: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:7691: $? = 0 configure:7691: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 conftest.c: In function 'main': conftest.c:148:20: error: expected expression before ')' token if (sizeof ((ino_t))) ^ configure:7691: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((ino_t))) | return 0; | ; | return 0; | } configure:7691: result: yes configure:7720: checking for an integer type of at least 16 bits configure:7757: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:7757: $? = 0 configure:7757: ./conftest configure:7757: $? = 0 configure:7770: result: short configure:7805: checking the number of low tag bits available configure:7844: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:7844: $? = 0 configure:7844: ./conftest configure:7844: $? = 0 configure:7857: result: 3 configure:7869: WARNING: bootstrapping using only 2 low tag bits configure:7883: checking the number of bytes per word configure:7907: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:128:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(fp, "%d\n", sizeof(void *)); ^ configure:7907: $? = 0 configure:7907: ./conftest configure:7907: $? = 0 configure:7920: result: 8 configure:7931: checking the number of words in a synchronization term configure:7962: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:135:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(fp, "%d\n", (sizeof(void *) - 1 + sizeof(x))/ ^ configure:7962: $? = 0 configure:7962: ./conftest configure:7962: $? = 0 configure:7975: result: 3 configure:7986: checking the number of bits per word configure:8011: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:131:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(fp, "%d\n", CHAR_BIT * sizeof(void *)); ^ configure:8011: $? = 0 configure:8011: ./conftest configure:8011: $? = 0 configure:8024: result: 64 configure:8035: checking whether we can use unboxed floats configure:8053: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:125:13: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ conftest.c:125:13: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:125:13: note: include '' or provide a declaration of 'exit' conftest.c:127:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:127:13: note: include '' or provide a declaration of 'exit' configure:8053: $? = 0 configure:8053: ./conftest configure:8053: $? = 0 configure:8065: result: yes configure:8078: WARNING: Mercury compiler not yet installed - **** cannot use unboxed floats, bootstrapping using boxed floats **** after installation is complete you may want to reinstall **** from scratch so you can use unboxed floats, which are more **** efficient. **** NOTE: before reinstalling from scratch, ensure that the **** source tree is clean by running `make realclean'. Not doing **** this may result in a broken Mercury installation. configure:8101: checking whether float is 64-bit configure:8120: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:127:13: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ conftest.c:127:13: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:127:13: note: include '' or provide a declaration of 'exit' conftest.c:129:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:129:13: note: include '' or provide a declaration of 'exit' configure:8120: $? = 0 configure:8120: ./conftest configure:8120: $? = 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 PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define MR_HAVE_DEV_T 1 | #define MR_HAVE_INO_T 1 | #define MR_INT_LEAST16_TYPE short | #define MR_INT_LEAST16_MAX SHRT_MAX | #define MR_UINT_LEAST16_MAX USHRT_MAX | #define MR_LOW_TAG_BITS 2 | #define MR_BYTES_PER_WORD 8 | #define MR_SYNC_TERM_SIZE 3 | #define MR_BITS_PER_WORD 64 | #define MR_BOXED_FLOAT 1 | /* end confdefs.h. */ | | #include | int main() { | if (sizeof(float) * CHAR_BIT == 64) | exit(0); | else | exit(1); | } configure:8132: result: no configure:8142: checking whether double is 64-bit configure:8161: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:127:13: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ conftest.c:127:13: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:127:13: note: include '' or provide a declaration of 'exit' conftest.c:129:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:129:13: note: include '' or provide a declaration of 'exit' configure:8161: $? = 0 configure:8161: ./conftest configure:8161: $? = 0 configure:8173: result: yes configure:8183: checking whether long double is 64-bit configure:8202: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:128:13: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ conftest.c:128:13: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:128:13: note: include '' or provide a declaration of 'exit' conftest.c:130:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:130:13: note: include '' or provide a declaration of 'exit' configure:8202: $? = 0 configure:8202: ./conftest configure:8202: $? = 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 PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define MR_HAVE_DEV_T 1 | #define MR_HAVE_INO_T 1 | #define MR_INT_LEAST16_TYPE short | #define MR_INT_LEAST16_MAX SHRT_MAX | #define MR_UINT_LEAST16_MAX USHRT_MAX | #define MR_LOW_TAG_BITS 2 | #define MR_BYTES_PER_WORD 8 | #define MR_SYNC_TERM_SIZE 3 | #define MR_BITS_PER_WORD 64 | #define MR_BOXED_FLOAT 1 | #define MR_DOUBLE_IS_64_BIT 1 | /* end confdefs.h. */ | | #include | int main() { | if (sizeof(long double) * CHAR_BIT == 64) | exit(0); | else | exit(1); | } configure:8214: result: no configure:8224: checking whether architecture is big-endian configure:8247: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:132:13: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ conftest.c:132:13: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:132:13: note: include '' or provide a declaration of 'exit' conftest.c:134:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:134:13: note: include '' or provide a declaration of 'exit' configure:8247: $? = 0 configure:8247: ./conftest configure:8247: $? = 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 PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define MR_HAVE_DEV_T 1 | #define MR_HAVE_INO_T 1 | #define MR_INT_LEAST16_TYPE short | #define MR_INT_LEAST16_MAX SHRT_MAX | #define MR_UINT_LEAST16_MAX USHRT_MAX | #define MR_LOW_TAG_BITS 2 | #define MR_BYTES_PER_WORD 8 | #define MR_SYNC_TERM_SIZE 3 | #define MR_BITS_PER_WORD 64 | #define MR_BOXED_FLOAT 1 | #define MR_DOUBLE_IS_64_BIT 1 | /* end confdefs.h. */ | | int main() { | int x = 1; | unsigned char *x_p; | | x_p = (unsigned char*) &x; | | if (*x_p == 0) | exit(0); | else | exit(1); | } configure:8259: result: no configure:8269: checking whether architecture is little-endian configure:8292: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:132:13: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ conftest.c:132:13: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:132:13: note: include '' or provide a declaration of 'exit' conftest.c:134:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ conftest.c:134:13: note: include '' or provide a declaration of 'exit' configure:8292: $? = 0 configure:8292: ./conftest configure:8292: $? = 0 configure:8304: result: yes configure:8314: checking whether we can use files as locks configure:8350: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:8350: $? = 0 configure:8359: result: yes configure:8368: checking return values of system configure:8437: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:8437: $? = 0 configure:8437: ./conftest configure:8437: $? = 0 configure:8449: result: yes configure:8459: checking to see if we can handle contexts blocking on IO configure:8484: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c: In function 'main': conftest.c:138:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(err != 0); ^ conftest.c:138:9: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:138:9: note: include '' or provide a declaration of 'exit' configure:8484: $? = 0 configure:8484: ./conftest configure:8484: $? = 0 configure:8496: result: yes configure:8510: checking to see if strings.h is needed for bzero configure:8560: result: no configure:8715: checking whether we can use gcc labels configure:8782: x86_64-pc-linux-gnu-gcc -fno-defer-pop -fno-function-cse -fno-gcse -fno-move-loop-invariants -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:135:5: warning: return type defaults to 'int' [-Wimplicit-int] foo() { ^ conftest.c: In function 'foo': conftest.c:139:9: warning: 'return' with no value, in function returning non-void return; ^ conftest.c: At top level: conftest.c:145:5: warning: return type defaults to 'int' [-Wimplicit-int] bar() { ^ conftest.c: In function 'bar': conftest.c:149:9: warning: 'return' with no value, in function returning non-void return; ^ conftest.c: At top level: conftest.c:155:5: warning: return type defaults to 'int' [-Wimplicit-int] main() { ^ configure:8782: $? = 0 configure:8782: ./conftest ./configure: line 2014: 16468 Segmentation fault ./conftest$ac_exeext configure:8782: $? = 139 configure: program exited with status 139 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define MR_HAVE_DEV_T 1 | #define MR_HAVE_INO_T 1 | #define MR_INT_LEAST16_TYPE short | #define MR_INT_LEAST16_MAX SHRT_MAX | #define MR_UINT_LEAST16_MAX USHRT_MAX | #define MR_LOW_TAG_BITS 2 | #define MR_BYTES_PER_WORD 8 | #define MR_SYNC_TERM_SIZE 3 | #define MR_BITS_PER_WORD 64 | #define MR_BOXED_FLOAT 1 | #define MR_DOUBLE_IS_64_BIT 1 | #define MR_LITTLE_ENDIAN 1 | #define MR_HAVE_OCREAT_OEXCL 1 | #define MR_CAN_DO_PENDING_IO 1 | /* end confdefs.h. */ | | extern void exit(int); | void *entry_foo_1; | void *entry_bar_1; | void *succip; | int global; | void *dummy_identity_function(void *); | | foo() { | entry_foo_1 = && foo_1; | goto *dummy_identity_function(&&return_label); | return_label: | return; | foo_1: | __asm__ __volatile__("":::"memory"); | if (global != 42) exit(1); | goto *entry_bar_1; | } | bar() { | entry_bar_1 = && bar_1; | goto *dummy_identity_function(&&return_label); | return_label: | return; | bar_1: | __asm__ __volatile__("":::"memory"); | if (global != 42) exit(1); | goto *succip; | } | main() { | global = 42; | foo(); | bar(); | succip = &&last; | goto *dummy_identity_function(&&return_label); | return_label: | goto *entry_foo_1; | exit(1); | last: | __asm__ __volatile__("":::"memory"); | if (global != 42) exit(1); | exit(0); | } | void *dummy_identity_function(void *p) { | return p; | } | configure:8794: result: no configure:8931: checking whether we can use global registers without gcc labels configure:8960: x86_64-pc-linux-gnu-gcc -fno-builtin -fno-omit-frame-pointer -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] main() { ^ configure:8960: $? = 0 configure:8960: ./conftest configure:8960: $? = 0 configure:8972: result: yes configure:8980: checking whether we can support profiling on this system configure:9014: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:9014: $? = 0 configure:9022: result: yes configure:9027: checking if C compiler is egcs configure:9037: result: no configure:9053: checking whether to enable the deep profiler configure:9127: result: no configure:6526: checking for pthread_mutexattr_setpshared configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -lpthread -ldl >&5 configure:6526: $? = 0 configure:6526: result: yes configure:9393: checking whether we can use thread-local storage class extension configure:9411: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:9411: $? = 0 configure:9420: result: yes configure:9635: WARNING: Mercury compiler not yet installed - **** cannot use grade `hlc.gc' **** using grade `reg.gc' to compile the compiler **** after installation is complete you should reinstall **** from scratch so you can use the more efficient **** grade `hlc.gc'. **** NOTE: before reinstalling from scratch, ensure that the **** source tree is clean by running `make realclean'. Not doing **** this may result in a broken Mercury installation. configure:10331: checking whether the assembler handles .type configure:10350: result: yes configure:10361: checking for as configure:10379: found /usr/bin/as configure:10391: result: /usr/bin/as configure:10399: checking whether the assembler does full preprocessing /usr/bin/as conftest.s conftest.s: Assembler messages: conftest.s:4: Error: invalid character '(' in mnemonic configure:10430: result: no configure:10439: checking whether structure assignment conflicts with global registers configure:10475: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:141:1: error: unknown type name 'MR_Spy_Point' MR_Spy_Point spied_procs[2]; ^ configure:10475: $? = 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 PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define MR_HAVE_DEV_T 1 | #define MR_HAVE_INO_T 1 | #define MR_INT_LEAST16_TYPE short | #define MR_INT_LEAST16_MAX SHRT_MAX | #define MR_UINT_LEAST16_MAX USHRT_MAX | #define MR_LOW_TAG_BITS 2 | #define MR_BYTES_PER_WORD 8 | #define MR_SYNC_TERM_SIZE 3 | #define MR_BITS_PER_WORD 64 | #define MR_BOXED_FLOAT 1 | #define MR_DOUBLE_IS_64_BIT 1 | #define MR_LITTLE_ENDIAN 1 | #define MR_HAVE_OCREAT_OEXCL 1 | #define MR_CAN_DO_PENDING_IO 1 | #define MR_DEEP_PROFILER_ENABLED 1 | #define MR_HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1 | #define MR_THREAD_LOCAL_STORAGE 1 | /* end confdefs.h. */ | | | | /* MR_USE_GCC_GLOBAL_REGISTERS are essential to the purpose of the test. */ | /* We define MR_USE_GCC_NONLOCAL_GOTOS because some platforms (e.g. SPARCs) */ | /* cannot have MR_USE_GCC_GLOBAL_REGISTERS without it. */ | #define MR_USE_GCC_GLOBAL_REGISTERS | #define MR_USE_GCC_NONLOCAL_GOTOS | #include "mercury_imp.h" | #include "mercury_trace_spy.h" | | MR_Spy_Point spied_procs[2]; | | int main() { | spied_procs[1] = spied_procs[0]; | #if __GNUC__ >= 3 | /* gcc 3.1 seems to have problems with structure assignment | and global registers, but which this simple test case | doesn't trigger. So just force the test to fail for gcc 3.x. */ | exit(1); | #else | exit(0); | #endif | | } configure:10486: result: yes configure:10495: checking whether Mercury supports shared libraries on this system configure:10539: result: yes configure:10542: checking if linker supports --no-undefined configure:10557: result: yes configure:10561: checking for ld-linux.so configure:10576: result: no configure:11053: checking options for static linking configure:11055: result: -static -Wl-defsym -Wl_DYNAMIC=0 configure:11166: checking for struct tms and times function configure:11196: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:11196: $? = 0 configure:11208: result: yes configure:11222: checking for environ global variable configure:11244: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:11244: $? = 0 configure:11256: result: yes configure:11270: checking for Sleep function configure:11290: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:134:25: fatal error: windows.h: No such file or directory compilation terminated. configure:11290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define MR_HAVE_DEV_T 1 | #define MR_HAVE_INO_T 1 | #define MR_INT_LEAST16_TYPE short | #define MR_INT_LEAST16_MAX SHRT_MAX | #define MR_UINT_LEAST16_MAX USHRT_MAX | #define MR_LOW_TAG_BITS 2 | #define MR_BYTES_PER_WORD 8 | #define MR_SYNC_TERM_SIZE 3 | #define MR_BITS_PER_WORD 64 | #define MR_BOXED_FLOAT 1 | #define MR_DOUBLE_IS_64_BIT 1 | #define MR_LITTLE_ENDIAN 1 | #define MR_HAVE_OCREAT_OEXCL 1 | #define MR_CAN_DO_PENDING_IO 1 | #define MR_DEEP_PROFILER_ENABLED 1 | #define MR_HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1 | #define MR_THREAD_LOCAL_STORAGE 1 | #define MR_CANNOT_USE_STRUCTURE_ASSIGNMENT 1 | #define MR_HAVE_POSIX_TIMES 1 | #define MR_HAVE_ENVIRON 1 | /* end confdefs.h. */ | | #include | | int | main () | { | | Sleep(1); | | ; | return 0; | } configure:11306: result: no configure:11321: checking ieeefp.h usability configure:11321: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 conftest.c:166:20: fatal error: ieeefp.h: No such file or directory compilation terminated. configure:11321: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define MR_HAVE_DEV_T 1 | #define MR_HAVE_INO_T 1 | #define MR_INT_LEAST16_TYPE short | #define MR_INT_LEAST16_MAX SHRT_MAX | #define MR_UINT_LEAST16_MAX USHRT_MAX | #define MR_LOW_TAG_BITS 2 | #define MR_BYTES_PER_WORD 8 | #define MR_SYNC_TERM_SIZE 3 | #define MR_BITS_PER_WORD 64 | #define MR_BOXED_FLOAT 1 | #define MR_DOUBLE_IS_64_BIT 1 | #define MR_LITTLE_ENDIAN 1 | #define MR_HAVE_OCREAT_OEXCL 1 | #define MR_CAN_DO_PENDING_IO 1 | #define MR_DEEP_PROFILER_ENABLED 1 | #define MR_HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1 | #define MR_THREAD_LOCAL_STORAGE 1 | #define MR_CANNOT_USE_STRUCTURE_ASSIGNMENT 1 | #define MR_HAVE_POSIX_TIMES 1 | #define MR_HAVE_ENVIRON 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:11321: result: no configure:11321: checking ieeefp.h presence configure:11321: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c conftest.c:133:20: fatal error: ieeefp.h: No such file or directory compilation terminated. configure:11321: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define MR_HAVE_DEV_T 1 | #define MR_HAVE_INO_T 1 | #define MR_INT_LEAST16_TYPE short | #define MR_INT_LEAST16_MAX SHRT_MAX | #define MR_UINT_LEAST16_MAX USHRT_MAX | #define MR_LOW_TAG_BITS 2 | #define MR_BYTES_PER_WORD 8 | #define MR_SYNC_TERM_SIZE 3 | #define MR_BITS_PER_WORD 64 | #define MR_BOXED_FLOAT 1 | #define MR_DOUBLE_IS_64_BIT 1 | #define MR_LITTLE_ENDIAN 1 | #define MR_HAVE_OCREAT_OEXCL 1 | #define MR_CAN_DO_PENDING_IO 1 | #define MR_DEEP_PROFILER_ENABLED 1 | #define MR_HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1 | #define MR_THREAD_LOCAL_STORAGE 1 | #define MR_CANNOT_USE_STRUCTURE_ASSIGNMENT 1 | #define MR_HAVE_POSIX_TIMES 1 | #define MR_HAVE_ENVIRON 1 | /* end confdefs.h. */ | #include configure:11321: result: no configure:11321: checking for ieeefp.h configure:11321: result: no configure:11338: checking for isnan function configure:11362: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:11362: $? = 0 configure:11371: result: yes configure:11384: checking for isnanf function configure:11408: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:11408: $? = 0 configure:11417: result: yes configure:11430: checking for isinf function configure:11454: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:11454: $? = 0 configure:11463: result: yes configure:11476: checking for isinff function configure:11500: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:11500: $? = 0 configure:11509: result: yes configure:11529: checking for socket in -lsocket configure:11554: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -lsocket >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status configure:11554: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define MR_HAVE_DEV_T 1 | #define MR_HAVE_INO_T 1 | #define MR_INT_LEAST16_TYPE short | #define MR_INT_LEAST16_MAX SHRT_MAX | #define MR_UINT_LEAST16_MAX USHRT_MAX | #define MR_LOW_TAG_BITS 2 | #define MR_BYTES_PER_WORD 8 | #define MR_SYNC_TERM_SIZE 3 | #define MR_BITS_PER_WORD 64 | #define MR_BOXED_FLOAT 1 | #define MR_DOUBLE_IS_64_BIT 1 | #define MR_LITTLE_ENDIAN 1 | #define MR_HAVE_OCREAT_OEXCL 1 | #define MR_CAN_DO_PENDING_IO 1 | #define MR_DEEP_PROFILER_ENABLED 1 | #define MR_HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1 | #define MR_THREAD_LOCAL_STORAGE 1 | #define MR_CANNOT_USE_STRUCTURE_ASSIGNMENT 1 | #define MR_HAVE_POSIX_TIMES 1 | #define MR_HAVE_ENVIRON 1 | #define MR_HAVE_ISNAN 1 | #define MR_HAVE_ISNANF 1 | #define MR_HAVE_ISINF 1 | #define MR_HAVE_ISINFF 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char socket (); | int | main () | { | return socket (); | ; | return 0; | } configure:11563: result: no configure:11575: checking for inet_addr in -lnsl configure:11600: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -lnsl >&5 configure:11600: $? = 0 configure:11609: result: yes configure:11627: checking whether we can use sockets (for Morphine) configure:11791: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -lnsl >&5 configure:11791: $? = 0 configure:11805: result: yes configure:11837: checking whether to enable the external debugger configure:11841: result: yes configure:11882: checking dlfcn.h usability configure:11882: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:11882: $? = 0 configure:11882: result: yes configure:11882: checking dlfcn.h presence configure:11882: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:11882: $? = 0 configure:11882: result: yes configure:11882: checking for dlfcn.h configure:11882: result: yes configure:11896: checking for dlopen in -ldl configure:11921: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:11921: $? = 0 configure:11930: result: yes configure:6526: checking for dlopen configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for dlclose configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for dlsym configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:6526: $? = 0 configure:6526: result: yes configure:6526: checking for dlerror configure:6526: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:6526: $? = 0 configure:6526: result: yes configure:11958: checking whether to enable the new MercuryFile struct configure:11974: result: no configure:12008: checking whether to use the MS Visual C Runtime configure:12021: result: no configure:12050: checking readline/readline.h usability configure:12050: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:12050: $? = 0 configure:12050: result: yes configure:12050: checking readline/readline.h presence configure:12050: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:12050: $? = 0 configure:12050: result: yes configure:12050: checking for readline/readline.h configure:12050: result: yes configure:12050: checking readline/history.h usability configure:12050: x86_64-pc-linux-gnu-gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5 configure:12050: $? = 0 configure:12050: result: yes configure:12050: checking readline/history.h presence configure:12050: x86_64-pc-linux-gnu-gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c configure:12050: $? = 0 configure:12050: result: yes configure:12050: checking for readline/history.h configure:12050: result: yes configure:12067: checking for tgetent in -ltermcap configure:12092: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -ltermcap >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ltermcap collect2: error: ld returned 1 exit status configure:12092: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define MR_HAVE_DEV_T 1 | #define MR_HAVE_INO_T 1 | #define MR_INT_LEAST16_TYPE short | #define MR_INT_LEAST16_MAX SHRT_MAX | #define MR_UINT_LEAST16_MAX USHRT_MAX | #define MR_LOW_TAG_BITS 2 | #define MR_BYTES_PER_WORD 8 | #define MR_SYNC_TERM_SIZE 3 | #define MR_BITS_PER_WORD 64 | #define MR_BOXED_FLOAT 1 | #define MR_DOUBLE_IS_64_BIT 1 | #define MR_LITTLE_ENDIAN 1 | #define MR_HAVE_OCREAT_OEXCL 1 | #define MR_CAN_DO_PENDING_IO 1 | #define MR_DEEP_PROFILER_ENABLED 1 | #define MR_HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1 | #define MR_THREAD_LOCAL_STORAGE 1 | #define MR_CANNOT_USE_STRUCTURE_ASSIGNMENT 1 | #define MR_HAVE_POSIX_TIMES 1 | #define MR_HAVE_ENVIRON 1 | #define MR_HAVE_ISNAN 1 | #define MR_HAVE_ISNANF 1 | #define MR_HAVE_ISINF 1 | #define MR_HAVE_ISINFF 1 | #define MR_USE_EXTERNAL_DEBUGGER 1 | #define MR_HAVE_DLFCN_H 1 | #define MR_HAVE_DLOPEN 1 | #define MR_HAVE_DLCLOSE 1 | #define MR_HAVE_DLSYM 1 | #define MR_HAVE_DLERROR 1 | #define MR_HAVE_READLINE_READLINE_H 1 | #define MR_HAVE_READLINE_HISTORY_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char tgetent (); | int | main () | { | return tgetent (); | ; | return 0; | } configure:12101: result: no configure:12106: checking for tgetent in -lcurses configure:12131: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -lcurses >&5 configure:12131: $? = 0 configure:12140: result: yes configure:12193: checking for readline in -lreadline configure:12218: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -lreadline -lcurses >&5 configure:12218: $? = 0 configure:12227: result: yes configure:12275: checking for flex configure:12291: found /usr/bin/flex configure:12302: result: flex configure:12340: flex conftest.l configure:12344: $? = 0 configure:12346: checking lex output file root configure:12360: result: lex.yy configure:12365: checking lex library configure:12379: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/dev-lang/mercury-11.01/temp/ccTaKij8.o: In function `input': conftest.c:(.text+0x7a3): undefined reference to `yywrap' /var/tmp/portage/dev-lang/mercury-11.01/temp/ccTaKij8.o: In function `yylex': conftest.c:(.text+0xdad): undefined reference to `yywrap' /var/tmp/portage/dev-lang/mercury-11.01/temp/ccTaKij8.o: In function `main': conftest.c:(.text+0x1215): undefined reference to `yywrap' collect2: error: ld returned 1 exit status configure:12379: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define MR_FULLARCH "x86_64-pc-linux-gnu" | #define MR_VERSION "11.01" | #define MR_MKFIFO "/usr/bin/mkfifo" | #define MR_HOSTNAMECMD "/bin/hostname -f" | #define MR_HAVE_SYSCONF 1 | #define MR_HAVE_GETPAGESIZE 1 | #define MR_HAVE_GETHOSTNAME 1 | #define MR_HAVE_MPROTECT 1 | #define MR_HAVE_MEMALIGN 1 | #define MR_HAVE_POSIX_MEMALIGN 1 | #define MR_HAVE_MEMMOVE 1 | #define MR_HAVE_SIGACTION 1 | #define MR_HAVE_SIGINTERRUPT 1 | #define MR_HAVE_SETITIMER 1 | #define MR_HAVE_SNPRINTF 1 | #define MR_HAVE_VSNPRINTF 1 | #define MR_HAVE_STRERROR 1 | #define MR_HAVE_OPEN 1 | #define MR_HAVE_CLOSE 1 | #define MR_HAVE_DUP 1 | #define MR_HAVE_DUP2 1 | #define MR_HAVE_FDOPEN 1 | #define MR_HAVE_FILENO 1 | #define MR_HAVE_FSTAT 1 | #define MR_HAVE_STAT 1 | #define MR_HAVE_LSTAT 1 | #define MR_HAVE_ISATTY 1 | #define MR_HAVE_GETPID 1 | #define MR_HAVE_SETPGID 1 | #define MR_HAVE_FORK 1 | #define MR_HAVE_EXECLP 1 | #define MR_HAVE_WAIT 1 | #define MR_HAVE_KILL 1 | #define MR_HAVE_GRANTPT 1 | #define MR_HAVE_UNLOCKPT 1 | #define MR_HAVE_PTSNAME 1 | #define MR_HAVE_TCGETATTR 1 | #define MR_HAVE_TCSETATTR 1 | #define MR_HAVE_IOCTL 1 | #define MR_HAVE_ACCESS 1 | #define MR_HAVE_SLEEP 1 | #define MR_HAVE_OPENDIR 1 | #define MR_HAVE_READDIR 1 | #define MR_HAVE_CLOSEDIR 1 | #define MR_HAVE_MKDIR 1 | #define MR_HAVE_SYMLINK 1 | #define MR_HAVE_READLINK 1 | #define MR_HAVE_GETTIMEOFDAY 1 | #define MR_HAVE_SETENV 1 | #define MR_HAVE_PUTENV 1 | #define MR_HAVE_POSIX_SPAWN 1 | #define MR_HAVE_SCHED_SETAFFINITY 1 | #define MR_HAVE_SCHED_GETCPU 1 | #define MR_HAVE_SCHED_YIELD 1 | #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 | #define MR_HAVE_SYS_WAIT_H 1 | #define MR_HAVE_SYS_SIGNAL_H 1 | #define MR_HAVE_UCONTEXT_H 1 | #define MR_HAVE_ASM_SIGCONTEXT_H 1 | #define MR_HAVE_SYS_PARAM_H 1 | #define MR_HAVE_SYS_TIME_H 1 | #define MR_HAVE_SYS_TIMES_H 1 | #define MR_HAVE_SYS_TYPES_H 1 | #define MR_HAVE_SYS_STAT_H 1 | #define MR_HAVE_FCNTL_H 1 | #define MR_HAVE_TERMIOS_H 1 | #define MR_HAVE_SYS_IOCTL_H 1 | #define MR_HAVE_SYS_STROPTS_H 1 | #define MR_HAVE_DIRENT_H 1 | #define MR_HAVE_GETOPT_H 1 | #define MR_HAVE_MALLOC_H 1 | #define MR_HAVE_SEMAPHORE_H 1 | #define MR_HAVE_PTHREAD_H 1 | #define MR_HAVE_TIME_H 1 | #define MR_HAVE_SPAWN_H 1 | #define MR_HAVE_FENV_H 1 | #define MR_HAVE_SYS_MMAN_H 1 | #define MR_HAVE_SYS_SEM_H 1 | #define MR_HAVE_SCHED_H 1 | #define MR_HAVE_UTMPX_H 1 | #define MR_HAVE_FESETROUND 1 | #define MR_SIGACTION_FIELD sa_sigaction | #define MR_HAVE_SIGINFO 1 | #define MR_HAVE_SIGINFO_T 1 | #define MR_HAVE_SIGINFO 1 | #define MR_WORD_TYPE long | #define MR_INTEGER_LENGTH_MODIFIER "l" | #define MR_INT_LEAST64_TYPE long | #define MR_INT_LEAST32_TYPE int | #define MR_INT_LEAST32_MAX INT_MAX | #define MR_UINT_LEAST32_MAX UINT_MAX | #define HAVE_DEV_T 1 | #define HAVE_INO_T 1 | #define MR_HAVE_DEV_T 1 | #define MR_HAVE_INO_T 1 | #define MR_INT_LEAST16_TYPE short | #define MR_INT_LEAST16_MAX SHRT_MAX | #define MR_UINT_LEAST16_MAX USHRT_MAX | #define MR_LOW_TAG_BITS 2 | #define MR_BYTES_PER_WORD 8 | #define MR_SYNC_TERM_SIZE 3 | #define MR_BITS_PER_WORD 64 | #define MR_BOXED_FLOAT 1 | #define MR_DOUBLE_IS_64_BIT 1 | #define MR_LITTLE_ENDIAN 1 | #define MR_HAVE_OCREAT_OEXCL 1 | #define MR_CAN_DO_PENDING_IO 1 | #define MR_DEEP_PROFILER_ENABLED 1 | #define MR_HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1 | #define MR_THREAD_LOCAL_STORAGE 1 | #define MR_CANNOT_USE_STRUCTURE_ASSIGNMENT 1 | #define MR_HAVE_POSIX_TIMES 1 | #define MR_HAVE_ENVIRON 1 | #define MR_HAVE_ISNAN 1 | #define MR_HAVE_ISNANF 1 | #define MR_HAVE_ISINF 1 | #define MR_HAVE_ISINFF 1 | #define MR_USE_EXTERNAL_DEBUGGER 1 | #define MR_HAVE_DLFCN_H 1 | #define MR_HAVE_DLOPEN 1 | #define MR_HAVE_DLCLOSE 1 | #define MR_HAVE_DLSYM 1 | #define MR_HAVE_DLERROR 1 | #define MR_HAVE_READLINE_READLINE_H 1 | #define MR_HAVE_READLINE_HISTORY_H 1 | /* end confdefs.h. */ | | #line 3 "lex.yy.c" | | #define YY_INT_ALIGNED short int | | /* A lexical scanner generated by flex */ | | #define FLEX_SCANNER | #define YY_FLEX_MAJOR_VERSION 2 | #define YY_FLEX_MINOR_VERSION 6 | #define YY_FLEX_SUBMINOR_VERSION 1 | #if YY_FLEX_SUBMINOR_VERSION > 0 | #define FLEX_BETA | #endif | | /* First, we deal with platform-specific or compiler-specific issues. */ | | /* begin standard C headers. */ | #include | #include | #include | #include | | /* end standard C headers. */ | | /* flex integer type definitions */ | | #ifndef FLEXINT_H | #define FLEXINT_H | | /* C99 systems have . Non-C99 systems may or may not. */ | | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | * if you want the limit (max/min) macros for int types. | */ | #ifndef __STDC_LIMIT_MACROS | #define __STDC_LIMIT_MACROS 1 | #endif | | #include | typedef int8_t flex_int8_t; | typedef uint8_t flex_uint8_t; | typedef int16_t flex_int16_t; | typedef uint16_t flex_uint16_t; | typedef int32_t flex_int32_t; | typedef uint32_t flex_uint32_t; | #else | typedef signed char flex_int8_t; | typedef short int flex_int16_t; | typedef int flex_int32_t; | typedef unsigned char flex_uint8_t; | typedef unsigned short int flex_uint16_t; | typedef unsigned int flex_uint32_t; | | /* Limits of integral types. */ | #ifndef INT8_MIN | #define INT8_MIN (-128) | #endif | #ifndef INT16_MIN | #define INT16_MIN (-32767-1) | #endif | #ifndef INT32_MIN | #define INT32_MIN (-2147483647-1) | #endif | #ifndef INT8_MAX | #define INT8_MAX (127) | #endif | #ifndef INT16_MAX | #define INT16_MAX (32767) | #endif | #ifndef INT32_MAX | #define INT32_MAX (2147483647) | #endif | #ifndef UINT8_MAX | #define UINT8_MAX (255U) | #endif | #ifndef UINT16_MAX | #define UINT16_MAX (65535U) | #endif | #ifndef UINT32_MAX | #define UINT32_MAX (4294967295U) | #endif | | #endif /* ! C99 */ | | #endif /* ! FLEXINT_H */ | | /* TODO: this is always defined, so inline it */ | #define yyconst const | | #if defined(__GNUC__) && __GNUC__ >= 3 | #define yynoreturn __attribute__((__noreturn__)) | #else | #define yynoreturn | #endif | | /* Returned upon end-of-file. */ | #define YY_NULL 0 | | /* Promotes a possibly negative, possibly signed char to an unsigned | * integer for use as an array index. If the signed char is negative, | * we want to instead treat it as an 8-bit unsigned char, hence the | * double cast. | */ | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) | | /* Enter a start condition. This macro really ought to take a parameter, | * but we do it the disgusting crufty way forced on us by the ()-less | * definition of BEGIN. | */ | #define BEGIN (yy_start) = 1 + 2 * | | /* Translate the current start state into a value that can be later handed | * to BEGIN to return to the state. The YYSTATE alias is for lex | * compatibility. | */ | #define YY_START (((yy_start) - 1) / 2) | #define YYSTATE YY_START | | /* Action number for EOF rule of a given start state. */ | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) | | /* Special action meaning "start processing a new file". */ | #define YY_NEW_FILE yyrestart(yyin ) | | #define YY_END_OF_BUFFER_CHAR 0 | | /* Size of default input buffer. */ | #ifndef YY_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. | * Ditto for the __ia64__ case accordingly. | */ | #define YY_BUF_SIZE 32768 | #else | #define YY_BUF_SIZE 16384 | #endif /* __ia64__ */ | #endif | | /* The state buf must be large enough to hold one state per character in the main buffer. | */ | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE | #define YY_TYPEDEF_YY_BUFFER_STATE | typedef struct yy_buffer_state *YY_BUFFER_STATE; | #endif | | #ifndef YY_TYPEDEF_YY_SIZE_T | #define YY_TYPEDEF_YY_SIZE_T | typedef size_t yy_size_t; | #endif | | extern int yyleng; | | extern FILE *yyin, *yyout; | | #define EOB_ACT_CONTINUE_SCAN 0 | #define EOB_ACT_END_OF_FILE 1 | #define EOB_ACT_LAST_MATCH 2 | | #define YY_LESS_LINENO(n) | #define YY_LINENO_REWIND_TO(ptr) | | /* Return all but the first "n" matched characters back to the input stream. */ | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | *yy_cp = (yy_hold_char); \ | YY_RESTORE_YY_MORE_OFFSET \ | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ | } \ | while ( 0 ) | | #define unput(c) yyunput( c, (yytext_ptr) ) | | #ifndef YY_STRUCT_YY_BUFFER_STATE | #define YY_STRUCT_YY_BUFFER_STATE | struct yy_buffer_state | { | FILE *yy_input_file; | | char *yy_ch_buf; /* input buffer */ | char *yy_buf_pos; /* current position in input buffer */ | | /* Size of input buffer in bytes, not including room for EOB | * characters. | */ | int yy_buf_size; | | /* Number of characters read into yy_ch_buf, not including EOB | * characters. | */ | int yy_n_chars; | | /* Whether we "own" the buffer - i.e., we know we created it, | * and can realloc() it to grow it, and should free() it to | * delete it. | */ | int yy_is_our_buffer; | | /* Whether this is an "interactive" input source; if so, and | * if we're using stdio for input, then we want to use getc() | * instead of fread(), to make sure we stop fetching input after | * each newline. | */ | int yy_is_interactive; | | /* Whether we're considered to be at the beginning of a line. | * If so, '^' rules will be active on the next match, otherwise | * not. | */ | int yy_at_bol; | | int yy_bs_lineno; /**< The line count. */ | int yy_bs_column; /**< The column count. */ | | /* Whether to try to fill the input buffer when we reach the | * end of it. | */ | int yy_fill_buffer; | | int yy_buffer_status; | | #define YY_BUFFER_NEW 0 | #define YY_BUFFER_NORMAL 1 | /* When an EOF's been seen but there's still some text to process | * then we mark the buffer as YY_EOF_PENDING, to indicate that we | * shouldn't try reading from the input source any more. We might | * still have a bunch of tokens to match, though, because of | * possible backing-up. | * | * When we actually see the EOF, we change the status to "new" | * (via yyrestart()), so that the user can continue scanning by | * just pointing yyin at a new input file. | */ | #define YY_BUFFER_EOF_PENDING 2 | | }; | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ | | /* Stack of input buffers. */ | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ | | /* We provide macros for accessing buffer states in case in the | * future we want to put the buffer states in a more general | * "scanner state". | * | * Returns the top of the stack, or NULL. | */ | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ | : NULL) | | /* Same as previous macro, but useful when we know that the buffer stack is not | * NULL or when we need an lvalue. For internal use only. | */ | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] | | /* yy_hold_char holds the character lost when yytext is formed. */ | static char yy_hold_char; | static int yy_n_chars; /* number of characters read into yy_ch_buf */ | int yyleng; | | /* Points to current character in buffer. */ | static char *yy_c_buf_p = NULL; | static int yy_init = 0; /* whether we need to initialize */ | static int yy_start = 0; /* start state number */ | | /* Flag which is used to allow yywrap()'s to do buffer switches | * instead of setting up a fresh yyin. A bit of a hack ... | */ | static int yy_did_buffer_switch_on_eof; | | void yyrestart (FILE *input_file ); | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); | void yy_delete_buffer (YY_BUFFER_STATE b ); | void yy_flush_buffer (YY_BUFFER_STATE b ); | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); | void yypop_buffer_state (void ); | | static void yyensure_buffer_stack (void ); | static void yy_load_buffer_state (void ); | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); | | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) | | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); | | void *yyalloc (yy_size_t ); | void *yyrealloc (void *,yy_size_t ); | void yyfree (void * ); | | #define yy_new_buffer yy_create_buffer | | #define yy_set_interactive(is_interactive) \ | { \ | if ( ! YY_CURRENT_BUFFER ){ \ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer(yyin,YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ | } | | #define yy_set_bol(at_bol) \ | { \ | if ( ! YY_CURRENT_BUFFER ){\ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer(yyin,YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ | } | | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | | /* Begin user sect3 */ | | typedef unsigned char YY_CHAR; | | FILE *yyin = NULL, *yyout = NULL; | | typedef int yy_state_type; | | extern int yylineno; | | int yylineno = 1; | | extern char *yytext; | #ifdef yytext_ptr | #undef yytext_ptr | #endif | #define yytext_ptr yytext | | static yy_state_type yy_get_previous_state (void ); | static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); | static int yy_get_next_buffer (void ); | static void yynoreturn yy_fatal_error (yyconst char* msg ); | | /* Done after the current pattern has been matched and before the | * corresponding action - sets up yytext. | */ | #define YY_DO_BEFORE_ACTION \ | (yytext_ptr) = yy_bp; \ | (yytext_ptr) -= (yy_more_len); \ | yyleng = (int) (yy_cp - (yytext_ptr)); \ | (yy_hold_char) = *yy_cp; \ | *yy_cp = '\0'; \ | (yy_c_buf_p) = yy_cp; | | #define YY_NUM_RULES 8 | #define YY_END_OF_BUFFER 9 | /* This struct is not used in this scanner, | but its presence is necessary. */ | struct yy_trans_info | { | flex_int32_t yy_verify; | flex_int32_t yy_nxt; | }; | static yyconst flex_int16_t yy_acclist[23] = | { 0, | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, | 7, 8 | } ; | | static yyconst flex_int16_t yy_accept[14] = | { 0, | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, | 20, 23, 23 | } ; | | static yyconst YY_CHAR yy_ec[256] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, | | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1 | } ; | | static yyconst YY_CHAR yy_meta[9] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1 | } ; | | static yyconst flex_uint16_t yy_base[13] = | { 0, | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, | 10, 10 | } ; | | static yyconst flex_int16_t yy_def[13] = | { 0, | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, | 12, 0 | } ; | | static yyconst flex_uint16_t yy_nxt[19] = | { 0, | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | static yyconst flex_int16_t yy_chk[19] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | extern int yy_flex_debug; | int yy_flex_debug = 0; | | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; | static char *yy_full_match; | static int yy_lp; | #define REJECT \ | { \ | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ | ++(yy_lp); \ | goto find_rule; \ | } | | static int yy_more_flag = 0; | static int yy_more_len = 0; | #define yymore() ((yy_more_flag) = 1) | #define YY_MORE_ADJ (yy_more_len) | #define YY_RESTORE_YY_MORE_OFFSET | char *yytext; | #line 1 "conftest.l" | #line 469 "lex.yy.c" | | #define INITIAL 0 | | #ifndef YY_NO_UNISTD_H | /* Special case for "unistd.h", since it is non-ANSI. We include it way | * down here because we want the user's section 1 to have been scanned first. | * The user has a chance to override it with an option. | */ | #include | #endif | | #ifndef YY_EXTRA_TYPE | #define YY_EXTRA_TYPE void * | #endif | | static int yy_init_globals (void ); | | /* Accessor methods to globals. | These are made visible to non-reentrant scanners for convenience. */ | | int yylex_destroy (void ); | | int yyget_debug (void ); | | void yyset_debug (int debug_flag ); | | YY_EXTRA_TYPE yyget_extra (void ); | | void yyset_extra (YY_EXTRA_TYPE user_defined ); | | FILE *yyget_in (void ); | | void yyset_in (FILE * _in_str ); | | FILE *yyget_out (void ); | | void yyset_out (FILE * _out_str ); | | int yyget_leng (void ); | | char *yyget_text (void ); | | int yyget_lineno (void ); | | void yyset_lineno (int _line_number ); | | /* Macros after this point can all be overridden by user definitions in | * section 1. | */ | | #ifndef YY_SKIP_YYWRAP | #ifdef __cplusplus | extern "C" int yywrap (void ); | #else | extern int yywrap (void ); | #endif | #endif | | #ifndef YY_NO_UNPUT | | static void yyunput (int c,char *buf_ptr ); | | #endif | | #ifndef yytext_ptr | static void yy_flex_strncpy (char *,yyconst char *,int ); | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen (yyconst char * ); | #endif | | #ifndef YY_NO_INPUT | | #ifdef __cplusplus | static int yyinput (void ); | #else | static int input (void ); | #endif | | #endif | | /* Amount of stuff to slurp up with each read. */ | #ifndef YY_READ_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k */ | #define YY_READ_BUF_SIZE 16384 | #else | #define YY_READ_BUF_SIZE 8192 | #endif /* __ia64__ */ | #endif | | /* Copy whatever the last rule matched to the standard output. */ | #ifndef ECHO | /* This used to be an fputs(), but since the string might contain NUL's, | * we now use fwrite(). | */ | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) | #endif | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | * is returned in "result". | */ | #ifndef YY_INPUT | #define YY_INPUT(buf,result,max_size) \ | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | { \ | int c = '*'; \ | size_t n; \ | for ( n = 0; n < max_size && \ | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | buf[n] = (char) c; \ | if ( c == '\n' ) \ | buf[n++] = (char) c; \ | if ( c == EOF && ferror( yyin ) ) \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | result = n; \ | } \ | else \ | { \ | errno=0; \ | while ( (result = (int) fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ | { \ | if( errno != EINTR) \ | { \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | break; \ | } \ | errno=0; \ | clearerr(yyin); \ | } \ | }\ | \ | | #endif | | /* No semi-colon after return; correct usage is to write "yyterminate();" - | * we don't want an extra ';' after the "return" because that will cause | * some compilers to complain about unreachable statements. | */ | #ifndef yyterminate | #define yyterminate() return YY_NULL | #endif | | /* Number of entries by which start-condition stack grows. */ | #ifndef YY_START_STACK_INCR | #define YY_START_STACK_INCR 25 | #endif | | /* Report a fatal error. */ | #ifndef YY_FATAL_ERROR | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) | #endif | | /* end tables serialization structures and prototypes */ | | /* Default declaration of generated scanner - a define so the user can | * easily add parameters. | */ | #ifndef YY_DECL | #define YY_DECL_IS_OURS 1 | | extern int yylex (void); | | #define YY_DECL int yylex (void) | #endif /* !YY_DECL */ | | /* Code executed at the beginning of each rule, after yytext and yyleng | * have been set up. | */ | #ifndef YY_USER_ACTION | #define YY_USER_ACTION | #endif | | /* Code executed at the end of each rule. */ | #ifndef YY_BREAK | #define YY_BREAK /*LINTED*/break; | #endif | | #define YY_RULE_SETUP \ | YY_USER_ACTION | | /** The main scanner function which does all the work. | */ | YY_DECL | { | yy_state_type yy_current_state; | char *yy_cp, *yy_bp; | int yy_act; | | if ( !(yy_init) ) | { | (yy_init) = 1; | | #ifdef YY_USER_INIT | YY_USER_INIT; | #endif | | /* Create the reject buffer large enough to save one state per allowed character. */ | if ( ! (yy_state_buf) ) | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); | if ( ! (yy_state_buf) ) | YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); | | if ( ! (yy_start) ) | (yy_start) = 1; /* first start state */ | | if ( ! yyin ) | yyin = stdin; | | if ( ! yyout ) | yyout = stdout; | | if ( ! YY_CURRENT_BUFFER ) { | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer(yyin,YY_BUF_SIZE ); | } | | yy_load_buffer_state( ); | } | | { | #line 1 "conftest.l" | | #line 695 "lex.yy.c" | | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ | { | (yy_more_len) = 0; | if ( (yy_more_flag) ) | { | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); | (yy_more_flag) = 0; | } | yy_cp = (yy_c_buf_p); | | /* Support of yytext. */ | *yy_cp = (yy_hold_char); | | /* yy_bp points to the position in yy_ch_buf of the start of | * the current run. | */ | yy_bp = yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | yy_match: | do | { | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[(unsigned int) yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; | *(yy_state_ptr)++ = yy_current_state; | ++yy_cp; | } | while ( yy_base[yy_current_state] != 10 ); | | yy_find_action: | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | find_rule: /* we branch to this label when backing up */ | for ( ; ; ) /* until we find what rule we matched */ | { | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) | { | yy_act = yy_acclist[(yy_lp)]; | { | (yy_full_match) = yy_cp; | break; | } | } | --yy_cp; | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | } | | YY_DO_BEFORE_ACTION; | | do_action: /* This label is used only to access EOF actions. */ | | switch ( yy_act ) | { /* beginning of action switch */ | case 1: | YY_RULE_SETUP | #line 2 "conftest.l" | { ECHO; } | YY_BREAK | case 2: | YY_RULE_SETUP | #line 3 "conftest.l" | { REJECT; } | YY_BREAK | case 3: | YY_RULE_SETUP | #line 4 "conftest.l" | { yymore (); } | YY_BREAK | case 4: | YY_RULE_SETUP | #line 5 "conftest.l" | { yyless (1); } | YY_BREAK | case 5: | YY_RULE_SETUP | #line 6 "conftest.l" | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ | yyless ((input () != 0)); } | YY_BREAK | case 6: | YY_RULE_SETUP | #line 8 "conftest.l" | { unput (yytext[0]); } | YY_BREAK | case 7: | YY_RULE_SETUP | #line 9 "conftest.l" | { BEGIN INITIAL; } | YY_BREAK | case 8: | YY_RULE_SETUP | #line 10 "conftest.l" | ECHO; | YY_BREAK | #line 802 "lex.yy.c" | case YY_STATE_EOF(INITIAL): | yyterminate(); | | case YY_END_OF_BUFFER: | { | /* Amount of text matched not including the EOB char. */ | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ | *yy_cp = (yy_hold_char); | YY_RESTORE_YY_MORE_OFFSET | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) | { | /* We're scanning a new file or input source. It's | * possible that this happened because the user | * just pointed yyin at a new source and called | * yylex(). If so, then we have to assure | * consistency between YY_CURRENT_BUFFER and our | * globals. Here is the right place to do so, because | * this is the first action (other than possibly a | * back-up) that will match for the new input source. | */ | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; | } | | /* Note that here we test for yy_c_buf_p "<=" to the position | * of the first EOB in the buffer, since yy_c_buf_p will | * already have been incremented past the NUL character | * (since all states make transitions on EOB to the | * end-of-buffer state). Contrast this with the test | * in input(). | */ | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | { /* This was really a NUL. */ | yy_state_type yy_next_state; | | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | /* Okay, we're now positioned to make the NUL | * transition. We couldn't have | * yy_get_previous_state() go ahead and do it | * for us because it doesn't know how to deal | * with the possibility of jamming (and we don't | * want to build jamming into it because then it | * will run more slowly). | */ | | yy_next_state = yy_try_NUL_trans( yy_current_state ); | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | if ( yy_next_state ) | { | /* Consume the NUL. */ | yy_cp = ++(yy_c_buf_p); | yy_current_state = yy_next_state; | goto yy_match; | } | | else | { | yy_cp = (yy_c_buf_p); | goto yy_find_action; | } | } | | else switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_END_OF_FILE: | { | (yy_did_buffer_switch_on_eof) = 0; | | if ( yywrap( ) ) | { | /* Note: because we've taken care in | * yy_get_next_buffer() to have set up | * yytext, we can now set up | * yy_c_buf_p so that if some total | * hoser (like flex itself) wants to | * call the scanner after we return the | * YY_NULL, it'll still work - another | * YY_NULL will get returned. | */ | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; | | yy_act = YY_STATE_EOF(YY_START); | goto do_action; | } | | else | { | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | } | break; | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = | (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_match; | | case EOB_ACT_LAST_MATCH: | (yy_c_buf_p) = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_find_action; | } | break; | } | | default: | YY_FATAL_ERROR( | "fatal flex scanner internal error--no action found" ); | } /* end of action switch */ | } /* end of scanning one token */ | } /* end of user's declarations */ | } /* end of yylex */ | | /* yy_get_next_buffer - try to read in a new buffer | * | * Returns a code representing an action: | * EOB_ACT_LAST_MATCH - | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position | * EOB_ACT_END_OF_FILE - end of file | */ | static int yy_get_next_buffer (void) | { | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | char *source = (yytext_ptr); | yy_size_t number_to_move, i; | int ret_val; | | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) | YY_FATAL_ERROR( | "fatal flex scanner internal error--end of buffer missed" ); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) | { /* Don't try to fill the buffer, so this is an EOF. */ | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) | { | /* We matched a single character, the EOB, so | * treat this as a final EOF. | */ | return EOB_ACT_END_OF_FILE; | } | | else | { | /* We matched some text prior to the EOB, first | * process it. | */ | return EOB_ACT_LAST_MATCH; | } | } | | /* Try to read more data. */ | | /* First move last chars to start of buffer. */ | number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1; | | for ( i = 0; i < number_to_move; ++i ) | *(dest++) = *(source++); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) | /* don't do the read, it's not guaranteed to return an EOF, | * just force an EOF | */ | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; | | else | { | int num_to_read = | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | | while ( num_to_read <= 0 ) | { /* Not enough room in the buffer - grow it. */ | | YY_FATAL_ERROR( | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); | | } | | if ( num_to_read > YY_READ_BUF_SIZE ) | num_to_read = YY_READ_BUF_SIZE; | | /* Read in more data. */ | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), | (yy_n_chars), num_to_read ); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | if ( (yy_n_chars) == 0 ) | { | if ( number_to_move == YY_MORE_ADJ ) | { | ret_val = EOB_ACT_END_OF_FILE; | yyrestart(yyin ); | } | | else | { | ret_val = EOB_ACT_LAST_MATCH; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = | YY_BUFFER_EOF_PENDING; | } | } | | else | ret_val = EOB_ACT_CONTINUE_SCAN; | | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | /* Extend the array by 50%, plus the number we really need. */ | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); | } | | (yy_n_chars) += number_to_move; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; | | return ret_val; | } | | /* yy_get_previous_state - get the state just before the EOB char was reached */ | | static yy_state_type yy_get_previous_state (void) | { | yy_state_type yy_current_state; | char *yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | { | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[(unsigned int) yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; | *(yy_state_ptr)++ = yy_current_state; | } | | return yy_current_state; | } | | /* yy_try_NUL_trans - try to make a transition on the NUL character | * | * synopsis | * next_state = yy_try_NUL_trans( current_state ); | */ | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) | { | int yy_is_jam; | | YY_CHAR yy_c = 1; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[(unsigned int) yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; | yy_is_jam = (yy_current_state == 12); | if ( ! yy_is_jam ) | *(yy_state_ptr)++ = yy_current_state; | | return yy_is_jam ? 0 : yy_current_state; | } | | #ifndef YY_NO_UNPUT | | static void yyunput (int c, char * yy_bp ) | { | char *yy_cp; | | yy_cp = (yy_c_buf_p); | | /* undo effects of setting up yytext */ | *yy_cp = (yy_hold_char); | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | { /* need to shift things up to make room */ | /* +2 for EOB chars. */ | int number_to_move = (yy_n_chars) + 2; | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; | char *source = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; | | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | *--dest = *--source; | | yy_cp += (int) (dest - source); | yy_bp += (int) (dest - source); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = | (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size; | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | YY_FATAL_ERROR( "flex scanner push-back overflow" ); | } | | *--yy_cp = (char) c; | | (yytext_ptr) = yy_bp; | (yy_hold_char) = *yy_cp; | (yy_c_buf_p) = yy_cp; | } | | #endif | | #ifndef YY_NO_INPUT | #ifdef __cplusplus | static int yyinput (void) | #else | static int input (void) | #endif | | { | int c; | | *(yy_c_buf_p) = (yy_hold_char); | | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) | { | /* yy_c_buf_p now points to the character we want to return. | * If this occurs *before* the EOB characters, then it's a | * valid NUL; if not, then we've hit the end of the buffer. | */ | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | /* This was really a NUL. */ | *(yy_c_buf_p) = '\0'; | | else | { /* need more input */ | int offset = (yy_c_buf_p) - (yytext_ptr); | ++(yy_c_buf_p); | | switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_LAST_MATCH: | /* This happens because yy_g_n_b() | * sees that we've accumulated a | * token and flags that we need to | * try matching the token before | * proceeding. But for input(), | * there's no matching to consider. | * So convert the EOB_ACT_LAST_MATCH | * to EOB_ACT_END_OF_FILE. | */ | | /* Reset buffer status. */ | yyrestart(yyin ); | | /*FALLTHROUGH*/ | | case EOB_ACT_END_OF_FILE: | { | if ( yywrap( ) ) | return 0; | | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | #ifdef __cplusplus | return yyinput(); | #else | return input(); | #endif | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = (yytext_ptr) + offset; | break; | } | } | } | | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ | *(yy_c_buf_p) = '\0'; /* preserve yytext */ | (yy_hold_char) = *++(yy_c_buf_p); | | return c; | } | #endif /* ifndef YY_NO_INPUT */ | | /** Immediately switch to a different input stream. | * @param input_file A readable stream. | * | * @note This function does not reset the start condition to @c INITIAL . | */ | void yyrestart (FILE * input_file ) | { | | if ( ! YY_CURRENT_BUFFER ){ | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer(yyin,YY_BUF_SIZE ); | } | | yy_init_buffer(YY_CURRENT_BUFFER,input_file ); | yy_load_buffer_state( ); | } | | /** Switch to a different input buffer. | * @param new_buffer The new input buffer. | * | */ | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) | { | | /* TODO. We should be able to replace this entire function body | * with | * yypop_buffer_state(); | * yypush_buffer_state(new_buffer); | */ | yyensure_buffer_stack (); | if ( YY_CURRENT_BUFFER == new_buffer ) | return; | | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | YY_CURRENT_BUFFER_LVALUE = new_buffer; | yy_load_buffer_state( ); | | /* We don't actually know whether we did this switch during | * EOF (yywrap()) processing, but the only time this flag | * is looked at is after yywrap() is called, so it's safe | * to go ahead and always set it. | */ | (yy_did_buffer_switch_on_eof) = 1; | } | | static void yy_load_buffer_state (void) | { | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | (yy_hold_char) = *(yy_c_buf_p); | } | | /** Allocate and initialize an input buffer state. | * @param file A readable stream. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. | * | * @return the allocated buffer state. | */ | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) | { | YY_BUFFER_STATE b; | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_buf_size = (yy_size_t)size; | | /* yy_ch_buf has to be 2 characters longer than the size given because | * we need to put in 2 end-of-buffer characters. | */ | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); | if ( ! b->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_is_our_buffer = 1; | | yy_init_buffer(b,file ); | | return b; | } | | /** Destroy the buffer. | * @param b a buffer created with yy_create_buffer() | * | */ | void yy_delete_buffer (YY_BUFFER_STATE b ) | { | | if ( ! b ) | return; | | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; | | if ( b->yy_is_our_buffer ) | yyfree((void *) b->yy_ch_buf ); | | yyfree((void *) b ); | } | | /* Initializes or reinitializes a buffer. | * This function is sometimes called more than once on the same buffer, | * such as during a yyrestart() or at EOF. | */ | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) | | { | int oerrno = errno; | | yy_flush_buffer(b ); | | b->yy_input_file = file; | b->yy_fill_buffer = 1; | | /* If b is the current buffer, then yy_init_buffer was _probably_ | * called from yyrestart() or through yy_get_next_buffer. | * In that case, we don't want to reset the lineno or column. | */ | if (b != YY_CURRENT_BUFFER){ | b->yy_bs_lineno = 1; | b->yy_bs_column = 0; | } | | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; | | errno = oerrno; | } | | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. | * | */ | void yy_flush_buffer (YY_BUFFER_STATE b ) | { | if ( ! b ) | return; | | b->yy_n_chars = 0; | | /* We always need two end-of-buffer characters. The first causes | * a transition to the end-of-buffer state. The second causes | * a jam in that state. | */ | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; | | b->yy_buf_pos = &b->yy_ch_buf[0]; | | b->yy_at_bol = 1; | b->yy_buffer_status = YY_BUFFER_NEW; | | if ( b == YY_CURRENT_BUFFER ) | yy_load_buffer_state( ); | } | | /** Pushes the new state onto the stack. The new state becomes | * the current state. This function will allocate the stack | * if necessary. | * @param new_buffer The new state. | * | */ | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) | { | if (new_buffer == NULL) | return; | | yyensure_buffer_stack(); | | /* This block is copied from yy_switch_to_buffer. */ | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | /* Only push if top exists. Otherwise, replace top. */ | if (YY_CURRENT_BUFFER) | (yy_buffer_stack_top)++; | YY_CURRENT_BUFFER_LVALUE = new_buffer; | | /* copied from yy_switch_to_buffer. */ | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | | /** Removes and deletes the top of the stack, if present. | * The next element becomes the new top. | * | */ | void yypop_buffer_state (void) | { | if (!YY_CURRENT_BUFFER) | return; | | yy_delete_buffer(YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | if ((yy_buffer_stack_top) > 0) | --(yy_buffer_stack_top); | | if (YY_CURRENT_BUFFER) { | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | } | | /* Allocates the stack if it does not exist. | * Guarantees space for at least one push. | */ | static void yyensure_buffer_stack (void) | { | int num_to_alloc; | | if (!(yy_buffer_stack)) { | | /* First allocation is just for 2 elements, since we don't know if this | * scanner will even need a stack. We use 2 instead of 1 to avoid an | * immediate realloc on the next call. | */ | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc | (num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); | | (yy_buffer_stack_max) = num_to_alloc; | (yy_buffer_stack_top) = 0; | return; | } | | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ | | /* Increase the buffer to prepare for a possible push. */ | yy_size_t grow_size = 8 /* arbitrary grow size */; | | num_to_alloc = (yy_buffer_stack_max) + grow_size; | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc | ((yy_buffer_stack), | num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | /* zero only the new slots.*/ | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); | (yy_buffer_stack_max) = num_to_alloc; | } | } | | /** Setup the input buffer state to scan directly from a user-specified character buffer. | * @param base the character buffer | * @param size the size in bytes of the character buffer | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) | { | YY_BUFFER_STATE b; | | if ( size < 2 || | base[size-2] != YY_END_OF_BUFFER_CHAR || | base[size-1] != YY_END_OF_BUFFER_CHAR ) | /* They forgot to leave room for the EOB's. */ | return NULL; | | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); | | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ | b->yy_buf_pos = b->yy_ch_buf = base; | b->yy_is_our_buffer = 0; | b->yy_input_file = NULL; | b->yy_n_chars = b->yy_buf_size; | b->yy_is_interactive = 0; | b->yy_at_bol = 1; | b->yy_fill_buffer = 0; | b->yy_buffer_status = YY_BUFFER_NEW; | | yy_switch_to_buffer(b ); | | return b; | } | | /** Setup the input buffer state to scan a string. The next call to yylex() will | * scan from a @e copy of @a str. | * @param yystr a NUL-terminated string to scan | * | * @return the newly allocated buffer state object. | * @note If you want to scan bytes that may contain NUL values, then use | * yy_scan_bytes() instead. | */ | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) | { | | return yy_scan_bytes(yystr,(int) strlen(yystr) ); | } | | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will | * scan from a @e copy of @a bytes. | * @param yybytes the byte buffer to scan | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) | { | YY_BUFFER_STATE b; | char *buf; | yy_size_t n; | yy_size_t i; | | /* Get memory for full buffer, including space for trailing EOB's. */ | n = (yy_size_t) _yybytes_len + 2; | buf = (char *) yyalloc(n ); | if ( ! buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); | | for ( i = 0; i < _yybytes_len; ++i ) | buf[i] = yybytes[i]; | | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; | | b = yy_scan_buffer(buf,n ); | if ( ! b ) | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); | | /* It's okay to grow etc. this buffer, and we should throw it | * away when we're done. | */ | b->yy_is_our_buffer = 1; | | return b; | } | | #ifndef YY_EXIT_FAILURE | #define YY_EXIT_FAILURE 2 | #endif | | static void yynoreturn yy_fatal_error (yyconst char* msg ) | { | (void) fprintf( stderr, "%s\n", msg ); | exit( YY_EXIT_FAILURE ); | } | | /* Redefine yyless() so it works in section 3 code. */ | | #undef yyless | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | yytext[yyleng] = (yy_hold_char); \ | (yy_c_buf_p) = yytext + yyless_macro_arg; \ | (yy_hold_char) = *(yy_c_buf_p); \ | *(yy_c_buf_p) = '\0'; \ | yyleng = yyless_macro_arg; \ | } \ | while ( 0 ) | | /* Accessor methods (get/set functions) to struct members. */ | | /** Get the current line number. | * | */ | int yyget_lineno (void) | { | | return yylineno; | } | | /** Get the input stream. | * | */ | FILE *yyget_in (void) | { | return yyin; | } | | /** Get the output stream. | * | */ | FILE *yyget_out (void) | { | return yyout; | } | | /** Get the length of the current token. | * | */ | int yyget_leng (void) | { | return yyleng; | } | | /** Get the current token. | * | */ | | char *yyget_text (void) | { | return yytext; | } | | /** Set the current line number. | * @param _line_number line number | * | */ | void yyset_lineno (int _line_number ) | { | | yylineno = _line_number; | } | | /** Set the input stream. This does not discard the current | * input buffer. | * @param _in_str A readable stream. | * | * @see yy_switch_to_buffer | */ | void yyset_in (FILE * _in_str ) | { | yyin = _in_str ; | } | | void yyset_out (FILE * _out_str ) | { | yyout = _out_str ; | } | | int yyget_debug (void) | { | return yy_flex_debug; | } | | void yyset_debug (int _bdebug ) | { | yy_flex_debug = _bdebug ; | } | | static int yy_init_globals (void) | { | /* Initialization is the same as for the non-reentrant scanner. | * This function is called from yylex_destroy(), so don't allocate here. | */ | | (yy_buffer_stack) = NULL; | (yy_buffer_stack_top) = 0; | (yy_buffer_stack_max) = 0; | (yy_c_buf_p) = NULL; | (yy_init) = 0; | (yy_start) = 0; | | (yy_state_buf) = 0; | (yy_state_ptr) = 0; | (yy_full_match) = 0; | (yy_lp) = 0; | | /* Defined in main.c */ | #ifdef YY_STDINIT | yyin = stdin; | yyout = stdout; | #else | yyin = NULL; | yyout = NULL; | #endif | | /* For future reference: Set errno on error, since we are called by | * yylex_init() | */ | return 0; | } | | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ | int yylex_destroy (void) | { | | /* Pop the buffer stack, destroying each element. */ | while(YY_CURRENT_BUFFER){ | yy_delete_buffer(YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | yypop_buffer_state(); | } | | /* Destroy the stack itself. */ | yyfree((yy_buffer_stack) ); | (yy_buffer_stack) = NULL; | | yyfree ( (yy_state_buf) ); | (yy_state_buf) = NULL; | | /* Reset the globals. This is important in a non-reentrant scanner so the next time | * yylex() is called, initialization will occur. */ | yy_init_globals( ); | | return 0; | } | | /* | * Internal utility routines. | */ | | #ifndef yytext_ptr | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) | { | | int i; | for ( i = 0; i < n; ++i ) | s1[i] = s2[i]; | } | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen (yyconst char * s ) | { | int n; | for ( n = 0; s[n]; ++n ) | ; | | return n; | } | #endif | | void *yyalloc (yy_size_t size ) | { | return malloc(size); | } | | void *yyrealloc (void * ptr, yy_size_t size ) | { | | /* The cast to (char *) in the following accommodates both | * implementations that use char* generic pointers, and those | * that use void* generic pointers. It works with the latter | * because both ANSI C and C++ allow castless assignment from | * any pointer type to void*, and deal with argument conversions | * as though doing an assignment. | */ | return realloc(ptr, size); | } | | void yyfree (void * ptr ) | { | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | } | | #define YYTABLES_NAME "yytables" | | #line 10 "conftest.l" | | | #ifdef YYTEXT_POINTER | extern char *yytext; | #endif | int | main (void) | { | return ! yylex () + ! yywrap (); | } configure:12379: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -lfl >&5 configure:12379: $? = 0 configure:12389: result: -lfl configure:12395: checking whether yytext is a pointer configure:12412: x86_64-pc-linux-gnu-gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace -Wl,-O1 -Wl,--as-needed conftest.c -lfl >&5 configure:12412: $? = 0 configure:12420: result: yes configure:12439: checking for bison configure:12455: found /usr/bin/bison configure:12466: result: bison -y configure:12497: checking for firefox configure:12530: result: no configure:12497: checking for mozilla configure:12530: result: no configure:12543: checking for xsltproc configure:12561: found /usr/bin/xsltproc configure:12573: result: /usr/bin/xsltproc configure:12676: checking for C shell executable configure:12695: result: no configure:12937: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on mr-fox config.status:1152: creating Mmake.common config.status:1152: creating scripts/Mmake.vars config.status:1152: creating scripts/parse_ml_options.sh-subr config.status:1152: creating scripts/mdbrc config.status:1152: creating scripts/Mercury.config config.status:1152: creating scripts/Mercury.config.bootstrap config.status:1152: creating bindist/bindist.INSTALL config.status:1152: creating bindist/bindist.Makefile config.status:1152: creating runtime/mercury_dotnet.cs config.status:1152: creating java/runtime/Constants.java config.status:1152: creating java/runtime/Native.java config.status:1152: creating library/erlang_conf.hrl config.status:1152: creating compiler/COMP_FLAGS config.status:1152: creating library/LIB_FLAGS config.status:1152: creating mdbcomp/MDBCOMP_FLAGS config.status:1152: creating browser/MDB_FLAGS config.status:1152: creating ssdb/SSDB_FLAGS config.status:1152: creating slice/SLICE_FLAGS config.status:1152: creating profiler/PROF_FLAGS config.status:1152: creating deep_profiler/DEEP_FLAGS config.status:1152: creating scripts/mmc config.status:1152: creating scripts/mercury.bat config.status:1152: creating scripts/mprof config.status:1152: creating scripts/mercury_update_interface config.status:1152: creating scripts/mgnuc config.status:1152: creating scripts/ml config.status:1152: creating scripts/c2init config.status:1152: creating scripts/mmake config.status:1152: creating scripts/mdb config.status:1152: creating scripts/mdprof config.status:1152: creating scripts/mtags config.status:1152: creating scripts/canonical_grade config.status:1152: creating scripts/mkfifo_using_mknod config.status:1152: creating scripts/mercury_config config.status:1152: creating scripts/prepare_install_dir config.status:1152: creating tools/lmc config.status:1152: creating tools/dotime config.status:1152: creating runtime/mercury_conf.h config.status:1341: executing default commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu 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='-O2 -pipe -march=native -Wall' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_ERLCFLAGS_set= ac_cv_env_ERLCFLAGS_value= ac_cv_env_ERLC_set= ac_cv_env_ERLC_value= ac_cv_env_ERL_set= ac_cv_env_ERL_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_YACC_set= ac_cv_env_YACC_value= ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_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_func__putenv=no ac_cv_func__snprintf=no ac_cv_func__vsnprintf=no ac_cv_func_access=yes ac_cv_func_close=yes ac_cv_func_closedir=yes ac_cv_func_dlclose=yes ac_cv_func_dlerror=yes ac_cv_func_dlopen=yes ac_cv_func_dlsym=yes ac_cv_func_dup2=yes ac_cv_func_dup=yes ac_cv_func_execlp=yes ac_cv_func_fdopen=yes ac_cv_func_fileno=yes ac_cv_func_fork=yes ac_cv_func_fstat=yes ac_cv_func_gethostname=yes ac_cv_func_getpagesize=yes ac_cv_func_getpid=yes ac_cv_func_gettimeofday=yes ac_cv_func_grantpt=yes ac_cv_func_ioctl=yes ac_cv_func_isatty=yes ac_cv_func_kill=yes ac_cv_func_lstat=yes ac_cv_func_memalign=yes ac_cv_func_memmove=yes ac_cv_func_mkdir=yes ac_cv_func_mkstemp=yes ac_cv_func_mprotect=yes ac_cv_func_open=yes ac_cv_func_opendir=yes ac_cv_func_posix_memalign=yes ac_cv_func_posix_spawn=yes ac_cv_func_pthread_mutexattr_setpshared=yes ac_cv_func_ptsname=yes ac_cv_func_putenv=yes ac_cv_func_readdir=yes ac_cv_func_readlink=yes ac_cv_func_sched_getcpu=yes ac_cv_func_sched_setaffinity=yes ac_cv_func_sched_yield=yes ac_cv_func_setenv=yes ac_cv_func_setitimer=yes ac_cv_func_setpgid=yes ac_cv_func_sigaction=yes ac_cv_func_siginterrupt=yes ac_cv_func_sleep=yes ac_cv_func_snprintf=yes ac_cv_func_stat=yes ac_cv_func_strerror=yes ac_cv_func_symlink=yes ac_cv_func_sysconf=yes ac_cv_func_tcgetattr=yes ac_cv_func_tcsetattr=yes ac_cv_func_unlockpt=yes ac_cv_func_vsnprintf=yes ac_cv_func_wait=yes ac_cv_header_asm_sigcontext_h=yes ac_cv_header_dirent_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_fenv_h=yes ac_cv_header_getopt_h=yes ac_cv_header_ieeefp_h=no ac_cv_header_inttypes_h=yes ac_cv_header_malloc_h=yes ac_cv_header_memory_h=yes ac_cv_header_pthread_h=yes ac_cv_header_readline_history_h=yes ac_cv_header_readline_readline_h=yes ac_cv_header_sched_h=yes ac_cv_header_semaphore_h=yes ac_cv_header_spawn_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_ioctl_h=yes ac_cv_header_sys_mman_h=yes ac_cv_header_sys_param_h=yes ac_cv_header_sys_sem_h=yes ac_cv_header_sys_siginfo_h=no ac_cv_header_sys_signal_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_stropts_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_times_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_termios_h=yes ac_cv_header_time_h=yes ac_cv_header_ucontext_h=yes ac_cv_header_unistd_h=yes ac_cv_header_utmpx_h=yes ac_cv_header_windows_h=no ac_cv_host=x86_64-pc-linux-gnu ac_cv_lib_curses_tgetent=yes ac_cv_lib_dl_dlopen=yes ac_cv_lib_lex=-lfl ac_cv_lib_m_sin=yes ac_cv_lib_nsl_inet_addr=yes ac_cv_lib_readline_readline=yes ac_cv_lib_socket_socket=no ac_cv_lib_termcap_tgetent=no ac_cv_objext=o ac_cv_path_AS=/usr/bin/as ac_cv_path_DVIPS=/usr/bin/dvips ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_HOSTNAMECMD=/bin/hostname ac_cv_path_INFO=/usr/bin/info ac_cv_path_INSTALL_INFO=/usr/bin/install-info ac_cv_path_JAR=/usr/bin/jar ac_cv_path_JAVAC=/etc/java-config-2/current-system-vm/bin/javac ac_cv_path_JAVA_INTERPRETER=/usr/bin/java ac_cv_path_MAKEINFO=/usr/bin/makeinfo ac_cv_path_MKFIFO=/usr/bin/mkfifo ac_cv_path_MKTEMP=/usr/bin/mktemp ac_cv_path_PDFTEX=/usr/bin/pdftex ac_cv_path_PERL=/usr/bin/perl ac_cv_path_TEXI2DVI=/usr/bin/texi2dvi ac_cv_path_XSLTPROC=/usr/bin/xsltproc ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -E' ac_cv_prog_CYGPATH=echo ac_cv_prog_CYGPATHU=echo ac_cv_prog_GNU_MAKE=gmake ac_cv_prog_LEX=flex ac_cv_prog_RANLIB=x86_64-pc-linux-gnu-ranlib ac_cv_prog_YACC='bison -y' ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_lex_root=lex.yy ac_cv_prog_lex_yytext_pointer=yes ac_cv_type_dev_t=yes ac_cv_type_ino_t=yes ac_cv_type_pid_t=yes mercury_cv_asm_does_full_preprocessing=no mercury_cv_asm_labels=no mercury_cv_bits_per_word=64 mercury_cv_bytes_per_word=8 mercury_cv_bzero_needs_strings_header=no mercury_cv_can_do_pending_io=yes mercury_cv_can_enable_deep_profiler=yes mercury_cv_cannot_grok_asm_type_directive=no mercury_cv_cannot_use_structure_assignment=yes mercury_cv_cgi_dir_must_exist=no mercury_cv_cpp_precomp=no mercury_cv_default_cgi_dir=/usr/lib/cgi-bin mercury_cv_double_is_64_bit=yes mercury_cv_egcs=no mercury_cv_enable_deep_profiler=no mercury_cv_enable_dynamic_link=yes mercury_cv_enable_extern_debug=yes mercury_cv_erlang=no mercury_cv_float_is_64_bit=no mercury_cv_func=dlerror mercury_cv_func_define=MR_HAVE_DLERROR mercury_cv_gcc_labels=no mercury_cv_gcc_model_fast=no mercury_cv_gcc_model_reg=yes mercury_cv_gcc_version=5_4_0 mercury_cv_have_capital_s_sleep=no mercury_cv_have_environ=yes mercury_cv_have_ieee_func=yes mercury_cv_have_math_func=yes mercury_cv_have_ocreat_oexcl=yes mercury_cv_have_posix_times=yes mercury_cv_have_readline=yes mercury_cv_header=readline/history.h mercury_cv_header_define=MR_HAVE_READLINE_HISTORY_H mercury_cv_ieee_func_define=MR_HAVE_ISINFF mercury_cv_int_least16_type=short mercury_cv_int_least32_type=int mercury_cv_int_least64_type=long mercury_cv_is_bigender=no mercury_cv_is_littleender=yes mercury_cv_java=yes mercury_cv_javac_flags_for_heap_size=-J-Xmx256m mercury_cv_long_double_is_64_bit=no mercury_cv_low_tag_bits=2 mercury_cv_math_func_define=MR_HAVE_FESETROUND mercury_cv_microsoft_dotnet=no mercury_cv_microsoft_dotnet_library_version=1.0.2411.0 mercury_cv_msvcrt=no mercury_cv_normal_system_retval=yes mercury_cv_pc_access=no mercury_cv_profiling=yes mercury_cv_sigaction_field=sa_sigaction mercury_cv_sigcontext_struct=no mercury_cv_sigcontext_struct_2arg=no mercury_cv_sigcontext_struct_3arg=no mercury_cv_siginfo_t=yes mercury_cv_sockets_work=yes mercury_cv_sync_term_size=3 mercury_cv_termcap_lib=-lcurses mercury_cv_thread_local_storage=yes mercury_cv_unboxed_floats=no mercury_cv_use_digital_unix_threads=no mercury_cv_user_base_grade=no mercury_cv_with_cc= mercury_cv_with_readline=yes mercury_cv_word_type=long ## ----------------- ## ## Output variables. ## ## ----------------- ## ALLOW_UNDEFINED='' ALL_LOCAL_C_INCL_DIRS='' ALL_LOCAL_C_INCL_DIR_MMC_OPTS='' ALL_LOCAL_C_LIB_DIRS='' ALL_LOCAL_C_LIB_DIR_MMC_OPTS='' AR='ar' ARFLAGS='cr' AR_LIBFILE_OPT='' AS='x86_64-pc-linux-gnu-gcc -c -x assembler-with-cpp' BITS_PER_WORD='64' BOEHM_MISC_CFLAGS_FOR_THREADS='-DHBLKSIZE=32768 -DCPP_LOG_HBLKSIZE=15' BOOTSTRAP_MC='' BOOTSTRAP_MC_ARGS='--no-unboxed-float --conf-low-tag-bits 2 --bits-per-word 64 --bytes-per-word 8' BOOTSTRAP_MC_COMPILER='mmc' BYTES_PER_WORD='8' CC='x86_64-pc-linux-gnu-gcc' CFLAGS='-O' CFLAGS_FOR_ANSI='-ansi' CFLAGS_FOR_DEBUG='-g' CFLAGS_FOR_GOTOS='-fno-defer-pop -fno-function-cse -fno-gcse -fno-move-loop-invariants' CFLAGS_FOR_NO_STRICT_ALIASING='-fno-strict-aliasing' CFLAGS_FOR_OPT='-O2 -fomit-frame-pointer -fno-strict-aliasing' CFLAGS_FOR_PIC='-fPIC -DMR_PIC' CFLAGS_FOR_REGS='-fno-builtin -fno-omit-frame-pointer' CFLAGS_FOR_THREADS='-DMR_THREAD_SAFE -DLINUX_THREADS -D_THREAD_SAFE -D_REENTRANT' CFLAGS_FOR_WARNINGS='-Wall -Wwrite-strings -Wshadow -Wmissing-prototypes -Wno-unused -Wno-uninitialized -Wstrict-prototypes' CGIDIR='' CLI_INTERPRETER='' CONFIG_LIBDIR='/usr/lib/mercury' CONFIG_PREFIX='/usr' CPP='x86_64-pc-linux-gnu-gcc -E' CPPFLAGS=' -Iruntime -Iruntime/machdeps -Itrace ' CSC='' CSHPATH='no csh path' CYGPATH='echo' CYGPATHU='echo' C_COMPILER_TYPE='gcc_5_4_0' DEFAULT_GRADE='reg.gc' DEFAULT_LINKAGE='shared' DEFAULT_MERCURY_DEBUGGER_DOC='/usr/lib/mercury/mdb/mdb_doc' DEFAULT_MERCURY_DEBUGGER_INIT_DIR='/usr/lib/mercury/mdb' DEFAULT_XML_BROWSER_CMD='' DEFAULT_XML_TMP_FILENAME='' DEFS='-DHAVE_CONFIG_H' DEMANGLE='true' DL_LIBRARY='-ldl' DVIPS='/usr/bin/dvips' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_BOEHM_LARGE_CONFIG='-DLARGE_CONFIG' ENABLE_BOEHM_PARALLEL_MARK='-DPARALLEL_MARK' ENABLE_BOEHM_THREAD_LOCAL_ALLOC='-DTHREAD_LOCAL_ALLOC' ENABLE_BOEHM_USE_MUNMAP='' ENABLE_BOEHM_XOPEN_SOURCE='' ENABLE_DEEP_PROFILER='no' ENABLE_GCC_BACK_END='no' ERL='' ERLC='' ERLCFLAGS='' ERROR_UNDEFINED='-Wl,--no-undefined' EXEEXT='' EXE_RPATH_OPT='-Wl,-rpath,' EXE_RPATH_SEP=' -Wl,-rpath,' EXT_FOR_EXE='' EXT_FOR_LINK_WITH_PIC_OBJECTS='o' EXT_FOR_PIC_OBJECTS='pic_o' EXT_FOR_SHARED_LIB='so' FIX_PATH_FOR_CC='echo' FULLARCH='x86_64-pc-linux-gnu' GACUTIL='' GCC_PROG='x86_64-pc-linux-gnu-gcc' GCC_SRC_DIR='not_found' GETOPT_H_AVAILABLE='yes' GNU_MAKE='gmake' GRADE='reg.gc' GREP='/bin/grep' HAVE_ASM_LABELS='no' HAVE_BOXED_FLOATS='--no-unboxed-float' HAVE_DELAY_SLOT='' HOSTNAMECMD='/bin/hostname -f' ILASM='' INFO='/usr/bin/info' INSTALLABLE_PREFIX='yes' INSTALL_INFO='/usr/bin/install-info' JAR='/usr/bin/jar' JAVAC='/etc/java-config-2/current-system-vm/bin/javac' JAVAC_FLAGS_FOR_HEAP_SIZE='-J-Xmx256m' JAVA_INTERPRETER='/usr/bin/java' LDFLAGS='-Wl,-O1 -Wl,--as-needed' LDFLAGS_FOR_DEBUG='-g' LDFLAGS_FOR_THREADS='' LDFLAGS_FOR_TRACE='-rdynamic' LD_LIBFLAGS_FOR_DEBUG='-g' LD_LIBFLAGS_FOR_THREADS='' LD_LIBFLAGS_FOR_TRACE='' LD_STATIC_FLAGS='-static -Wl-defsym -Wl_DYNAMIC=0' LD_STRIP_FLAG='-s' LEX='flex' LEXLIB='-lfl' LEX_OUTPUT_ROOT='lex.yy' LIBDIR='/usr/lib/mercury' LIBGRADES='hlc.gc hlc.gc.trseg reg.gc reg.gc.memprof reg.gc.prof reg.gc.trseg reg.gc.trseg.debug' LIBGRADE_OPTS=' --libgrade hlc.gc --libgrade hlc.gc.trseg --libgrade reg.gc --libgrade reg.gc.memprof --libgrade reg.gc.prof --libgrade reg.gc.trseg --libgrade reg.gc.trseg.debug' LIBOBJS='' LIBS='' LIB_LIBPATH='-L' LIB_PREFIX='' LIB_SUFFIX='a' LINK_EXE='x86_64-pc-linux-gnu-gcc' LINK_LIB='-l' LINK_LIB_SUFFIX='' LINK_OPT_SEP='' LINK_SHARED_OBJ='x86_64-pc-linux-gnu-gcc -shared' LINK_SHARED_OBJ_SH='x86_64-pc-linux-gnu-gcc -shared' LN_S='ln -s' LOW_TAG_BITS='2' LTLIBOBJS='' LYNX='' MAKEINFO='/usr/bin/makeinfo' MATH_LIB='-lm' MCFLAGS_FOR_CC='' MKFIFO='/usr/bin/mkfifo' MKNOD='mknod' MKTEMP='/usr/bin/mktemp' MMC_INVOKE_CMD='exec' MMC_USE_SYMLINKS_OPT='' MR_BIG_ENDIAN='' MR_BZERO_NEEDS_STRINGS_HEADER='' MR_CAN_DO_PENDING_IO='' MR_DARWIN_SETJMP_WORKAROUND='' MR_DOUBLE_IS_64_BIT='' MR_FLOAT_IS_64_BIT='' MR_INTEGER_LENGTH_MODIFIER='' MR_INT_LEAST16_MAX='' MR_INT_LEAST16_TYPE='short' MR_INT_LEAST32_MAX='' MR_INT_LEAST32_TYPE='int' MR_INT_LEAST64_TYPE='long' MR_LITTLE_ENDIAN='' MR_LONG_DOUBLE_IS_64_BIT='' MR_UINT_LEAST16_MAX='' MR_UINT_LEAST32_MAX='' MR_WORD_TYPE='long' MS_AL='' MS_DOTNET_LIBRARY_VERSION='1.0.2411.0' MS_DOTNET_SDK_DIR='' MS_VISUALCPP_DIR='' NONSHARED_LIB_DIR='/usr/lib/nonshared' NSL_LIBRARY='-lnsl' NUM_REAL_R_REGS='2' NUM_REAL_R_TEMPS='0' OBJEXT='o' OBJFILE_OPT='-o ' OBJ_SUFFIX='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PDFTEX='/usr/bin/pdftex' PERL='/usr/bin/perl' PREFIX='/usr' RANLIB='x86_64-pc-linux-gnu-ranlib' RANLIBFLAGS='' READLINE_LIBRARIES='-lreadline -lcurses' RECONFIGURE_ARGS=' --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 --disable-gcc-back-end --disable-deep-profiler --disable-dotnet-grades --disable-erlang-grade --disable-java-grade --disable-debug-grades --disable-par-grades --enable-most-grades --with-readline' RESTRICTED_COMMAND_LINE_OPT='' SET_MACOSX_DEPLOYMENT_TARGET='' SHARED_LIBS='`x86_64-pc-linux-gnu-gcc -print-libgcc-file-name` $(MATH_LIB) -lc' SHARED_LIBS_SH='`x86_64-pc-linux-gnu-gcc -print-libgcc-file-name` $MATH_LIB -lc' SHELL='/bin/sh' SHLIB_INSTALL_NAME_FLAG='-install_name ' SHLIB_RPATH_OPT='-Wl,-rpath,' SHLIB_RPATH_SEP=' -Wl,-rpath,' SHLIB_USE_INSTALL_NAME='' SOCKET_LIBRARY='' SYNC_TERM_SIZE='3' TERMCAP_LIBRARY='-lcurses' TESTS_MDB_DOC='/var/tmp/portage/dev-lang/mercury-11.01/work/mercury-compiler-11.01/doc/mdb_doc' TESTS_MDB_INIT_DIR='/var/tmp/portage/dev-lang/mercury-11.01/work/mercury-compiler-11.01/scripts' TEXI2DVI='/usr/bin/texi2dvi' THREAD_LIBS='-lpthread -ldl' TRACE_BASE_LIBS_SYSTEM=' -lnsl -ldl' USE_DLLS='no' USE_MSVCRT='no' USING_MICROSOFT_CL_COMPILER='no' VERSION='11.01' XSLTPROC='/usr/bin/xsltproc' XUL_BROWSER='' YACC='bison -y' YFLAGS='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='/usr/share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-pc-linux-gnu' host_alias='x86_64-pc-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/share/info' libdir='/usr/lib64' libexecdir='${exec_prefix}/libexec' 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' sysconfdir='/etc' target_alias='' ## ------------------- ## ## File substitutions. ## ## ------------------- ## CANONICAL_GRADE='/var/tmp/portage/dev-lang/mercury-11.01/work/mercury-compiler-11.01/scripts/canonical_grade.sh-subr' CONFIGURE_HELP='/var/tmp/portage/dev-lang/mercury-11.01/work/mercury-compiler-11.01/configure.help' FINAL_GRADE_OPTIONS='/var/tmp/portage/dev-lang/mercury-11.01/work/mercury-compiler-11.01/scripts/final_grade_options.sh-subr' INIT_GRADE_OPTIONS='/var/tmp/portage/dev-lang/mercury-11.01/work/mercury-compiler-11.01/scripts/init_grade_options.sh-subr' MGNUC_FILE_OPTS='/var/tmp/portage/dev-lang/mercury-11.01/work/mercury-compiler-11.01/scripts/mgnuc_file_opts.sh-subr' PARSE_GRADE_OPTIONS='/var/tmp/portage/dev-lang/mercury-11.01/work/mercury-compiler-11.01/scripts/parse_grade_options.sh-subr' PARSE_ML_OPTIONS='/var/tmp/portage/dev-lang/mercury-11.01/work/mercury-compiler-11.01/scripts/parse_ml_options.sh-subr' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define MR_FULLARCH "x86_64-pc-linux-gnu" #define MR_VERSION "11.01" #define MR_MKFIFO "/usr/bin/mkfifo" #define MR_HOSTNAMECMD "/bin/hostname -f" #define MR_HAVE_SYSCONF 1 #define MR_HAVE_GETPAGESIZE 1 #define MR_HAVE_GETHOSTNAME 1 #define MR_HAVE_MPROTECT 1 #define MR_HAVE_MEMALIGN 1 #define MR_HAVE_POSIX_MEMALIGN 1 #define MR_HAVE_MEMMOVE 1 #define MR_HAVE_SIGACTION 1 #define MR_HAVE_SIGINTERRUPT 1 #define MR_HAVE_SETITIMER 1 #define MR_HAVE_SNPRINTF 1 #define MR_HAVE_VSNPRINTF 1 #define MR_HAVE_STRERROR 1 #define MR_HAVE_OPEN 1 #define MR_HAVE_CLOSE 1 #define MR_HAVE_DUP 1 #define MR_HAVE_DUP2 1 #define MR_HAVE_FDOPEN 1 #define MR_HAVE_FILENO 1 #define MR_HAVE_FSTAT 1 #define MR_HAVE_STAT 1 #define MR_HAVE_LSTAT 1 #define MR_HAVE_ISATTY 1 #define MR_HAVE_GETPID 1 #define MR_HAVE_SETPGID 1 #define MR_HAVE_FORK 1 #define MR_HAVE_EXECLP 1 #define MR_HAVE_WAIT 1 #define MR_HAVE_KILL 1 #define MR_HAVE_GRANTPT 1 #define MR_HAVE_UNLOCKPT 1 #define MR_HAVE_PTSNAME 1 #define MR_HAVE_TCGETATTR 1 #define MR_HAVE_TCSETATTR 1 #define MR_HAVE_IOCTL 1 #define MR_HAVE_ACCESS 1 #define MR_HAVE_SLEEP 1 #define MR_HAVE_OPENDIR 1 #define MR_HAVE_READDIR 1 #define MR_HAVE_CLOSEDIR 1 #define MR_HAVE_MKDIR 1 #define MR_HAVE_SYMLINK 1 #define MR_HAVE_READLINK 1 #define MR_HAVE_GETTIMEOFDAY 1 #define MR_HAVE_SETENV 1 #define MR_HAVE_PUTENV 1 #define MR_HAVE_POSIX_SPAWN 1 #define MR_HAVE_SCHED_SETAFFINITY 1 #define MR_HAVE_SCHED_GETCPU 1 #define MR_HAVE_SCHED_YIELD 1 #define MR_HAVE_MKSTEMP 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 MR_HAVE_UNISTD_H 1 #define MR_HAVE_SYS_WAIT_H 1 #define MR_HAVE_SYS_SIGNAL_H 1 #define MR_HAVE_UCONTEXT_H 1 #define MR_HAVE_ASM_SIGCONTEXT_H 1 #define MR_HAVE_SYS_PARAM_H 1 #define MR_HAVE_SYS_TIME_H 1 #define MR_HAVE_SYS_TIMES_H 1 #define MR_HAVE_SYS_TYPES_H 1 #define MR_HAVE_SYS_STAT_H 1 #define MR_HAVE_FCNTL_H 1 #define MR_HAVE_TERMIOS_H 1 #define MR_HAVE_SYS_IOCTL_H 1 #define MR_HAVE_SYS_STROPTS_H 1 #define MR_HAVE_DIRENT_H 1 #define MR_HAVE_GETOPT_H 1 #define MR_HAVE_MALLOC_H 1 #define MR_HAVE_SEMAPHORE_H 1 #define MR_HAVE_PTHREAD_H 1 #define MR_HAVE_TIME_H 1 #define MR_HAVE_SPAWN_H 1 #define MR_HAVE_FENV_H 1 #define MR_HAVE_SYS_MMAN_H 1 #define MR_HAVE_SYS_SEM_H 1 #define MR_HAVE_SCHED_H 1 #define MR_HAVE_UTMPX_H 1 #define MR_HAVE_FESETROUND 1 #define MR_SIGACTION_FIELD sa_sigaction #define MR_HAVE_SIGINFO 1 #define MR_HAVE_SIGINFO_T 1 #define MR_HAVE_SIGINFO 1 #define MR_WORD_TYPE long #define MR_INTEGER_LENGTH_MODIFIER "l" #define MR_INT_LEAST64_TYPE long #define MR_INT_LEAST32_TYPE int #define MR_INT_LEAST32_MAX INT_MAX #define MR_UINT_LEAST32_MAX UINT_MAX #define HAVE_DEV_T 1 #define HAVE_INO_T 1 #define MR_HAVE_DEV_T 1 #define MR_HAVE_INO_T 1 #define MR_INT_LEAST16_TYPE short #define MR_INT_LEAST16_MAX SHRT_MAX #define MR_UINT_LEAST16_MAX USHRT_MAX #define MR_LOW_TAG_BITS 2 #define MR_BYTES_PER_WORD 8 #define MR_SYNC_TERM_SIZE 3 #define MR_BITS_PER_WORD 64 #define MR_BOXED_FLOAT 1 #define MR_DOUBLE_IS_64_BIT 1 #define MR_LITTLE_ENDIAN 1 #define MR_HAVE_OCREAT_OEXCL 1 #define MR_CAN_DO_PENDING_IO 1 #define MR_DEEP_PROFILER_ENABLED 1 #define MR_HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1 #define MR_THREAD_LOCAL_STORAGE 1 #define MR_CANNOT_USE_STRUCTURE_ASSIGNMENT 1 #define MR_HAVE_POSIX_TIMES 1 #define MR_HAVE_ENVIRON 1 #define MR_HAVE_ISNAN 1 #define MR_HAVE_ISNANF 1 #define MR_HAVE_ISINF 1 #define MR_HAVE_ISINFF 1 #define MR_USE_EXTERNAL_DEBUGGER 1 #define MR_HAVE_DLFCN_H 1 #define MR_HAVE_DLOPEN 1 #define MR_HAVE_DLCLOSE 1 #define MR_HAVE_DLSYM 1 #define MR_HAVE_DLERROR 1 #define MR_HAVE_READLINE_READLINE_H 1 #define MR_HAVE_READLINE_HISTORY_H 1 #define YYTEXT_POINTER 1 configure: exit 0