2024-04-24 02:18 AEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000077mercuryBugpublic2009-12-01 01:57
Reportermichael_george_hart 
Assigned Tojuliensf 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000077: make install issues with mercury-compiler-rotd-2008-08-14
DescriptionSince I really don't know I report this as major

make install always end in failure

on OpenSUSe 10.3

Additional Information[ -d /usr/local/mercury-rotd-2008-08-14/lib/mercury/conf ] || mkdir -p /usr/local/mercury-rotd-2008-08-14/lib/mercury/conf
[ -d /usr/local/mercury-rotd-2008-08-14/lib/mercury/reconf/runtime ] || \
                mkdir -p /usr/local/mercury-rotd-2008-08-14/lib/mercury/reconf/runtime
cat `vpath_find mercury.c mercury_accurate_gc.c mercury_agc_debug.c mercury_atomic_ops.c mercury_backjump.c mercury_bootstrap.c mercury_builtin_types.c mercury_bitmap.c mercury_construct.c mercury_context.c mercury_debug.c mercury_deconstruct.c mercury_deep_copy.c mercury_deep_profiling.c mercury_dlist.c mercury_dummy.c mercury_engine.c mercury_file.c mercury_float.c mercury_getopt1.c mercury_getopt.c mercury_grade.c mercury_hash_table.c mercury_heap_profile.c mercury_ho_call.c mercury_label.c mercury_layout_util.c mercury_memory.c mercury_memory_handlers.c mercury_memory_zones.c mercury_minimal_model.c mercury_misc.c mercury_mm_own_stacks.c mercury_prof.c mercury_profiling_builtin.c mercury_prof_mem.c mercury_prof_time.c mercury_region.c mercury_regs.c mercury_reg_workarounds.c mercury_runtime_util.c mercury_signal.c mercury_stacks.c mercury_stack_layout.c mercury_stack_trace.c mercury_stm.c mercury_string.c mercury_tabling.c mercury_term_size.c mercury_thread.c mercury_timing.c mercury_trace_base.c mercury_trace_term.c mercury_trail.c mercury_type_desc.c mercury_type_info.c mercury_type_tables.c mercury_wrapper.c mercury_wsdeque.c` | grep '^INIT ' > mer_rt.init
cp `vpath_find mer_rt.init` /usr/local/mercury-rotd-2008-08-14/lib/mercury/modules/hlc.gc
cp `vpath_find libmer_rt.a \
                libmer_rt.so` \
                /usr/local/mercury-rotd-2008-08-14/lib/mercury/lib/hlc.gc
