This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by OpenPA configure 1.0.2, which was generated by GNU Autoconf 2.63. Invocation command line was $ /MPICH/Source/mpich2-1.4.1p1/src/openpa/configure --with-atomic-primitives=auto_allow_emulation CC=gcc CXX=g++ --disable-f77 --disable-fc --prefix=/MPICH/mpich2-install/ --disable-option-checking ## --------- ## ## Platform. ## ## --------- ## hostname = zn-dv-133 uname -m = i86pc uname -r = 5.10 uname -s = SunOS uname -v = Generic_142910-17 /usr/bin/uname -p = i386 /bin/uname -X = System = SunOS Node = zn-dv-133 Release = 5.10 KernelID = Generic_142910-17 Machine = i86pc BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 1 /bin/arch = i86pc /usr/bin/arch -k = i86pc /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/mysql/lib PATH: /usr/local/mysql/include PATH: /usr/local/mysql PATH: /usr/local/ssl/lib PATH: /usr/local/ssl/include PATH: /usr/local/ssl PATH: /usr/local/bin/ PATH: /opt/SUNWspro/bin PATH: /usr/sbin PATH: /usr/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2093: checking for a BSD-compatible install configure:2161: result: confdb/install-sh -c configure:2172: checking whether build environment is sane configure:2232: result: yes configure:2373: checking for a thread-safe mkdir -p configure:2412: result: confdb/install-sh -c -d configure:2425: checking for gawk configure:2455: result: no configure:2425: checking for mawk configure:2455: result: no configure:2425: checking for nawk configure:2441: found /usr/bin/nawk configure:2452: result: nawk configure:2463: checking whether make sets $(MAKE) configure:2485: result: yes configure:2603: checking build system type configure:2621: result: i386-pc-solaris2.10 configure:2643: checking host system type configure:2658: result: i386-pc-solaris2.10 configure:2692: checking for style of include used by make configure:2720: result: GNU configure:2790: checking for gcc configure:2817: result: gcc configure:3049: checking for C compiler version configure:3057: gcc --version >&5 gcc (GCC) 3.4.6 Copyright (C) 2006 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:3061: $? = 0 configure:3068: gcc -v >&5 Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.6 configure:3072: $? = 0 configure:3079: gcc -V >&5 gcc: `-V' option must have argument configure:3083: $? = 1 configure:3106: checking for C compiler default output file name configure:3128: gcc conftest.c >&5 configure:3132: $? = 0 configure:3170: result: a.out configure:3189: checking whether the C compiler works configure:3199: ./a.out configure:3203: $? = 0 configure:3222: result: yes configure:3229: checking whether we are cross compiling configure:3231: result: no configure:3234: checking for suffix of executables configure:3241: gcc -o conftest conftest.c >&5 configure:3245: $? = 0 configure:3271: result: configure:3277: checking for suffix of object files configure:3303: gcc -c conftest.c >&5 configure:3307: $? = 0 configure:3332: result: o configure:3336: checking whether we are using the GNU C compiler configure:3365: gcc -c conftest.c >&5 configure:3372: $? = 0 configure:3389: result: yes configure:3398: checking whether gcc accepts -g configure:3428: gcc -c -g conftest.c >&5 configure:3435: $? = 0 configure:3536: result: yes configure:3553: checking for gcc option to accept ISO C89 configure:3627: gcc -c conftest.c >&5 configure:3634: $? = 0 configure:3657: result: none needed configure:3677: checking dependency style of gcc configure:3787: result: gcc3 configure:3802: checking for a sed that does not truncate output configure:3868: result: /usr/bin/sed configure:3886: checking for grep that handles long lines and -e configure:3946: result: /usr/xpg4/bin/grep configure:3951: checking for egrep configure:4015: result: /usr/xpg4/bin/grep -E configure:4020: checking for fgrep configure:4084: result: /usr/xpg4/bin/grep -F configure:4119: checking for ld used by gcc configure:4186: result: /usr/ccs/bin/ld configure:4195: checking if the linker (/usr/ccs/bin/ld) is GNU ld configure:4210: result: no configure:4222: checking for BSD- or MS-compatible name lister (nm) configure:4271: result: /usr/local/bin//nm -B configure:4389: checking the name lister (/usr/local/bin//nm -B) interface configure:4396: gcc -c conftest.c >&5 configure:4399: /usr/local/bin//nm -B "conftest.o" configure:4402: output 00000000 B some_variable configure:4409: result: BSD nm configure:4412: checking whether ln -s works configure:4416: result: yes configure:4424: checking the maximum length of command line arguments configure:4544: result: 786240 configure:4561: checking whether the shell understands some XSI constructs configure:4571: result: yes configure:4575: checking whether the shell understands "+=" configure:4581: result: no configure:4616: checking for /usr/ccs/bin/ld option to reload object files configure:4623: result: -r configure:4692: checking for objdump configure:4708: found /usr/local/bin//objdump configure:4719: result: objdump configure:4751: checking how to recognize dependent libraries configure:4947: result: pass_all configure:5007: checking for ar configure:5023: found /usr/local/bin//ar configure:5034: result: ar configure:5112: checking for strip configure:5128: found /usr/local/bin//strip configure:5139: result: strip configure:5211: checking for ranlib configure:5227: found /usr/local/bin//ranlib configure:5238: result: ranlib configure:5328: checking command to parse /usr/local/bin//nm -B output from gcc object configure:5446: gcc -c conftest.c >&5 configure:5449: $? = 0 configure:5453: /usr/local/bin//nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:5456: $? = 0 configure:5510: gcc -o conftest conftest.c conftstm.o >&5 configure:5513: $? = 0 configure:5551: result: ok configure:6418: checking how to run the C preprocessor configure:6458: gcc -E conftest.c configure:6465: $? = 0 configure:6496: gcc -E conftest.c conftest.c:10:28: ac_nonexistent.h: No such file or directory configure:6503: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | /* end confdefs.h. */ | #include configure:6536: result: gcc -E configure:6565: gcc -E conftest.c configure:6572: $? = 0 configure:6603: gcc -E conftest.c conftest.c:10:28: ac_nonexistent.h: No such file or directory configure:6610: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | /* end confdefs.h. */ | #include configure:6650: checking for ANSI C header files configure:6680: gcc -c conftest.c >&5 configure:6687: $? = 0 configure:6786: gcc -o conftest conftest.c >&5 configure:6790: $? = 0 configure:6796: ./conftest configure:6800: $? = 0 configure:6818: result: yes configure:6842: checking for sys/types.h configure:6863: gcc -c conftest.c >&5 configure:6870: $? = 0 configure:6887: result: yes configure:6842: checking for sys/stat.h configure:6863: gcc -c conftest.c >&5 configure:6870: $? = 0 configure:6887: result: yes configure:6842: checking for stdlib.h configure:6863: gcc -c conftest.c >&5 configure:6870: $? = 0 configure:6887: result: yes configure:6842: checking for string.h configure:6863: gcc -c conftest.c >&5 configure:6870: $? = 0 configure:6887: result: yes configure:6842: checking for memory.h configure:6863: gcc -c conftest.c >&5 configure:6870: $? = 0 configure:6887: result: yes configure:6842: checking for strings.h configure:6863: gcc -c conftest.c >&5 configure:6870: $? = 0 configure:6887: result: yes configure:6842: checking for inttypes.h configure:6863: gcc -c conftest.c >&5 configure:6870: $? = 0 configure:6887: result: yes configure:6842: checking for stdint.h configure:6863: gcc -c conftest.c >&5 configure:6870: $? = 0 configure:6887: result: yes configure:6842: checking for unistd.h configure:6863: gcc -c conftest.c >&5 configure:6870: $? = 0 configure:6887: result: yes configure:6905: checking for dlfcn.h configure:6926: gcc -c conftest.c >&5 configure:6933: $? = 0 configure:6950: result: yes configure:7135: checking for objdir configure:7150: result: .libs configure:7446: checking if gcc supports -fno-rtti -fno-exceptions configure:7464: gcc -c -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:7468: $? = 0 configure:7481: result: no configure:7501: checking for gcc option to produce PIC configure:7773: result: -fPIC -DPIC configure:7785: checking if gcc PIC flag -fPIC -DPIC works configure:7803: gcc -c -fPIC -DPIC -DPIC conftest.c >&5 configure:7807: $? = 0 configure:7820: result: yes configure:7844: checking if gcc static flag -static works configure:7872: result: no configure:7887: checking if gcc supports -c -o file.o configure:7908: gcc -c -o out/conftest2.o conftest.c >&5 configure:7912: $? = 0 configure:7934: result: yes configure:7942: checking if gcc supports -c -o file.o configure:7989: result: yes configure:8022: checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries configure:9096: result: yes configure:9335: checking dynamic linker characteristics configure:10018: result: solaris2.10 ld.so configure:10120: checking how to hardcode library paths into programs configure:10145: result: immediate configure:10978: checking whether stripping libraries is possible configure:10983: result: yes configure:11018: checking if libtool supports shared libraries configure:11020: result: yes configure:11023: checking whether to build shared libraries configure:11044: result: no configure:11047: checking whether to build static libraries configure:11051: result: yes configure:11167: checking for gcc configure:11194: result: gcc configure:11426: checking for C compiler version configure:11434: gcc --version >&5 gcc (GCC) 3.4.6 Copyright (C) 2006 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:11438: $? = 0 configure:11445: gcc -v >&5 Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.6 configure:11449: $? = 0 configure:11456: gcc -V >&5 gcc: `-V' option must have argument configure:11460: $? = 1 configure:11463: checking whether we are using the GNU C compiler configure:11516: result: yes configure:11525: checking whether gcc accepts -g configure:11663: result: yes configure:11680: checking for gcc option to accept ISO C89 configure:11784: result: none needed configure:11804: checking dependency style of gcc configure:11914: result: gcc3 configure:11931: checking whether to enable assertions configure:11943: result: yes configure:11970: checking pthread.h usability configure:11987: gcc -c conftest.c >&5 configure:11994: $? = 0 configure:12008: result: yes configure:12012: checking pthread.h presence configure:12027: gcc -E conftest.c configure:12034: $? = 0 configure:12048: result: yes configure:12081: checking for pthread.h configure:12090: result: yes configure:11970: checking atomic.h usability configure:11987: gcc -c conftest.c >&5 configure:11994: $? = 0 configure:12008: result: yes configure:12012: checking atomic.h presence configure:12027: gcc -E conftest.c configure:12034: $? = 0 configure:12048: result: yes configure:12081: checking for atomic.h configure:12090: result: yes configure:11970: checking intrin.h usability configure:11987: gcc -c conftest.c >&5 conftest.c:57:20: intrin.h: No such file or directory configure:11994: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_H 1 | #define HAVE_ATOMIC_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:12008: result: no configure:12012: checking intrin.h presence configure:12027: gcc -E conftest.c conftest.c:24:20: intrin.h: No such file or directory configure:12034: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_H 1 | #define HAVE_ATOMIC_H 1 | /* end confdefs.h. */ | #include configure:12048: result: no configure:12081: checking for intrin.h configure:12090: result: no configure:11959: checking for inttypes.h configure:11966: result: yes configure:11959: checking for stdint.h configure:11966: result: yes configure:11970: checking stddef.h usability configure:11987: gcc -c conftest.c >&5 configure:11994: $? = 0 configure:12008: result: yes configure:12012: checking stddef.h presence configure:12027: gcc -E conftest.c configure:12034: $? = 0 configure:12048: result: yes configure:12081: checking for stddef.h configure:12090: result: yes configure:12106: checking for C/C++ restrict keyword configure:12141: gcc -c conftest.c >&5 configure:12148: $? = 0 configure:12166: result: __restrict configure:12182: checking for inline configure:12208: gcc -c conftest.c >&5 configure:12215: $? = 0 configure:12233: result: inline configure:12255: checking for an ANSI C-conforming const configure:12330: gcc -c conftest.c >&5 configure:12337: $? = 0 configure:12352: result: yes configure:12364: checking for pthread_create in -lpthread configure:12399: gcc -o conftest conftest.c -lpthread >&5 configure:12406: $? = 0 configure:12427: result: yes configure:12443: checking for pthread_yield configure:12499: gcc -o conftest conftest.c -lpthread >&5 Undefined first referenced symbol in file pthread_yield /var/tmp//ccW3vqko.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:12506: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_H 1 | #define HAVE_ATOMIC_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDDEF_H 1 | #define restrict __restrict | #define HAVE_LIBPTHREAD 1 | /* end confdefs.h. */ | /* Define pthread_yield to an innocuous variant, in case declares pthread_yield. | For example, HP-UX 11i declares gettimeofday. */ | #define pthread_yield innocuous_pthread_yield | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char pthread_yield (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef pthread_yield | | /* 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 pthread_yield (); | /* 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_pthread_yield || defined __stub___pthread_yield | choke me | #endif | | int | main () | { | return pthread_yield (); | ; | return 0; | } configure:12528: result: no configure:12548: checking sched.h usability configure:12565: gcc -c conftest.c >&5 configure:12572: $? = 0 configure:12586: result: yes configure:12590: checking sched.h presence configure:12605: gcc -E conftest.c configure:12612: $? = 0 configure:12626: result: yes configure:12659: checking for sched.h configure:12666: result: yes configure:12675: checking for sched_yield configure:12731: gcc -o conftest conftest.c -lpthread >&5 Undefined first referenced symbol in file sched_yield /var/tmp//ccuQcOvs.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:12738: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_H 1 | #define HAVE_ATOMIC_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDDEF_H 1 | #define restrict __restrict | #define HAVE_LIBPTHREAD 1 | /* end confdefs.h. */ | /* Define sched_yield to an innocuous variant, in case declares sched_yield. | For example, HP-UX 11i declares gettimeofday. */ | #define sched_yield innocuous_sched_yield | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char sched_yield (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef sched_yield | | /* 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 sched_yield (); | /* 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_sched_yield || defined __stub___sched_yield | choke me | #endif | | int | main () | { | return sched_yield (); | ; | return 0; | } configure:12760: result: no configure:12782: checking if 100 threads can be run at once configure:12830: gcc -o conftest conftest.c -lpthread >&5 configure:12834: $? = 0 configure:12840: ./conftest configure:12844: $? = 0 configure:12846: result: yes configure:12963: checking size of void * configure:13268: gcc -o conftest conftest.c -lpthread >&5 configure:13272: $? = 0 configure:13278: ./conftest configure:13282: $? = 0 configure:13308: result: 4 configure:13322: checking size of int configure:13627: gcc -o conftest conftest.c -lpthread >&5 configure:13631: $? = 0 configure:13637: ./conftest configure:13641: $? = 0 configure:13667: result: 4 configure:13679: checking whether __attribute__ allowed configure:13706: gcc -c conftest.c >&5 configure:13713: $? = 0 configure:13728: result: yes configure:13730: checking whether __attribute__((format)) allowed configure:13757: gcc -c conftest.c >&5 configure:13764: $? = 0 configure:13779: result: yes configure:13790: checking if compiler rejects bogus asm statements configure:13815: gcc -o conftest conftest.c -lpthread >&5 Assembler: conftest.c "/var/tmp//cc87F9GJ.s", line 18 : Illegal mnemonic Near line: " ILLEGAL_ASM_STMT" "/var/tmp//cc87F9GJ.s", line 18 : Syntax error Near line: " ILLEGAL_ASM_STMT" configure:13822: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_H 1 | #define HAVE_ATOMIC_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDDEF_H 1 | #define restrict __restrict | #define HAVE_LIBPTHREAD 1 | #define MAX_NTHREADS 100 | #define SIZEOF_VOID_P 4 | #define SIZEOF_INT 4 | #define HAVE_GCC_ATTRIBUTE 1 | /* end confdefs.h. */ | | int | main () | { | | __asm__ __volatile__ ("ILLEGAL_ASM_STMT"); | | ; | return 0; | } configure:13839: result: yes configure:13899: checking for support for gcc x86/x86_64 primitives configure:14066: gcc -o conftest -I./src conftest.c -lpthread >&5 configure:14070: $? = 0 configure:14076: ./conftest configure:14080: $? = 0 configure:14088: result: yes configure:14116: checking for support for gcc x86 primitives for pre-Pentium 4 configure:14283: gcc -o conftest -I./src conftest.c -lpthread >&5 configure:14287: $? = 0 configure:14293: ./conftest configure:14297: $? = 0 configure:14305: result: yes configure:14332: checking for support for gcc ia64 primitives configure:14398: gcc -o conftest -I./src conftest.c -lpthread >&5 Assembler: conftest.c "/var/tmp//ccmWhNp1.s", line 97 : Illegal mnemonic Near line: " mf" "/var/tmp//ccmWhNp1.s", line 97 : Syntax error Near line: " mf" "/var/tmp//ccmWhNp1.s", line 98 : Illegal mnemonic Near line: " mf" "/var/tmp//ccmWhNp1.s", line 98 : Syntax error Near line: " mf" "/var/tmp//ccmWhNp1.s", line 99 : Illegal mnemonic Near line: " mf" "/var/tmp//ccmWhNp1.s", line 99 : Syntax error Near line: " mf" "/var/tmp//ccmWhNp1.s", line 113 : Illegal mnemonic Near line: " xchg8 %eax=[%edx],%eax" "/var/tmp//ccmWhNp1.s", line 113 : Syntax error Near line: " xchg8 %eax=[%edx],%eax" "/var/tmp//ccmWhNp1.s", line 132 : Illegal mnemonic Near line: " zxt4 (%ebx)=(%ebx);;mov ar.ccv=(%ebx);;cmpxchg4.rel %esi=[%edx],%eax,ar.ccv" "/var/tmp//ccmWhNp1.s", line 132 : Syntax error Near line: " zxt4 (%ebx)=(%ebx);;mov ar.ccv=(%ebx);;cmpxchg4.rel %esi=[%edx],%eax,ar.ccv" "/var/tmp//ccmWhNp1.s", line 132 : Syntax error Near line: " zxt4 (%ebx)=(%ebx);;mov ar.ccv=(%ebx);;cmpxchg4.rel %esi=[%edx],%eax,ar.ccv" "/var/tmp//ccmWhNp1.s", line 132 : Illegal mnemonic Near line: " zxt4 (%ebx)=(%ebx);;mov ar.ccv=(%ebx);;cmpxchg4.rel %esi=[%edx],%eax,ar.ccv" "/var/tmp//ccmWhNp1.s", line 132 : Syntax error Near line: " zxt4 (%ebx)=(%ebx);;mov ar.ccv=(%ebx);;cmpxchg4.rel %esi=[%edx],%eax,ar.ccv" "/var/tmp//ccmWhNp1.s", line 132 : Illegal mnemonic Near line: " zxt4 (%ebx)=(%ebx);;mov ar.ccv=(%ebx);;cmpxchg4.rel %esi=[%edx],%eax,ar.ccv" "/var/tmp//ccmWhNp1.s", line 224 : Illegal mnemonic Near line: " fetchadd4.rel %eax=[%eax],$-16" "/var/tmp//ccmWhNp1.s", line 224 : Syntax error Near line: " fetchadd4.rel %eax=[%eax],$-16" "/var/tmp//ccmWhNp1.s", line 234 : Illegal mnemonic Near line: " fetchadd4.rel %eax=[%eax],$-8" "/var/tmp//ccmWhNp1.s", line 234 : Syntax error Near line: " fetchadd4.rel %eax=[%eax],$-8" "/var/tmp//ccmWhNp1.s", line 244 : Illegal mnemonic Near line: " fetchadd4.rel %eax=[%eax],$-4" "/var/tmp//ccmWhNp1.s", line 244 : Syntax error Near line: " fetchadd4.rel %eax=[%eax],$-4" "/var/tmp//ccmWhNp1.s", line 254 : Illegal mnemonic Near line: " fetchadd4.rel %eax=[%eax],$-1" "/var/tmp//ccmWhNp1.s", line 254 : Syntax error Near line: " fetchadd4.rel %eax=[%eax],$-1" "/var/tmp//ccmWhNp1.s", line 264 : Illegal mnemonic Near line: " fetchadd4.rel %eax=[%eax],$1" "/var/tmp//ccmWhNp1.s", line 264 : Syntax error Near line: " fetchadd4.rel %eax=[%eax],$1" "/var/tmp//ccmWhNp1.s", line 274 : Illegal mnemonic Near line: " fetchadd4.rel %eax=[%eax],$4" "/var/tmp//ccmWhNp1.s", line 274 : Syntax error Near line: " fetchadd4.rel %eax=[%eax],$4" "/var/tmp//ccmWhNp1.s", line 284 : Illegal mnemonic Near line: " fetchadd4.rel %eax=[%eax],$8" "/var/tmp//ccmWhNp1.s", line 284 : Syntax error Near line: " fetchadd4.rel %eax=[%eax],$8" "/var/tmp//ccmWhNp1.s", line 294 : Illegal mnemonic Near line: " fetchadd4.rel %eax=[%eax],$16" "/var/tmp//ccmWhNp1.s", line 294 : Syntax error Near line: " fetchadd4.rel %eax=[%eax],$16" "/var/tmp//ccmWhNp1.s", line 335 : Illegal mnemonic Near line: " fetchadd4.rel %eax=[%eax],$-1" Too many errors - Goodbye configure:14405: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_H 1 | #define HAVE_ATOMIC_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDDEF_H 1 | #define restrict __restrict | #define HAVE_LIBPTHREAD 1 | #define MAX_NTHREADS 100 | #define SIZEOF_VOID_P 4 | #define SIZEOF_INT 4 | #define HAVE_GCC_ATTRIBUTE 1 | #define HAVE_GCC_X86_32_64 1 | #define HAVE_GCC_X86_32_64_P3 1 | /* end confdefs.h. */ | | #define OPA_SIZEOF_INT SIZEOF_INT | #define OPA_SIZEOF_VOID_P SIZEOF_VOID_P | #ifndef _opa_inline | #define _opa_inline inline | #endif | #ifndef _opa_restrict | #define _opa_restrict restrict | #endif | #ifndef _opa_const | #define _opa_const const | #endif | #ifdef HAVE_GCC_ATTRIBUTE | #define OPA_HAVE_GCC_ATTRIBUTE 1 | #endif | #include "opa_util.h" /* for OPA_ATTRIBUTE and friends */ | #include "primitives/opa_gcc_ia64.h" | | int | main () | { | | OPA_int_t a, b; | int c; | | OPA_store_int(&a, 0); | OPA_store_int(&b, 1); | c = OPA_load_int(&a); | | OPA_add_int(&a, 10); | OPA_incr_int(&a); | OPA_decr_int(&a); | | c = OPA_decr_and_test_int(&a); | c = OPA_fetch_and_add_int(&a, 10); | c = OPA_fetch_and_incr_int(&a); | c = OPA_fetch_and_decr_int(&a); | | c = OPA_cas_int(&a, 10, 11); | c = OPA_swap_int(&a, OPA_load_int(&b)); | | OPA_write_barrier(); | OPA_read_barrier(); | OPA_read_write_barrier(); | | ; | return 0; | } | configure:14426: result: no configure:14443: checking for support for gcc PowerPC atomics configure:14509: gcc -o conftest -I./src conftest.c -lpthread >&5 Assembler: conftest.c "/var/tmp//ccyk9FZ2.s", line 97 : Illegal mnemonic Near line: " sync" "/var/tmp//ccyk9FZ2.s", line 97 : Syntax error Near line: " sync" "/var/tmp//ccyk9FZ2.s", line 98 : Illegal mnemonic Near line: " sync" "/var/tmp//ccyk9FZ2.s", line 98 : Syntax error Near line: " sync" "/var/tmp//ccyk9FZ2.s", line 99 : Illegal mnemonic Near line: " sync" "/var/tmp//ccyk9FZ2.s", line 99 : Syntax error Near line: " sync" "/var/tmp//ccyk9FZ2.s", line 139 : Illegal mnemonic Near line: " stwcx. %edx,0,%ecx;" "/var/tmp//ccyk9FZ2.s", line 139 : Syntax error Near line: " stwcx. %edx,0,%ecx;" "/var/tmp//ccyk9FZ2.s", line 140 : Illegal mnemonic Near line: "beq 1f;" "/var/tmp//ccyk9FZ2.s", line 140 : Syntax error Near line: "beq 1f;" "/var/tmp//ccyk9FZ2.s", line 140 : Illegal reference to numeric label "/var/tmp//ccyk9FZ2.s", line 141 : Illegal mnemonic Near line: "li %eax, 0;" "/var/tmp//ccyk9FZ2.s", line 141 : Syntax error Near line: "li %eax, 0;" "/var/tmp//ccyk9FZ2.s", line 157 : Illegal mnemonic Near line: " lwarx %eax,0,%eax" "/var/tmp//ccyk9FZ2.s", line 157 : Syntax error Near line: " lwarx %eax,0,%eax" configure:14516: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_H 1 | #define HAVE_ATOMIC_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDDEF_H 1 | #define restrict __restrict | #define HAVE_LIBPTHREAD 1 | #define MAX_NTHREADS 100 | #define SIZEOF_VOID_P 4 | #define SIZEOF_INT 4 | #define HAVE_GCC_ATTRIBUTE 1 | #define HAVE_GCC_X86_32_64 1 | #define HAVE_GCC_X86_32_64_P3 1 | /* end confdefs.h. */ | | #define OPA_SIZEOF_INT SIZEOF_INT | #define OPA_SIZEOF_VOID_P SIZEOF_VOID_P | #ifndef _opa_inline | #define _opa_inline inline | #endif | #ifndef _opa_restrict | #define _opa_restrict restrict | #endif | #ifndef _opa_const | #define _opa_const const | #endif | #ifdef HAVE_GCC_ATTRIBUTE | #define OPA_HAVE_GCC_ATTRIBUTE 1 | #endif | #include "opa_util.h" /* for OPA_ATTRIBUTE and friends */ | #include "primitives/opa_gcc_ppc.h" | | int | main () | { | | OPA_int_t a, b; | int c; | | OPA_store_int(&a, 0); | OPA_store_int(&b, 1); | c = OPA_load_int(&a); | | OPA_add_int(&a, 10); | OPA_incr_int(&a); | OPA_decr_int(&a); | | c = OPA_decr_and_test_int(&a); | c = OPA_fetch_and_add_int(&a, 10); | c = OPA_fetch_and_incr_int(&a); | c = OPA_fetch_and_decr_int(&a); | | c = OPA_cas_int(&a, 10, 11); | c = OPA_swap_int(&a, OPA_load_int(&b)); | | OPA_write_barrier(); | OPA_read_barrier(); | OPA_read_write_barrier(); | | ; | return 0; | } | configure:14537: result: no configure:14554: checking for support for gcc SiCortex atomics configure:14620: gcc -o conftest -I./src conftest.c -lpthread >&5 Assembler: conftest.c "/var/tmp//cceQUZJa.s", line 97 : Illegal mnemonic Near line: " sync" "/var/tmp//cceQUZJa.s", line 97 : Syntax error Near line: " sync" "/var/tmp//cceQUZJa.s", line 98 : Illegal mnemonic Near line: " sync" "/var/tmp//cceQUZJa.s", line 98 : Syntax error Near line: " sync" "/var/tmp//cceQUZJa.s", line 99 : Illegal mnemonic Near line: " sync" "/var/tmp//cceQUZJa.s", line 99 : Syntax error Near line: " sync" "/var/tmp//cceQUZJa.s", line 127 : Syntax error Near line: " .set mips3 " "/var/tmp//cceQUZJa.s", line 128 : Syntax error Near line: " .set noreorder " "/var/tmp//cceQUZJa.s", line 129 : Illegal mnemonic Near line: "1: ll %ebx, (%edx) # swap_4 " "/var/tmp//cceQUZJa.s", line 129 : Syntax error Near line: "1: ll %ebx, (%edx) # swap_4 " "/var/tmp//cceQUZJa.s", line 130 : Illegal mnemonic Near line: " move %ecx, %eax " "/var/tmp//cceQUZJa.s", line 130 : Syntax error Near line: " move %ecx, %eax " "/var/tmp//cceQUZJa.s", line 131 : Illegal mnemonic Near line: " sc %ecx, (%edx) " "/var/tmp//cceQUZJa.s", line 131 : Syntax error Near line: " sc %ecx, (%edx) " "/var/tmp//cceQUZJa.s", line 132 : Illegal mnemonic Near line: " beqz %ecx, 1b " "/var/tmp//cceQUZJa.s", line 132 : Syntax error Near line: " beqz %ecx, 1b " "/var/tmp//cceQUZJa.s", line 132 : Illegal reference to numeric label "/var/tmp//cceQUZJa.s", line 134 : Syntax error Near line: " .set reorder " "/var/tmp//cceQUZJa.s", line 135 : Syntax error Near line: " .set mips0 " "/var/tmp//cceQUZJa.s", line 173 : Syntax error Near line: " .set mips3 " "/var/tmp//cceQUZJa.s", line 174 : Syntax error Near line: " .set noreorder " "/var/tmp//cceQUZJa.s", line 175 : Illegal mnemonic Near line: "1: ll %ebx, (%ecx) # cswap_4 " "/var/tmp//cceQUZJa.s", line 175 : Syntax error Near line: "1: ll %ebx, (%ecx) # cswap_4 " "/var/tmp//cceQUZJa.s", line 176 : Illegal mnemonic Near line: " bne %ebx, %eax, 1f " "/var/tmp//cceQUZJa.s", line 176 : Syntax error Near line: " bne %ebx, %eax, 1f " "/var/tmp//cceQUZJa.s", line 176 : Illegal reference to numeric label "/var/tmp//cceQUZJa.s", line 177 : Illegal mnemonic Near line: " move %esi, %edx " "/var/tmp//cceQUZJa.s", line 177 : Syntax error Near line: " move %esi, %edx " "/var/tmp//cceQUZJa.s", line 178 : Illegal mnemonic Near line: " sc %esi, (%ecx) " "/var/tmp//cceQUZJa.s", line 178 : Syntax error Near line: " sc %esi, (%ecx) " "/var/tmp//cceQUZJa.s", line 179 : Illegal mnemonic Near line: " beqz %esi, 1b " Too many errors - Goodbye configure:14627: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_H 1 | #define HAVE_ATOMIC_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDDEF_H 1 | #define restrict __restrict | #define HAVE_LIBPTHREAD 1 | #define MAX_NTHREADS 100 | #define SIZEOF_VOID_P 4 | #define SIZEOF_INT 4 | #define HAVE_GCC_ATTRIBUTE 1 | #define HAVE_GCC_X86_32_64 1 | #define HAVE_GCC_X86_32_64_P3 1 | /* end confdefs.h. */ | | #define OPA_SIZEOF_INT SIZEOF_INT | #define OPA_SIZEOF_VOID_P SIZEOF_VOID_P | #ifndef _opa_inline | #define _opa_inline inline | #endif | #ifndef _opa_restrict | #define _opa_restrict restrict | #endif | #ifndef _opa_const | #define _opa_const const | #endif | #ifdef HAVE_GCC_ATTRIBUTE | #define OPA_HAVE_GCC_ATTRIBUTE 1 | #endif | #include "opa_util.h" /* for OPA_ATTRIBUTE and friends */ | #include "primitives/opa_gcc_sicortex.h" | | int | main () | { | | OPA_int_t a, b; | int c; | | OPA_store_int(&a, 0); | OPA_store_int(&b, 1); | c = OPA_load_int(&a); | | OPA_add_int(&a, 10); | OPA_incr_int(&a); | OPA_decr_int(&a); | | c = OPA_decr_and_test_int(&a); | c = OPA_fetch_and_add_int(&a, 10); | c = OPA_fetch_and_incr_int(&a); | c = OPA_fetch_and_decr_int(&a); | | c = OPA_cas_int(&a, 10, 11); | c = OPA_swap_int(&a, OPA_load_int(&b)); | | OPA_write_barrier(); | OPA_read_barrier(); | OPA_read_write_barrier(); | | ; | return 0; | } | configure:14648: result: no configure:14667: checking for support for gcc atomic intrinsics configure:14733: gcc -o conftest -I./src conftest.c -lpthread >&5 In file included from conftest.c:51: ./src/primitives/opa_gcc_intrinsics.h: In function `OPA_cas_ptr': ./src/primitives/opa_gcc_intrinsics.h:64: warning: return makes pointer from integer without a cast Undefined first referenced symbol in file __sync_synchronize /var/tmp//cck9KWgj.o __sync_sub_and_fetch /var/tmp//cck9KWgj.o __sync_fetch_and_add /var/tmp//cck9KWgj.o __sync_val_compare_and_swap /var/tmp//cck9KWgj.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:14740: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_H 1 | #define HAVE_ATOMIC_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDDEF_H 1 | #define restrict __restrict | #define HAVE_LIBPTHREAD 1 | #define MAX_NTHREADS 100 | #define SIZEOF_VOID_P 4 | #define SIZEOF_INT 4 | #define HAVE_GCC_ATTRIBUTE 1 | #define HAVE_GCC_X86_32_64 1 | #define HAVE_GCC_X86_32_64_P3 1 | /* end confdefs.h. */ | | #define OPA_SIZEOF_INT SIZEOF_INT | #define OPA_SIZEOF_VOID_P SIZEOF_VOID_P | #ifndef _opa_inline | #define _opa_inline inline | #endif | #ifndef _opa_restrict | #define _opa_restrict restrict | #endif | #ifndef _opa_const | #define _opa_const const | #endif | #ifdef HAVE_GCC_ATTRIBUTE | #define OPA_HAVE_GCC_ATTRIBUTE 1 | #endif | #include "opa_util.h" /* for OPA_ATTRIBUTE and friends */ | #include "primitives/opa_gcc_intrinsics.h" | | int | main () | { | | OPA_int_t a, b; | int c; | | OPA_store_int(&a, 0); | OPA_store_int(&b, 1); | c = OPA_load_int(&a); | | OPA_add_int(&a, 10); | OPA_incr_int(&a); | OPA_decr_int(&a); | | c = OPA_decr_and_test_int(&a); | c = OPA_fetch_and_add_int(&a, 10); | c = OPA_fetch_and_incr_int(&a); | c = OPA_fetch_and_decr_int(&a); | | c = OPA_cas_int(&a, 10, 11); | c = OPA_swap_int(&a, OPA_load_int(&b)); | | OPA_write_barrier(); | OPA_read_barrier(); | OPA_read_write_barrier(); | | ; | return 0; | } | configure:14761: result: no configure:14778: checking for support for Windows NT atomic intrinsics configure:14844: gcc -o conftest -I./src conftest.c -lpthread >&5 In file included from conftest.c:51: ./src/primitives/opa_nt_intrinsics.h:11:20: windows.h: No such file or directory ./src/primitives/opa_nt_intrinsics.h:12:19: intrin.h: No such file or directory ./src/primitives/opa_nt_intrinsics.h:13:17: mpi.h: No such file or directory In file included from conftest.c:51: ./src/primitives/opa_nt_intrinsics.h: In function `OPA_cas_ptr': ./src/primitives/opa_nt_intrinsics.h:71: error: `LONG_PTR' undeclared (first use in this function) ./src/primitives/opa_nt_intrinsics.h:71: error: (Each undeclared identifier is reported only once ./src/primitives/opa_nt_intrinsics.h:71: error: for each function it appears in.) ./src/primitives/opa_nt_intrinsics.h:71: error: syntax error before "_InterlockedCompareExchange" ./src/primitives/opa_nt_intrinsics.h:72: error: `LONG' undeclared (first use in this function) ./src/primitives/opa_nt_intrinsics.h:72: error: syntax error before "newv" ./src/primitives/opa_nt_intrinsics.h: In function `OPA_swap_ptr': ./src/primitives/opa_nt_intrinsics.h:88: error: `LONG_PTR' undeclared (first use in this function) ./src/primitives/opa_nt_intrinsics.h:88: error: syntax error before "_InterlockedExchange" configure:14851: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "OpenPA" | #define PACKAGE_TARNAME "openpa" | #define PACKAGE_VERSION "1.0.2" | #define PACKAGE_STRING "OpenPA 1.0.2" | #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" | #define PACKAGE "openpa" | #define VERSION "1.0.2" | #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 HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_PTHREAD_H 1 | #define HAVE_ATOMIC_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STDDEF_H 1 | #define restrict __restrict | #define HAVE_LIBPTHREAD 1 | #define MAX_NTHREADS 100 | #define SIZEOF_VOID_P 4 | #define SIZEOF_INT 4 | #define HAVE_GCC_ATTRIBUTE 1 | #define HAVE_GCC_X86_32_64 1 | #define HAVE_GCC_X86_32_64_P3 1 | /* end confdefs.h. */ | | #define OPA_SIZEOF_INT SIZEOF_INT | #define OPA_SIZEOF_VOID_P SIZEOF_VOID_P | #ifndef _opa_inline | #define _opa_inline inline | #endif | #ifndef _opa_restrict | #define _opa_restrict restrict | #endif | #ifndef _opa_const | #define _opa_const const | #endif | #ifdef HAVE_GCC_ATTRIBUTE | #define OPA_HAVE_GCC_ATTRIBUTE 1 | #endif | #include "opa_util.h" /* for OPA_ATTRIBUTE and friends */ | #include "primitives/opa_nt_intrinsics.h" | | int | main () | { | | OPA_int_t a, b; | int c; | | OPA_store_int(&a, 0); | OPA_store_int(&b, 1); | c = OPA_load_int(&a); | | OPA_add_int(&a, 10); | OPA_incr_int(&a); | OPA_decr_int(&a); | | c = OPA_decr_and_test_int(&a); | c = OPA_fetch_and_add_int(&a, 10); | c = OPA_fetch_and_incr_int(&a); | c = OPA_fetch_and_decr_int(&a); | | c = OPA_cas_int(&a, 10, 11); | c = OPA_swap_int(&a, OPA_load_int(&b)); | | OPA_write_barrier(); | OPA_read_barrier(); | OPA_read_write_barrier(); | | ; | return 0; | } | configure:14872: result: no configure:14889: checking for support for Sun atomic operations library configure:14955: gcc -o conftest -I./src conftest.c -lpthread >&5 configure:14962: $? = 0 configure:14976: result: yes configure:15077: checking whether to enable strict fairness checks configure:15095: result: no configure:15233: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by OpenPA config.status 1.0.2, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on zn-dv-133 config.status:1003: creating Makefile config.status:1003: creating src/Makefile config.status:1003: creating test/Makefile config.status:1003: creating openpa.pc config.status:1003: creating src/config.h config.status:1225: src/config.h is unchanged config.status:1277: executing depfiles commands config.status:1277: executing libtool commands config.status:1277: executing src/opa_config.h commands config.status:2087: creating src/opa_config.h - prefix OPA for src/config.h defines config.status:2109: src/opa_config.h is unchanged ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-pc-solaris2.10 ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_c_restrict=__restrict ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=' ' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_pthread_yield=no ac_cv_func_sched_yield=no ac_cv_header_atomic_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_intrin_h=no ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_pthread_h=yes ac_cv_header_sched_h=yes ac_cv_header_stdc=yes ac_cv_header_stddef_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i386-pc-solaris2.10 ac_cv_lib_pthread_pthread_create=yes ac_cv_objext=o ac_cv_path_EGREP='/usr/xpg4/bin/grep -E' ac_cv_path_FGREP='/usr/xpg4/bin/grep -F' ac_cv_path_GREP=/usr/xpg4/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_prog_AWK=nawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_sizeof_int=4 ac_cv_sizeof_void_p=4 am_cv_CC_dependencies_compiler_type=gcc3 lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/ccs/bin/ld lt_cv_path_NM='/usr/local/bin//nm -B' lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=no lt_cv_prog_gnu_ld=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=786240 pac_cv_gnu_attr_format=yes pac_cv_gnu_attr_pure=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /MPICH/Source/mpich2-1.4.1p1/src/openpa/confdb/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /MPICH/Source/mpich2-1.4.1p1/src/openpa/confdb/missing --run tar' AR='ar' AUTOCONF='${SHELL} /MPICH/Source/mpich2-1.4.1p1/src/openpa/confdb/missing --run autoconf' AUTOHEADER='${SHELL} /MPICH/Source/mpich2-1.4.1p1/src/openpa/confdb/missing --run autoheader' AUTOMAKE='${SHELL} /MPICH/Source/mpich2-1.4.1p1/src/openpa/confdb/missing --run automake-1.11' AWK='nawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS=' ' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/xpg4/bin/grep -E' EXEEXT='' FGREP='/usr/xpg4/bin/grep -F' GREP='/usr/xpg4/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/ccs/bin/ld' LDFLAGS='' LIBOBJS='' LIBS='-lpthread ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /MPICH/Source/mpich2-1.4.1p1/src/openpa/confdb/missing --run makeinfo' MKDIR_P='confdb/install-sh -c -d' NM='/usr/local/bin//nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='openpa' PACKAGE_BUGREPORT='https://trac.mcs.anl.gov/projects/openpa/newticket' PACKAGE_NAME='OpenPA' PACKAGE_STRING='OpenPA 1.0.2' PACKAGE_TARNAME='openpa' PACKAGE_VERSION='1.0.2' PATH_SEPARATOR=':' RANLIB='ranlib' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' VERSION='1.0.2' ac_ct_CC='gcc' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i386-pc-solaris2.10' build_alias='' build_cpu='i386' build_os='solaris2.10' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' external_pkg_config_libs='' host='i386-pc-solaris2.10' host_alias='' host_cpu='i386' host_os='solaris2.10' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /MPICH/Source/mpich2-1.4.1p1/src/openpa/confdb/install-sh' internal_pkg_config_libs='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libopa_so_version='1:0' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' lt_ECHO='echo' mandir='${datarootdir}/man' mkdir_p='$(top_builddir)/confdb/install-sh -c -d' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/MPICH/mpich2-install' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "OpenPA" #define PACKAGE_TARNAME "openpa" #define PACKAGE_VERSION "1.0.2" #define PACKAGE_STRING "OpenPA 1.0.2" #define PACKAGE_BUGREPORT "https://trac.mcs.anl.gov/projects/openpa/newticket" #define PACKAGE "openpa" #define VERSION "1.0.2" #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 HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_PTHREAD_H 1 #define HAVE_ATOMIC_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STDDEF_H 1 #define restrict __restrict #define HAVE_LIBPTHREAD 1 #define MAX_NTHREADS 100 #define SIZEOF_VOID_P 4 #define SIZEOF_INT 4 #define HAVE_GCC_ATTRIBUTE 1 #define HAVE_GCC_X86_32_64 1 #define HAVE_GCC_X86_32_64_P3 1 #define HAVE_SUN_ATOMIC_OPS 1 configure: exit 0