ranlib /usr/local/mercury-rotd-2008-08-14/lib/mercury/lib/hlc.gc/libmer_rt.a
gmake[2]: Leaving directory `/mnt/sde/home/XMan/Projects/Mecury/mercury-compiler-rotd-2008-08-14/install_grade_dir.hlc.gc/runtime'
gmake[2]: Entering directory `/mnt/sde/home/XMan/Projects/Mecury/mercury-compiler-rotd-2008-08-14/install_grade_dir.hlc.gc/library'
../Mmake.common:455: warning: undefined variable `mer_std.mhs'
../Mmake.common:458: warning: undefined variable `mer_std.mhs'
../Mmake.common:464: warning: undefined variable `mer_std.os'
/tmp/mmake.p15309:964: warning: undefined variable `mer_std.trans_opts'
/tmp/mmake.p15309:968: warning: undefined variable `mer_std.ms'
/tmp/mmake.p15309:976: warning: undefined variable `mer_std.ms'
/tmp/mmake.p15309:996: warning: undefined variable `mer_std.os'
/tmp/mmake.p15309:997: warning: undefined variable `mer_std.cs'
/tmp/mmake.p15309:998: warning: undefined variable `mer_std.ss'
/tmp/mmake.p15309:999: warning: undefined variable `mer_std.pic_ss'
/tmp/mmake.p15309:1000: warning: undefined variable `mer_std.ils'
/tmp/mmake.p15309:1001: warning: undefined variable `mer_std.javas'
/tmp/mmake.p15309:1157: warning: undefined variable `mer_std.os'
mmc --generate-dependencies --grade hlc.gc --mercury-linkage shared --flags LIB_FLAGS --flags INTER_FLAGS -R/usr/local/mercury-rotd-2008-08-14/lib/mercury/lib/hlc.gc -R/usr/local/mercury-rotd-2008-08-14/lib/mercury/lib --no-warn-nothing-exported --no-warn-unused-imports mer_std

*** Mercury runtime: caught segmentation violation ***
cause: address not mapped to object
address involved: (nil)
This may have been caused by a stack overflow, due to unbounded recursion.
exiting from signal handler
gmake[2]: *** [mer_std.depend] Error 1
gmake[2]: Leaving directory `/mnt/sde/home/XMan/Projects/Mecury/mercury-compiler-rotd-2008-08-14/install_grade_dir.hlc.gc/library'
To clean up from failed install, remove /mnt/sde/home/XMan/Projects/Mecury/mercury-compiler-rotd-2008-08-14/install_grade_dir.hlc.gc
gmake[1]: *** [install_grades] Error 1
gmake[1]: Leaving directory `/mnt/sde/home/XMan/Projects/Mecury/mercury-compiler-rotd-2008-08-14'
make: *** [install] Error 2
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000128

juliensf (administrator)

The problem here is that OpenSUSE 10.3 uses gcc 4.2 as its default C compiler
and that particular version of gcc is causing problems with the asm_fast grades.
(This is already the subject of bug 0000066).

As a workaround invoke configure with the following additional options:

    --with-llds-base-grade=reg
    --with-default-grade=hlc.gc

I've tried this and the installation process continues beyond the point reached above.
(Note that this results in a somewhat slower version of the Mercury compiler, so
you may wish to re-compile the entire system in the hlc.gc grade if that becomes
important.)

~0000129

michael_george_hart (reporter)

I did as was recommended,

./configure --with-llds-base-grade=reg --with-default-grade=hlc.gc


but this time with this time with "mercury-compiler-rotd-2008-08-16"

then I did
>make
...
>su
...
>make install
..
and got the following; which looks like what I was getting before
cp `vpath_find mer_rt.init` /usr/local/mercury-rotd-2008-08-16/lib/mercury/modules/hlc.gc
cp `vpath_find libmer_rt.a \
                libmer_rt.so` \
                /usr/local/mercury-rotd-2008-08-16/lib/mercury/lib/hlc.gc
ranlib /usr/local/mercury-rotd-2008-08-16/lib/mercury/lib/hlc.gc/libmer_rt.a
gmake[2]: Leaving directory `/mnt/sde/home/XMan/Projects/Mecury/mercury-compiler-rotd-2008-08-16/install_grade_dir.hlc.gc/runtime'
gmake[2]: Entering directory `/mnt/sde/home/XMan/Projects/Mecury/mercury-compiler-rotd-2008-08-16/install_grade_dir.hlc.gc/library'
../Mmake.common:455: warning: undefined variable `mer_std.mhs'
../Mmake.common:458: warning: undefined variable `mer_std.mhs'
../Mmake.common:464: warning: undefined variable `mer_std.os'
/tmp/mmake.L24133:964: warning: undefined variable `mer_std.trans_opts'
/tmp/mmake.L24133:968: warning: undefined variable `mer_std.ms'
/tmp/mmake.L24133:976: warning: undefined variable `mer_std.ms'
/tmp/mmake.L24133:996: warning: undefined variable `mer_std.os'
/tmp/mmake.L24133:997: warning: undefined variable `mer_std.cs'
/tmp/mmake.L24133:998: warning: undefined variable `mer_std.ss'
/tmp/mmake.L24133:999: warning: undefined variable `mer_std.pic_ss'
/tmp/mmake.L24133:1000: warning: undefined variable `mer_std.ils'
/tmp/mmake.L24133:1001: warning: undefined variable `mer_std.javas'
/tmp/mmake.L24133:1157: warning: undefined variable `mer_std.os'
mmc --generate-dependencies --grade hlc.gc --mercury-linkage shared --flags LIB_FLAGS --flags INTER_FLAGS -R/usr/local/mercury-rotd-2008-08-16/lib/mercury/lib/hlc.gc -R/usr/local/mercury-rotd-2008-08-16/lib/mercury/lib --no-warn-nothing-exported --no-warn-unused-imports mer_std
GC Warning: Out of Memory! Returning NIL!

*** Mercury runtime: caught segmentation violation ***
cause: address not mapped to object
address involved: (nil)
This may have been caused by a stack overflow, due to unbounded recursion.
exiting from signal handler
gmake[2]: *** [mer_std.depend] Error 1
gmake[2]: Leaving directory `/mnt/sde/home/XMan/Projects/Mecury/mercury-compiler-rotd-2008-08-16/install_grade_dir.hlc.gc/library'
To clean up from failed install, remove /mnt/sde/home/XMan/Projects/Mecury/mercury-compiler-rotd-2008-08-16/install_grade_dir.hlc.gc
gmake[1]: *** [install_grades] Error 1
gmake[1]: Leaving directory `/mnt/sde/home/XMan/Projects/Mecury/mercury-compiler-rotd-2008-08-16'
make: *** [install] Error 2

~0000130

juliensf (administrator)

Could you please send us the file config.log from the top-level of the source tree.

~0000131

michael_george_hart (reporter)

config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

  $ ./configure --with-llds-base-grade=reg --with-default-grade=hlc.gc

## --------- ##
## Platform. ##
## --------- ##

hostname = XMan-3
uname -m = x86_64
uname -r = 2.6.22.18-0.2-default
uname -s = Linux
uname -v = 0000001 SMP 2008-06-09 13:53:20 +0200

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/mercury-rotd-2008-08-16/bin
PATH: /opt/kde3/bin
PATH: /usr/local/mercury-rotd-2008-08-14/bin
PATH: /home/XMan/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin
PATH: /usr/lib/qt3/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1489: checking build system type
configure:1507: result: x86_64-unknown-linux-gnu
configure:1515: checking host system type
configure:1529: result: x86_64-unknown-linux-gnu
configure:1579: checking for cygpath
configure:1606: result: echo
configure:1615: checking for cygpath
configure:1642: result: echo
configure:1741: checking for mmc
configure:1759: found /usr/local/mercury-rotd-2008-08-16/bin/mmc
configure:1771: result: /usr/local/mercury-rotd-2008-08-16/bin/mmc
configure:1779: checking whether the above mmc works and is sufficiently recent
/usr/local/mercury-rotd-2008-08-16/bin/mmc conftest

*** Mercury runtime: caught segmentation violation ***
cause: address not mapped to object
address involved: (nil)
This may have been caused by a stack overflow, due to unbounded recursion.
exiting from signal handler
configure:1938: result: no
configure:2009: checking whether to enable large heaps when using conservative GC
configure:2013: result: yes
configure:2045: checking whether to enable unmapping of unused pages when using Boehm GC
configure:2055: result: no
configure:2083: checking for GCC source directory
configure:2117: result: not_found
configure:2119: checking whether to enable the GCC back-end interface
configure:2162: result: no
configure:2176: checking for gmake
configure:2192: found /usr/bin/gmake
configure:2202: result: gmake
configure:2239: checking for mkfifo
configure:2257: found /usr/bin/mkfifo
configure:2269: result: /usr/bin/mkfifo
configure:2363: checking for mktemp
configure:2381: found /bin/mktemp
configure:2393: result: /bin/mktemp
configure:2422: checking for install-info
configure:2440: found /usr/bin/install-info
configure:2452: result: /usr/bin/install-info
configure:2472: checking for texi2dvi
configure:2490: found /usr/bin/texi2dvi
configure:2502: result: /usr/bin/texi2dvi
configure:2515: checking for pdftex
configure:2533: found /usr/bin/pdftex
configure:2545: result: /usr/bin/pdftex
configure:2556: checking for lynx
configure:2589: result: no
configure:2597: checking for dvips
configure:2615: found /usr/bin/dvips
configure:2627: result: /usr/bin/dvips
configure:2638: checking for makeinfo
configure:2656: found /usr/bin/makeinfo
configure:2668: result: /usr/bin/makeinfo
configure:2679: checking for info
configure:2697: found /usr/bin/info
configure:2709: result: /usr/bin/info
configure:2720: checking for perl
configure:2738: found /usr/bin/perl
configure:2750: result: /usr/bin/perl
configure:2761: checking for hostname
configure:2779: found /bin/hostname
configure:2791: result: /bin/hostname
configure:2866: checking for gcc
configure:2882: found /usr/bin/gcc
configure:2892: result: gcc
configure:3136: checking for C compiler version
configure:3139: gcc --version </dev/null >&5
gcc (GCC) 4.2.1 (SUSE Linux)
Copyright (C) 2007 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:3142: $? = 0
configure:3144: gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.2.1 (SUSE Linux)
configure:3147: $? = 0
configure:3149: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:3152: $? = 1
configure:3175: checking for C compiler default output file name
configure:3178: gcc conftest.c >&5
configure:3181: $? = 0
configure:3227: result: a.out
configure:3232: checking whether the C compiler works
configure:3238: ./a.out
configure:3241: $? = 0
configure:3258: result: yes
configure:3265: checking whether we are cross compiling
configure:3267: result: no
configure:3270: checking for suffix of executables
configure:3272: gcc -o conftest conftest.c >&5
configure:3275: $? = 0
configure:3300: result:
configure:3306: checking for suffix of object files
configure:3327: gcc -c conftest.c >&5
configure:3330: $? = 0
configure:3352: result: o
configure:3356: checking whether we are using the GNU C compiler
configure:3380: gcc -c conftest.c >&5
configure:3386: $? = 0
configure:3389: test -z || test ! -s conftest.err
configure:3392: $? = 0
configure:3395: test -s conftest.o
configure:3398: $? = 0
configure:3411: result: yes
configure:3417: checking whether gcc accepts -g
configure:3438: gcc -c -g conftest.c >&5
configure:3444: $? = 0
configure:3447: test -z || test ! -s conftest.err
configure:3450: $? = 0
configure:3453: test -s conftest.o
configure:3456: $? = 0
configure:3467: result: yes
configure:3484: checking for gcc option to accept ANSI C
configure:3554: gcc -c -g -O2 conftest.c >&5
configure:3560: $? = 0
configure:3563: test -z || test ! -s conftest.err
configure:3566: $? = 0
configure:3569: test -s conftest.o
configure:3572: $? = 0
configure:3590: result: none needed
configure:3608: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3614: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3746: checking whether C compiler needs -no-cpp-precomp
configure:3764: result: no
configure:3871: checking whether we can use -fno-strict-aliasing
configure:3876: result: yes
configure:3879: checking whether we need to use -fno-strict-aliasing
configure:3890: result: yes
configure:3916: checking whether to pass -I/usr/local/include to C compiler
configure:3925: result: no
configure:3945: checking whether to pass -L/usr/local/lib to the linker
configure:3955: result: no
configure:3975: checking how to run the C preprocessor
configure:4010: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:4016: $? = 0
configure:4048: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:4054: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MR_FULLARCH "x86_64-unknown-linux-gnu"
| #define MR_VERSION "rotd-2008-08-16"
| #define MR_MKFIFO "/usr/bin/mkfifo"
| #define MR_HOSTNAMECMD "/bin/hostname -f"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4093: result: gcc -E
configure:4117: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:4123: $? = 0
configure:4155: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:4161: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MR_FULLARCH "x86_64-unknown-linux-gnu"
| #define MR_VERSION "rotd-2008-08-16"
| #define MR_MKFIFO "/usr/bin/mkfifo"
| #define MR_HOSTNAMECMD "/bin/hostname -f"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4207: checking for egrep
configure:4217: result: grep -E
configure:4222: checking for use of a Microsoft C compiler
configure:4252: result: no
configure:4388: checking for ranlib
configure:4404: found /usr/bin/ranlib
configure:4415: result: ranlib
configure:4466: checking for sin in -lm
configure:4496: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c -lm >&5
conftest.c:20: warning: conflicting types for built-in function 'sin'
configure:4502: $? = 0
configure:4505: test -z || test ! -s conftest.err
configure:4508: $? = 0
configure:4511: test -s conftest
configure:4514: $? = 0
configure:4527: result: yes
configure:4584: checking for ilasm
configure:4602: found /usr/bin/ilasm
configure:4614: result: /usr/bin/ilasm
configure:4623: checking for gacutil
configure:4641: found /usr/bin/gacutil
configure:4653: result: /usr/bin/gacutil
configure:4661: checking for Microsoft.NET Framework SDK
configure:4679: result: yes
configure:4690: checking for csc
configure:4723: result: no
configure:4690: checking for cscc
configure:4723: result: no
configure:4783: checking for al
configure:4801: found /usr/bin/al
configure:4813: result: /usr/bin/al
configure:4846: checking for jikes
configure:4879: result: no
configure:4846: checking for javac
configure:4864: found /usr/bin/javac
configure:4876: result: /usr/bin/javac
configure:4891: checking for java
configure:4924: result: no
configure:4930: checking for jar
configure:4948: found /usr/bin/jar
configure:4960: result: /usr/bin/jar
configure:5096: checking for erlc
configure:5129: result: no
configure:5191: checking for erl
configure:5224: result: no
configure:5253: checking for sysconf
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for getpagesize
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for gethostname
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for mprotect
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for memalign
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for posix_memalign
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for memmove
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
conftest.c:43: warning: conflicting types for built-in function 'memmove'
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for sigaction
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for siginterrupt
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for setitimer
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for snprintf
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
conftest.c:47: warning: conflicting types for built-in function 'snprintf'
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for _snprintf
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
/tmp/cce9PdSY.o: In function `main':
conftest.c:(.text+0x7): undefined reference to `_snprintf'
/tmp/cce9PdSY.o:(.data+0x0): undefined reference to `_snprintf'
collect2: ld returned 1 exit status
configure:5316: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MR_FULLARCH "x86_64-unknown-linux-gnu"
| #define MR_VERSION "rotd-2008-08-16"
| #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 <limits.h> declares _snprintf.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define _snprintf innocuous__snprintf
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char _snprintf (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef _snprintf
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| 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
| #else
| char (*f) () = _snprintf;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != _snprintf;
| ;
| return 0;
| }
configure:5340: result: no
configure:5253: checking for vsnprintf
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
conftest.c:48: warning: conflicting types for built-in function 'vsnprintf'
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for _vsnprintf
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
/tmp/ccCZIMib.o: In function `main':
conftest.c:(.text+0x7): undefined reference to `_vsnprintf'
/tmp/ccCZIMib.o:(.data+0x0): undefined reference to `_vsnprintf'
collect2: ld returned 1 exit status
configure:5316: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MR_FULLARCH "x86_64-unknown-linux-gnu"
| #define MR_VERSION "rotd-2008-08-16"
| #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 <limits.h> declares _vsnprintf.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define _vsnprintf innocuous__vsnprintf
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char _vsnprintf (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef _vsnprintf
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| 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
| #else
| char (*f) () = _vsnprintf;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != _vsnprintf;
| ;
| return 0;
| }
configure:5340: result: no
configure:5253: checking for strerror
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for open
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for close
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for dup
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for dup2
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for fdopen
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for fileno
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for fstat
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for stat
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for lstat
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for isatty
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for getpid
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for setpgid
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for fork
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
conftest.c:62: warning: conflicting types for built-in function 'fork'
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for execlp
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
conftest.c:63: warning: conflicting types for built-in function 'execlp'
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for wait
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for kill
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for grantpt
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for unlockpt
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for ptsname
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for tcgetattr
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for tcsetattr
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for ioctl
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for access
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for sleep
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for opendir
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for readdir
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for closedir
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for mkdir
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for symlink
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for readlink
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for gettimeofday
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for setenv
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for putenv
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5253: checking for _putenv
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
/tmp/ccs20b76.o: In function `main':
conftest.c:(.text+0x7): undefined reference to `_putenv'
/tmp/ccs20b76.o:(.data+0x0): undefined reference to `_putenv'
collect2: ld returned 1 exit status
configure:5316: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MR_FULLARCH "x86_64-unknown-linux-gnu"
| #define MR_VERSION "rotd-2008-08-16"
| #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 <limits.h> declares _putenv.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define _putenv innocuous__putenv
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char _putenv (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef _putenv
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| 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
| #else
| char (*f) () = _putenv;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != _putenv;
| ;
| return 0;
| }
configure:5340: result: no
configure:5253: checking for posix_spawn
configure:5310: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5316: $? = 0
configure:5319: test -z || test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5378: checking for ANSI C header files
configure:5403: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5409: $? = 0
configure:5412: test -z || test ! -s conftest.err
configure:5415: $? = 0
configure:5418: test -s conftest.o
configure:5421: $? = 0
configure:5510: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
conftest.c: In function 'main':
conftest.c:77: warning: incompatible implicit declaration of built-in function 'exit'
configure:5513: $? = 0
configure:5515: ./conftest
configure:5518: $? = 0
configure:5533: result: yes
configure:5557: checking for sys/types.h
configure:5573: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5579: $? = 0
configure:5582: test -z || test ! -s conftest.err
configure:5585: $? = 0
configure:5588: test -s conftest.o
configure:5591: $? = 0
configure:5602: result: yes
configure:5557: checking for sys/stat.h
configure:5573: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5579: $? = 0
configure:5582: test -z || test ! -s conftest.err
configure:5585: $? = 0
configure:5588: test -s conftest.o
configure:5591: $? = 0
configure:5602: result: yes
configure:5557: checking for stdlib.h
configure:5573: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5579: $? = 0
configure:5582: test -z || test ! -s conftest.err
configure:5585: $? = 0
configure:5588: test -s conftest.o
configure:5591: $? = 0
configure:5602: result: yes
configure:5557: checking for string.h
configure:5573: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5579: $? = 0
configure:5582: test -z || test ! -s conftest.err
configure:5585: $? = 0
configure:5588: test -s conftest.o
configure:5591: $? = 0
configure:5602: result: yes
configure:5557: checking for memory.h
configure:5573: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5579: $? = 0
configure:5582: test -z || test ! -s conftest.err
configure:5585: $? = 0
configure:5588: test -s conftest.o
configure:5591: $? = 0
configure:5602: result: yes
configure:5557: checking for strings.h
configure:5573: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5579: $? = 0
configure:5582: test -z || test ! -s conftest.err
configure:5585: $? = 0
configure:5588: test -s conftest.o
configure:5591: $? = 0
configure:5602: result: yes
configure:5557: checking for inttypes.h
configure:5573: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5579: $? = 0
configure:5582: test -z || test ! -s conftest.err
configure:5585: $? = 0
configure:5588: test -s conftest.o
configure:5591: $? = 0
configure:5602: result: yes
configure:5557: checking for stdint.h
configure:5573: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5579: $? = 0
configure:5582: test -z || test ! -s conftest.err
configure:5585: $? = 0
configure:5588: test -s conftest.o
configure:5591: $? = 0
configure:5602: result: yes
configure:5557: checking for unistd.h
configure:5573: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5579: $? = 0
configure:5582: test -z || test ! -s conftest.err
configure:5585: $? = 0
configure:5588: test -s conftest.o
configure:5591: $? = 0
configure:5602: result: yes
configure:5625: checking for unistd.h
configure:5630: result: yes
configure:5634: checking sys/wait.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking sys/wait.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for sys/wait.h
configure:5756: result: yes
configure:5634: checking sys/siginfo.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
conftest.c:106:25: error: sys/siginfo.h: No such file or directory
configure:5652: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MR_FULLARCH "x86_64-unknown-linux-gnu"
| #define MR_VERSION "rotd-2008-08-16"
| #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 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 <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/siginfo.h>
configure:5674: result: no
configure:5678: checking sys/siginfo.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
conftest.c:72:25: error: sys/siginfo.h: No such file or directory
configure:5694: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MR_FULLARCH "x86_64-unknown-linux-gnu"
| #define MR_VERSION "rotd-2008-08-16"
| #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 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 <sys/siginfo.h>
configure:5714: result: no
configure:5749: checking for sys/siginfo.h
configure:5756: result: no
configure:5634: checking sys/signal.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking sys/signal.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for sys/signal.h
configure:5756: result: yes
configure:5634: checking ucontext.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking ucontext.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for ucontext.h
configure:5756: result: yes
configure:5634: checking asm/sigcontext.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking asm/sigcontext.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for asm/sigcontext.h
configure:5756: result: yes
configure:5634: checking sys/param.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking sys/param.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for sys/param.h
configure:5756: result: yes
configure:5634: checking sys/time.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking sys/time.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for sys/time.h
configure:5756: result: yes
configure:5634: checking sys/times.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking sys/times.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for sys/times.h
configure:5756: result: yes
configure:5625: checking for sys/types.h
configure:5630: result: yes
configure:5625: checking for sys/stat.h
configure:5630: result: yes
configure:5634: checking fcntl.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking fcntl.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for fcntl.h
configure:5756: result: yes
configure:5634: checking termios.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking termios.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for termios.h
configure:5756: result: yes
configure:5634: checking sys/ioctl.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking sys/ioctl.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for sys/ioctl.h
configure:5756: result: yes
configure:5634: checking sys/stropts.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking sys/stropts.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for sys/stropts.h
configure:5756: result: yes
configure:5634: checking windows.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
conftest.c:118:21: error: windows.h: No such file or directory
configure:5652: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MR_FULLARCH "x86_64-unknown-linux-gnu"
| #define MR_VERSION "rotd-2008-08-16"
| #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 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 <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <windows.h>
configure:5674: result: no
configure:5678: checking windows.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
conftest.c:84:21: error: windows.h: No such file or directory
configure:5694: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MR_FULLARCH "x86_64-unknown-linux-gnu"
| #define MR_VERSION "rotd-2008-08-16"
| #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 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 <windows.h>
configure:5714: result: no
configure:5749: checking for windows.h
configure:5756: result: no
configure:5634: checking dirent.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking dirent.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for dirent.h
configure:5756: result: yes
configure:5634: checking getopt.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking getopt.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for getopt.h
configure:5756: result: yes
configure:5634: checking malloc.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking malloc.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for malloc.h
configure:5756: result: yes
configure:5634: checking semaphore.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking semaphore.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for semaphore.h
configure:5756: result: yes
configure:5634: checking pthread.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking pthread.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for pthread.h
configure:5756: result: yes
configure:5634: checking time.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking time.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for time.h
configure:5756: result: yes
configure:5634: checking spawn.h usability
configure:5646: gcc -c -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5652: $? = 0
configure:5655: test -z || test ! -s conftest.err
configure:5658: $? = 0
configure:5661: test -s conftest.o
configure:5664: $? = 0
configure:5674: result: yes
configure:5678: checking spawn.h presence
configure:5688: gcc -E -Iruntime -Iruntime/machdeps -Itrace conftest.c
configure:5694: $? = 0
configure:5714: result: yes
configure:5749: checking for spawn.h
configure:5756: result: yes
configure:5944: checking for `sigaction' field name
configure:5993: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
configure:5996: $? = 0
configure:5998: ./conftest
configure:6001: $? = 0
configure:6016: result: sa_sigaction
configure:6035: checking for working `sigcontext_struct' in second arg
configure:6091: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
In file included from /usr/include/asm/sigcontext.h:5,
                 from conftest.c:103:
/usr/include/asm-x86_64/sigcontext.h:9: error: redefinition of 'struct _fpstate'
/usr/include/asm-x86_64/sigcontext.h:23: error: redefinition of 'struct sigcontext'
conftest.c: In function 'main':
conftest.c:120: warning: incompatible implicit declaration of built-in function 'exit'
conftest.c: In function 'handler':
conftest.c:125: warning: cast to pointer from integer of different size
conftest.c:127: warning: incompatible implicit declaration of built-in function 'exit'
conftest.c:129: warning: incompatible implicit declaration of built-in function 'exit'
configure:6094: $? = 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 MR_FULLARCH "x86_64-unknown-linux-gnu"
| #define MR_VERSION "rotd-2008-08-16"
| #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 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_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 <signal.h>
| #undef __KERNEL__
|
| #ifdef MR_HAVE_ASM_SIGCONTEXT_H
| #include <asm/sigcontext.h>
| #endif
|
| #include "mercury_faultaddr.h"
|
| #include <stdio.h>
|
| 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:6114: result: no
configure:6120: checking for working `sigcontext_struct' in third arg
configure:6178: gcc -o conftest -O -Iruntime -Iruntime/machdeps -Itrace conftest.c >&5
In file included from /usr/include/asm/sigcontext.h:5,
                 from conftest.c:103:
/usr/include/asm-x86_64/sigcontext.h:9: error: redefinition of 'struct _fpstate'
/usr/include/asm-x86_64/sigcontext.h:23: error: redefinition of 'struct sigcontext'
conftest.c: In function 'main':
conftest.c:121: warning: incompatible implicit declaration of built-in function 'exit'
conftest.c: In function 'handler':
conftest.c:126: warning: cast to pointer from integer of different size
conftest.c:128: warning: incompatible implicit declaration of built-in function 'exit'
conftest.c:130:

~0000132

pbone (administrator)

I think that the options

$ ./configure --with-llds-base-grade=reg --with-default-grade=hlc.gc

don't enable the garbage collector for the complier's grade, and hence the compiler now runs out of memory. The original problem is probably still the 64bit issue. Try with:

$ ./configure --with-llds-base-grade=reg.gc --with-default-grade=hlc.gc

Thanks.

~0000133

wangp (developer)

Last edited: 2008-08-19 11:07

--with-llds-base-grade doesn't expect ".gc"

The address space limit might be too small. Check with "ulimit -v" or try "ulimit -v unlimited".

Another thing to try is ./configure --enable-gc-munmap, then `export MERCURY_OPTIONS="--boehm-gc-munmap"' before making. Might help.

~0000134

juliensf (administrator)

Ah okay, I was using the x86 version of OpenSUSE 10.3 not the x86_86 version.
(It appears to be fine on the former except for the gcc 4.2 issue).

~0000135

michael_george_hart (reporter)

Followed your last set or recommendation to the letter and I get the same

make install failure

I was looking forward in using the Mercury language over PROLOG or HASKELL.

Hopefully someone can come up with a solution soon to simply compile and install the system. Any other ideas I should be trying? I find it very strange that I should be getting stack overflows when the RAM on this machine is 8 GB. Could anyone give me a better idea of what is going on? Perhaps I can help

~0000136

juliensf (administrator)

The two most likely explanations for what is going on are:

(1) the way Mercury uses one or GNU C extension is conflicting with
some of the optimisations used by gcc on that platform.

or (2) there is some problem with x86_64/SUSE 10.3 and the version of the Boehm GC
that Mercury uses. (A quick search on the web indicates that this is a possibility.)

Let's try dealing with (1) first. Doing the following will disable the the use of any GNU C extensions
plus any optimisations which may be causing problems.

Create a file named Mmake.params at the top-level of the source tree (in the same directory
as the configure script.) The file should contain the following line:

    EXTRA_CFLAGS=-O0

Invoke configure (in a freshly unpacked source distribution) with the following options:

    --with-llds-base-grade=none
    --with-default-grade=hlc.gc

Does that work?

~0000137

michael_george_hart (reporter)

OK Great!!!

I added EXTRA_CFLAGS=-O0 to the created file Mmake.params and ran
./configure --with-llds-base-grade=none --with-default-grade=hlc.gc
make
make install
And the build ran to completion... Fantastic...

Next I took mercury-compiler-rotd-2008-08-18-unstable.tar.gz and this time set EXTRA_CFLAGS=-O3
./configure
make
make install
That ended in the usual install failure.

Did the same again running configure with the recommended parameters
./configure --with-llds-base-grade=none --with-default-grade=hlc.gc
The make install ran to completion.

So now I can start to experiment and hopefully build some QT/KDE application I have in mind

Anyway not being yet familar with your product what exactly did the "--with-llds-base-grade=none --with-default-grade=hlc.gc" do?
What is a grade?


Built some sample application and they all worked so I guess you can close this issues now?

Thanks

~0000145

subw (reporter)

The workaround described in 0000136 worked for me on Fedora 9 on X86_64 with GCC 4.3, or at least I was able to build and run the Hello World from the Mercury tutorial.

Building took quite long (namely make install), but not exceedingly so compared to, say, GHC.


Would it make sense to try to build again now with different settings to make Mercury faster? (And which settings would those be?)

~0000148

juliensf (administrator)

You could build a faster version of the Mercury compiler by rebuilding
from the source in CVS using the hlc.gc grade. You will need an existing
Mercury compiler in your PATH to do this.

(1) Check out the sources from CVS (the instructions for doing so
are here <http://www.mercury.csse.unimelb.edu.au/information/developers/remote_cvs.html>)

(2) Create a file named Mmake.params at the top-level of the freshly
checked out source tree. Put the following line in it:

    GRADE=hlc.gc

(3) invoke configure with the following:

   ./configure --with-default-grade=hlc.gc --enable-libgrades=hlc.gc

plus any other options, such as --prefix, that you would usually use.

(4) Do make and make install

This should be the compiler in the hlc.gc grade, which shouldn't have the same
problems with gcc as the C with the low-level backend.

You can install the libraries in further grades by appending them to
the list given to the --enable-libgrades (using commas as separators).
Note that grades using the low-level C backend (those with base grade
asm_fast, reg, or none won't work due to the problems with gcc 4.2 -- which
means that debugging and deep profiling won't work unless you have the original
workaround in place.)

~0000169

mgiuca (reporter)

Just reporting the same issue and the workaround works. I am on Ubuntu 8.10, 32-bit.

I ran
./configure --disable-most-grades

Then ran make and make install. Make install crashes with a segfault the *first* time mmc is called. Even running the built version of mmc from the command-line with no arguments still causes it to segfault.

For good measure, I tried this with gcc-3.4 and gcc-4.3.

I then took your advice and ran with "--with-default-grade=hlc.gc --with-llds-base-grade=none" and it built fine on both versions of GCC.

I have full logs for both runs (available on request), but I threw away the binaries. I can rebuild them if required.

~0000221

wangp (developer)

Another gcc 4 thing.
+Notes

-Issue History
Date Modified Username Field Change
2008-08-16 05:06 michael_george_hart New Issue
2008-08-18 18:41 juliensf Note Added: 0000128
2008-08-18 18:41 juliensf Status new => closed
2008-08-18 18:42 juliensf Resolution open => duplicate
2008-08-18 18:42 juliensf Relationship added duplicate of 0000066
2008-08-18 18:42 juliensf Duplicate ID 0 => 66
2008-08-18 18:42 juliensf Status closed => resolved
2008-08-18 18:42 juliensf Assigned To => juliensf
2008-08-19 02:23 michael_george_hart Status resolved => feedback
2008-08-19 02:23 michael_george_hart Resolution duplicate => reopened
2008-08-19 02:23 michael_george_hart Note Added: 0000129
2008-08-19 02:36 juliensf Note Added: 0000130
2008-08-19 02:53 juliensf Relationship deleted 0000066
2008-08-19 07:30 michael_george_hart Note Added: 0000131
2008-08-19 10:36 pbone Note Added: 0000132
2008-08-19 11:06 wangp Note Added: 0000133
2008-08-19 11:07 wangp Note Edited: 0000133
2008-08-19 13:55 juliensf Note Added: 0000134
2008-08-20 01:27 michael_george_hart Note Added: 0000135
2008-08-20 01:53 juliensf Note Added: 0000136
2008-08-20 06:34 michael_george_hart Note Added: 0000137
2008-09-03 05:06 subw Note Added: 0000145
2008-09-04 19:13 juliensf Note Added: 0000148
2009-06-02 16:44 mgiuca Note Added: 0000169
2009-12-01 01:57 wangp Note Added: 0000221
2009-12-01 01:57 wangp Status feedback => resolved
2009-12-01 01:57 wangp Resolution reopened => fixed
2009-12-01 01:57 wangp Duplicate ID 66 => 0
+Issue History