Hi, I've been working on getting scheme48 to build on Debian GNU/Hurd. After some patching which has been passed upstream, the package now successfully builds only if configured by manually passing LDFLAGS="-pthread", e.g.: LDFLAGS="-pthread" ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr This is because upstream's autotools macro for picking up pthreads is currently failing. The macro is attached. On an attempt to call it in configure: S48_PTHREAD_TRY_FLAGS([-pthread]) This produces an error: (full config.log is attached) configure:8557: gcc -o conftest -g -O2 -pthread -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:8561: $? = 0 configure:8567: ./conftest ./configure: line 8569: 16392 Resource lost ./conftest$ac_exeext configure:8571: $? = 160 configure: program exited with status 160 Both upstream and I are mystified by this "16392 Resource lost" clause. Can anyone on this list shed any light on why this macro might be failing on hurd when it works on other systems? Is there a canonical macro that other packages use which achieves the same ends but work on hurd? Thanks, Daniel Moerner
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.63. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = strauss uname -m = i686-AT386 uname -r = 0.3 uname -s = GNU uname -v = GNU-Mach 1.3.99/Hurd-0.3 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:1860: checking build system type configure:1878: result: i686-unknown-gnu0.3 configure:1900: checking host system type configure:1915: result: i686-unknown-gnu0.3 configure:1985: checking for gcc configure:2001: found /usr/bin/gcc configure:2012: result: gcc configure:2244: checking for C compiler version configure:2252: gcc --version >&5 gcc (Debian 4.3.3-10) 4.3.3 Copyright (C) 2008 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:2256: $? = 0 configure:2263: gcc -v >&5 Using built-in specs. Target: i486-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.3-10' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --with-tune=generic --enable-checking=release --build=i486-gnu --host=i486-gnu --target=i486-gnu Thread model: posix gcc version 4.3.3 (Debian 4.3.3-10) configure:2267: $? = 0 configure:2274: gcc -V >&5 gcc: '-V' option must have argument configure:2278: $? = 1 configure:2301: checking for C compiler default output file name configure:2323: gcc conftest.c >&5 configure:2327: $? = 0 configure:2365: result: a.out configure:2384: checking whether the C compiler works configure:2394: ./a.out configure:2398: $? = 0 configure:2417: result: yes configure:2424: checking whether we are cross compiling configure:2426: result: no configure:2429: checking for suffix of executables configure:2436: gcc -o conftest conftest.c >&5 configure:2440: $? = 0 configure:2466: result: configure:2472: checking for suffix of object files configure:2498: gcc -c conftest.c >&5 configure:2502: $? = 0 configure:2527: result: o configure:2531: checking whether we are using the GNU C compiler configure:2560: gcc -c conftest.c >&5 configure:2567: $? = 0 configure:2584: result: yes configure:2593: checking whether gcc accepts -g configure:2623: gcc -c -g conftest.c >&5 configure:2630: $? = 0 configure:2731: result: yes configure:2748: checking for gcc option to accept ISO C89 configure:2822: gcc -c -g -O2 conftest.c >&5 configure:2829: $? = 0 configure:2852: result: none needed configure:2888: gcc -o conftest -g -O2 conftest.c >&5 configure:2892: $? = 0 configure:2898: ./conftest configure:2902: $? = 0 configure:2995: checking whether we must build a 32bit binary configure:3027: result: no configure:3031: checking bits per byte configure:3069: gcc -o conftest -g -O2 conftest.c >&5 configure:3073: $? = 0 configure:3079: ./conftest configure:3083: $? = 0 configure:3106: result: 8 configure:3114: checking size of void * configure:3146: gcc -o conftest -g -O2 conftest.c >&5 configure:3150: $? = 0 configure:3156: ./conftest configure:3160: $? = 0 configure:3183: result: 4 configure:3191: checking for BIT_SUFFIX configure:3198: result: 32 configure:3207: checking whether we are building a Universal Binary configure:3234: result: no configure:3889: checking how to compile position independent code configure:3912: result: -fPIC configure:3923: checking -rdynamic configure:3946: gcc -o conftest -g -O2 -rdynamic conftest.c >&5 configure:3950: $? = 0 configure:3956: ./conftest configure:3960: $? = 0 configure:3962: result: yes configure:3979: checking LDFLAGS_VM configure:3993: result: configure:3997: checking for library containing strerror configure:4038: gcc -o conftest -g -O2 -rdynamic conftest.c >&5 configure:4045: $? = 0 configure:4076: result: none required configure:4091: checking for special C compiler options needed for large files configure:4186: result: no configure:4192: checking for _FILE_OFFSET_BITS value needed for large files configure:4227: gcc -c -g -O2 conftest.c >&5 conftest.c:18: warning: left shift count >= width of type conftest.c:18: warning: left shift count >= width of type conftest.c:20: error: size of array 'off_t_is_large' is negative configure:4234: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | /* end confdefs.h. */ | #include <sys/types.h> | /* Check that off_t can represent 2**63 - 1 correctly. | We can't simply define LARGE_OFF_T to be 9223372036854775807, | since some C++ compilers masquerading as C compilers | incorrectly reject 9223372036854775807. */ | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | && LARGE_OFF_T % 2147483647 == 1) | ? 1 : -1]; | int | main () | { | | ; | return 0; | } configure:4278: gcc -c -g -O2 conftest.c >&5 configure:4285: $? = 0 configure:4303: result: 64 configure:4440: checking for inline keyword configure:4456: gcc -c -g -O2 conftest.c >&5 configure:4463: $? = 0 configure:4468: result: yes configure:4499: checking for a BSD-compatible install configure:4567: result: /usr/bin/install -c configure:4579: checking for main in -lm configure:4608: gcc -o conftest -g -O2 -rdynamic conftest.c -lm >&5 configure:4615: $? = 0 configure:4636: result: yes configure:4648: checking for main in -ldl configure:4677: gcc -o conftest -g -O2 -rdynamic conftest.c -ldl -lm >&5 configure:4684: $? = 0 configure:4705: result: yes configure:4717: checking for main in -lmld configure:4746: gcc -o conftest -g -O2 -rdynamic conftest.c -lmld -ldl -lm >&5 /usr/bin/ld: cannot find -lmld collect2: ld returned 1 exit status configure:4753: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | /* end confdefs.h. */ | | | int | main () | { | return main (); | ; | return 0; | } configure:4774: result: no configure:4786: checking for main in -lnsl configure:4815: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:4822: $? = 0 configure:4843: result: yes configure:4855: checking for main in -lgen configure:4884: gcc -o conftest -g -O2 -rdynamic conftest.c -lgen -lnsl -ldl -lm >&5 /usr/bin/ld: cannot find -lgen collect2: ld returned 1 exit status configure:4891: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | /* end confdefs.h. */ | | | int | main () | { | return main (); | ; | return 0; | } configure:4912: result: no configure:4924: checking for main in -lsocket configure:4953: gcc -o conftest -g -O2 -rdynamic conftest.c -lsocket -lnsl -ldl -lm >&5 /usr/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status configure:4960: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | /* end confdefs.h. */ | | | int | main () | { | return main (); | ; | return 0; | } configure:4981: result: no configure:4993: checking for getpwnam in -lsun configure:5028: gcc -o conftest -g -O2 -rdynamic conftest.c -lsun -lnsl -ldl -lm >&5 /usr/bin/ld: cannot find -lsun collect2: ld returned 1 exit status configure:5035: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char getpwnam (); | int | main () | { | return getpwnam (); | ; | return 0; | } configure:5056: result: no configure:5072: checking for an ANSI C-conforming const configure:5147: gcc -c -g -O2 conftest.c >&5 configure:5154: $? = 0 configure:5169: result: yes configure:5179: checking for socklen_t configure:5205: gcc -c -g -O2 conftest.c >&5 configure:5212: $? = 0 configure:5217: result: yes configure:5283: checking return type of signal handlers configure:5311: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:23: error: void value not ignored as it ought to be configure:5318: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | /* end confdefs.h. */ | #include <sys/types.h> | #include <signal.h> | | int | main () | { | return *(signal (0, 0)) (0) == 1; | ; | return 0; | } configure:5333: result: void configure:5346: checking how to run the C preprocessor configure:5386: gcc -E conftest.c configure:5393: $? = 0 configure:5424: gcc -E conftest.c conftest.c:18:28: error: ac_nonexistent.h: No such file or directory configure:5431: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5464: result: gcc -E configure:5493: gcc -E conftest.c configure:5500: $? = 0 configure:5531: gcc -E conftest.c conftest.c:18:28: error: ac_nonexistent.h: No such file or directory configure:5538: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5578: checking for grep that handles long lines and -e configure:5638: result: /bin/grep configure:5643: checking for egrep configure:5707: result: /bin/grep -E configure:5712: checking for ANSI C header files configure:5742: gcc -c -g -O2 conftest.c >&5 configure:5749: $? = 0 configure:5848: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:5852: $? = 0 configure:5858: ./conftest configure:5862: $? = 0 configure:5880: result: yes configure:5904: checking for sys/types.h configure:5925: gcc -c -g -O2 conftest.c >&5 configure:5932: $? = 0 configure:5949: result: yes configure:5904: checking for sys/stat.h configure:5925: gcc -c -g -O2 conftest.c >&5 configure:5932: $? = 0 configure:5949: result: yes configure:5904: checking for stdlib.h configure:5925: gcc -c -g -O2 conftest.c >&5 configure:5932: $? = 0 configure:5949: result: yes configure:5904: checking for string.h configure:5925: gcc -c -g -O2 conftest.c >&5 configure:5932: $? = 0 configure:5949: result: yes configure:5904: checking for memory.h configure:5925: gcc -c -g -O2 conftest.c >&5 configure:5932: $? = 0 configure:5949: result: yes configure:5904: checking for strings.h configure:5925: gcc -c -g -O2 conftest.c >&5 configure:5932: $? = 0 configure:5949: result: yes configure:5904: checking for inttypes.h configure:5925: gcc -c -g -O2 conftest.c >&5 configure:5932: $? = 0 configure:5949: result: yes configure:5904: checking for stdint.h configure:5925: gcc -c -g -O2 conftest.c >&5 configure:5932: $? = 0 configure:5949: result: yes configure:5904: checking for unistd.h configure:5925: gcc -c -g -O2 conftest.c >&5 configure:5932: $? = 0 configure:5949: result: yes configure:5964: checking for uintptr_t configure:5992: gcc -c -g -O2 conftest.c >&5 configure:5999: $? = 0 configure:6026: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:64: error: expected expression before ')' token configure:6033: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | if (sizeof ((uintptr_t))) | return 0; | ; | return 0; | } configure:6056: result: yes configure:6122: checking for uint16_t configure:6153: gcc -c -g -O2 conftest.c >&5 configure:6160: $? = 0 configure:6181: result: yes configure:6212: checking libgen.h usability configure:6229: gcc -c -g -O2 conftest.c >&5 configure:6236: $? = 0 configure:6250: result: yes configure:6254: checking libgen.h presence configure:6269: gcc -E conftest.c configure:6276: $? = 0 configure:6290: result: yes configure:6318: checking for libgen.h configure:6327: result: yes configure:6212: checking sys/timeb.h usability configure:6229: gcc -c -g -O2 conftest.c >&5 configure:6236: $? = 0 configure:6250: result: yes configure:6254: checking sys/timeb.h presence configure:6269: gcc -E conftest.c configure:6276: $? = 0 configure:6290: result: yes configure:6318: checking for sys/timeb.h configure:6327: result: yes configure:6212: checking posix/time.h usability configure:6229: gcc -c -g -O2 conftest.c >&5 conftest.c:64:24: error: posix/time.h: No such file or directory configure:6236: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <posix/time.h> configure:6250: result: no configure:6254: checking posix/time.h presence configure:6269: gcc -E conftest.c conftest.c:31:24: error: posix/time.h: No such file or directory configure:6276: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | /* end confdefs.h. */ | #include <posix/time.h> configure:6290: result: no configure:6318: checking for posix/time.h configure:6327: result: no configure:6358: checking sys/select.h usability configure:6375: gcc -c -g -O2 conftest.c >&5 configure:6382: $? = 0 configure:6396: result: yes configure:6400: checking sys/select.h presence configure:6415: gcc -E conftest.c configure:6422: $? = 0 configure:6436: result: yes configure:6464: checking for sys/select.h configure:6473: result: yes configure:6504: checking sysexits.h usability configure:6521: gcc -c -g -O2 conftest.c >&5 configure:6528: $? = 0 configure:6542: result: yes configure:6546: checking sysexits.h presence configure:6561: gcc -E conftest.c configure:6568: $? = 0 configure:6582: result: yes configure:6610: checking for sysexits.h configure:6619: result: yes configure:6650: checking langinfo.h usability configure:6667: gcc -c -g -O2 conftest.c >&5 configure:6674: $? = 0 configure:6688: result: yes configure:6692: checking langinfo.h presence configure:6707: gcc -E conftest.c configure:6714: $? = 0 configure:6728: result: yes configure:6756: checking for langinfo.h configure:6765: result: yes configure:6780: checking for nl_langinfo configure:6836: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:6843: $? = 0 configure:6863: result: yes configure:6884: checking for gettimeofday configure:6940: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:6947: $? = 0 configure:6969: result: yes configure:6884: checking for ftime configure:6940: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:6947: $? = 0 configure:6969: result: yes configure:6884: checking for select configure:6940: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:6947: $? = 0 configure:6969: result: yes configure:6884: checking for setitimer configure:6940: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:6947: $? = 0 configure:6969: result: yes configure:6884: checking for sigaction configure:6940: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:6947: $? = 0 configure:6969: result: yes configure:6997: checking poll.h usability configure:7014: gcc -c -g -O2 conftest.c >&5 configure:7021: $? = 0 configure:7035: result: yes configure:7039: checking poll.h presence configure:7054: gcc -E conftest.c configure:7061: $? = 0 configure:7075: result: yes configure:7103: checking for poll.h configure:7112: result: yes configure:7131: checking for poll configure:7187: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:7194: $? = 0 configure:7216: result: yes configure:7277: checking for pkg-config configure:7295: found /usr/bin/pkg-config configure:7307: result: /usr/bin/pkg-config configure:7332: checking pkg-config is at least version 0.9.0 configure:7335: result: yes configure:7491: checking for dlopen configure:7547: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:7554: $? = 0 configure:7576: result: yes configure:7593: checking for socket configure:7649: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:7656: $? = 0 configure:7678: result: yes configure:7593: checking for chroot configure:7649: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:7656: $? = 0 configure:7678: result: yes configure:7690: checking for strerror configure:7746: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:7753: $? = 0 configure:7773: result: yes configure:7790: checking environ configure:7817: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:7824: $? = 0 configure:7836: result: using environ configure:7911: checking IEEE floating-point endianness configure:7961: gcc -o conftest -g -O2 -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:7965: $? = 0 configure:7971: ./conftest configure:7975: $? = 0 configure:7991: result: least first configure:8002: checking native-code compiler support configure:8150: result: no configure:8164: checking for ld configure:8180: found /usr/bin/ld configure:8191: result: ld configure:8202: checking compile and link flags for dynamic externals configure:8244: result: -fPIC, -shared configure:8263: checking pthread.h usability configure:8280: gcc -c -g -O2 conftest.c >&5 configure:8287: $? = 0 configure:8301: result: yes configure:8305: checking pthread.h presence configure:8320: gcc -E conftest.c configure:8327: $? = 0 configure:8341: result: yes configure:8369: checking for pthread.h configure:8378: result: yes configure:8389: checking Pthreads support configure:8425: gcc -o conftest -g -O2 -mt -rdynamic conftest.c -lnsl -ldl -lm >&5 cc1: error: unrecognized command line option "-mt" configure:8429: $? = 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 S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SELECT 1 | #define HAVE_SETITIMER 1 | #define HAVE_SIGACTION 1 | #define HAVE_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_DLOPEN 1 | #define HAVE_SOCKET 1 | #define HAVE_CHROOT 1 | #define HAVE_STRERROR 1 | #define ENVIRON_NAME environ | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main(void) | { | pthread_kill(pthread_self(), 0); | } configure:8486: gcc -o conftest -g -O2 -rdynamic -mt conftest.c -lnsl -ldl -lm >&5 cc1: error: unrecognized command line option "-mt" configure:8490: $? = 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 S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SELECT 1 | #define HAVE_SETITIMER 1 | #define HAVE_SIGACTION 1 | #define HAVE_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_DLOPEN 1 | #define HAVE_SOCKET 1 | #define HAVE_CHROOT 1 | #define HAVE_STRERROR 1 | #define ENVIRON_NAME environ | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main(void) | { | pthread_kill(pthread_self(), 0); | } configure:8557: gcc -o conftest -g -O2 -pthread -rdynamic conftest.c -lnsl -ldl -lm >&5 configure:8561: $? = 0 configure:8567: ./conftest ./configure: line 8569: 16392 Resource lost ./conftest$ac_exeext configure:8571: $? = 160 configure: program exited with status 160 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SELECT 1 | #define HAVE_SETITIMER 1 | #define HAVE_SIGACTION 1 | #define HAVE_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_DLOPEN 1 | #define HAVE_SOCKET 1 | #define HAVE_CHROOT 1 | #define HAVE_STRERROR 1 | #define ENVIRON_NAME environ | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main(void) | { | pthread_kill(pthread_self(), 0); | } configure:8618: gcc -o conftest -g -O2 -rdynamic -pthread conftest.c -lnsl -ldl -lm >&5 configure:8622: $? = 0 configure:8628: ./conftest ./configure: line 8630: 16412 Resource lost ./conftest$ac_exeext configure:8632: $? = 160 configure: program exited with status 160 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SELECT 1 | #define HAVE_SETITIMER 1 | #define HAVE_SIGACTION 1 | #define HAVE_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_DLOPEN 1 | #define HAVE_SOCKET 1 | #define HAVE_CHROOT 1 | #define HAVE_STRERROR 1 | #define ENVIRON_NAME environ | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main(void) | { | pthread_kill(pthread_self(), 0); | } configure:8689: gcc -o conftest -g -O2 -pthreads -rdynamic conftest.c -lnsl -ldl -lm >&5 gcc: unrecognized option '-pthreads' /tmp/ccQepQHL.o: In function `main': /home/dmoerner-guest/dev/s48.orig/conftest.c:51: undefined reference to `pthread_kill' collect2: ld returned 1 exit status configure:8693: $? = 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 S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SELECT 1 | #define HAVE_SETITIMER 1 | #define HAVE_SIGACTION 1 | #define HAVE_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_DLOPEN 1 | #define HAVE_SOCKET 1 | #define HAVE_CHROOT 1 | #define HAVE_STRERROR 1 | #define ENVIRON_NAME environ | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main(void) | { | pthread_kill(pthread_self(), 0); | } configure:8750: gcc -o conftest -g -O2 -rdynamic -pthreads conftest.c -lnsl -ldl -lm >&5 gcc: unrecognized option '-pthreads' /tmp/cceosU0S.o: In function `main': /home/dmoerner-guest/dev/s48.orig/conftest.c:51: undefined reference to `pthread_kill' collect2: ld returned 1 exit status configure:8754: $? = 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 S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SELECT 1 | #define HAVE_SETITIMER 1 | #define HAVE_SIGACTION 1 | #define HAVE_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_DLOPEN 1 | #define HAVE_SOCKET 1 | #define HAVE_CHROOT 1 | #define HAVE_STRERROR 1 | #define ENVIRON_NAME environ | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main(void) | { | pthread_kill(pthread_self(), 0); | } configure:8821: gcc -o conftest -g -O2 -mthreads -rdynamic conftest.c -lnsl -ldl -lm >&5 cc1: error: unrecognized command line option "-mthreads" configure:8825: $? = 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 S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SELECT 1 | #define HAVE_SETITIMER 1 | #define HAVE_SIGACTION 1 | #define HAVE_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_DLOPEN 1 | #define HAVE_SOCKET 1 | #define HAVE_CHROOT 1 | #define HAVE_STRERROR 1 | #define ENVIRON_NAME environ | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main(void) | { | pthread_kill(pthread_self(), 0); | } configure:8882: gcc -o conftest -g -O2 -rdynamic -mthreads conftest.c -lnsl -ldl -lm >&5 cc1: error: unrecognized command line option "-mthreads" configure:8886: $? = 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 S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SELECT 1 | #define HAVE_SETITIMER 1 | #define HAVE_SIGACTION 1 | #define HAVE_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_DLOPEN 1 | #define HAVE_SOCKET 1 | #define HAVE_CHROOT 1 | #define HAVE_STRERROR 1 | #define ENVIRON_NAME environ | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main(void) | { | pthread_kill(pthread_self(), 0); | } configure:8953: gcc -o conftest -g -O2 -thread -rdynamic conftest.c -lnsl -ldl -lm >&5 gcc: unrecognized option '-thread' /tmp/ccjAh88f.o: In function `main': /home/dmoerner-guest/dev/s48.orig/conftest.c:51: undefined reference to `pthread_kill' collect2: ld returned 1 exit status configure:8957: $? = 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 S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SELECT 1 | #define HAVE_SETITIMER 1 | #define HAVE_SIGACTION 1 | #define HAVE_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_DLOPEN 1 | #define HAVE_SOCKET 1 | #define HAVE_CHROOT 1 | #define HAVE_STRERROR 1 | #define ENVIRON_NAME environ | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main(void) | { | pthread_kill(pthread_self(), 0); | } configure:9014: gcc -o conftest -g -O2 -rdynamic -thread conftest.c -lnsl -ldl -lm >&5 gcc: unrecognized option '-thread' /tmp/ccoZnie2.o: In function `main': /home/dmoerner-guest/dev/s48.orig/conftest.c:51: undefined reference to `pthread_kill' collect2: ld returned 1 exit status configure:9018: $? = 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 S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SELECT 1 | #define HAVE_SETITIMER 1 | #define HAVE_SIGACTION 1 | #define HAVE_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_DLOPEN 1 | #define HAVE_SOCKET 1 | #define HAVE_CHROOT 1 | #define HAVE_STRERROR 1 | #define ENVIRON_NAME environ | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | #include <pthread.h> | int | main(void) | { | pthread_kill(pthread_self(), 0); | } configure:9058: checking -munaligned-doubles configure:9081: gcc -o conftest -g -O2 -munaligned-doubles -rdynamic conftest.c -lnsl -ldl -lm >&5 cc1: error: unrecognized command line option "-munaligned-doubles" configure:9085: $? = 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 S48_GC_TWOSPACE 1 | #define BITS_PER_BYTE 8 | #define SIZEOF_VOID_P 4 | #define WORDSIZE 32 | #define _FILE_OFFSET_BITS 64 | #define HAVE_INLINE 1 | #define HAVE_LIBM 1 | #define HAVE_LIBDL 1 | #define HAVE_LIBNSL 1 | #define RETSIGTYPE void | #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_UINTPTR_T 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYSEXITS_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SELECT 1 | #define HAVE_SETITIMER 1 | #define HAVE_SIGACTION 1 | #define HAVE_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_DLOPEN 1 | #define HAVE_SOCKET 1 | #define HAVE_CHROOT 1 | #define HAVE_STRERROR 1 | #define ENVIRON_NAME environ | #define HAVE_PTHREAD_H 1 | /* end confdefs.h. */ | int main() { return 0;} configure:9106: result: no configure:9238: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on strauss config.status:777: creating Makefile config.status:777: creating c/sysdep.h config.status:777: creating c/scheme48arch.h ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_bits_per_byte=8 ac_cv_build=i686-unknown-gnu0.3 ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_uint16_t=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_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_GLIB_CFLAGS_set= ac_cv_env_GLIB_CFLAGS_value= ac_cv_env_GLIB_LIBS_set= ac_cv_env_GLIB_LIBS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_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_chroot=yes ac_cv_func_dlopen=yes ac_cv_func_ftime=yes ac_cv_func_gettimeofday=yes ac_cv_func_nl_langinfo=yes ac_cv_func_poll=yes ac_cv_func_select=yes ac_cv_func_setitimer=yes ac_cv_func_sigaction=yes ac_cv_func_socket=yes ac_cv_func_strerror=yes ac_cv_header_inttypes_h=yes ac_cv_header_langinfo_h=yes ac_cv_header_libgen_h=yes ac_cv_header_memory_h=yes ac_cv_header_poll_h=yes ac_cv_header_posix_time_h=no ac_cv_header_pthread_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_timeb_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sysexits_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i686-unknown-gnu0.3 ac_cv_lib_dl_main=yes ac_cv_lib_gen_main=no ac_cv_lib_m_main=yes ac_cv_lib_mld_main=no ac_cv_lib_nsl_main=yes ac_cv_lib_socket_main=no ac_cv_lib_sun_getpwnam=no ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_CPP='gcc -E' ac_cv_prog_LD=ld ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_search_strerror='none required' ac_cv_sizeof_void_p=4 ac_cv_sys_file_offset_bits=64 ac_cv_sys_largefile_CC=no ac_cv_type_signal=void ac_cv_type_uintptr_t=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ASM_OBJECTS='${FAKE_ASM_OBJECTS}' ASM_STYLE='' BIT_SUFFIX='32' CC='gcc' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' DYNAMIC_EXTERNALS_CFLAGS='-fPIC' DYNAMIC_EXTERNALS_LDFLAGS='-shared' DYNAMIC_EXTERNALS_LDFLAGS_IN_PLACE='-shared' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GC_OBJS='${GC_TWOSPACE_OBJS}' GLIB_CFLAGS='' GLIB_LIBS='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LD='ld' LDFLAGS=' -rdynamic' LDFLAGS_VM='' LIBOBJS='' LIBS='-lnsl -ldl -lm ' LTLIBOBJS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/pkg-config' S48_GC_BIBOP='' S48_GC_TWOSPACE='' SHELL='/bin/sh' ac_ct_CC='gcc' bindir='${exec_prefix}/bin' build='i686-unknown-gnu0.3' build_alias='' build_cpu='i686' build_os='gnu0.3' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='${prefix}' host='i686-unknown-gnu0.3' host_alias='' host_cpu='i686' host_os='gnu0.3' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' 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 "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define S48_GC_TWOSPACE 1 #define BITS_PER_BYTE 8 #define SIZEOF_VOID_P 4 #define WORDSIZE 32 #define _FILE_OFFSET_BITS 64 #define HAVE_INLINE 1 #define HAVE_LIBM 1 #define HAVE_LIBDL 1 #define HAVE_LIBNSL 1 #define RETSIGTYPE void #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_UINTPTR_T 1 #define HAVE_LIBGEN_H 1 #define HAVE_SYS_TIMEB_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYSEXITS_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_FTIME 1 #define HAVE_SELECT 1 #define HAVE_SETITIMER 1 #define HAVE_SIGACTION 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_DLOPEN 1 #define HAVE_SOCKET 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define ENVIRON_NAME environ #define HAVE_PTHREAD_H 1 configure: exit 0
### s48_pthread_try_flags.m4 --- S48_PTHREAD_TRY_FLAGS macro -*- Autoconf -*- # serial 1 dnl AC_DEFUN([S48_PTHREAD_TRY_FLAGS], [ if test "$pthreads_done" = "no"; then flags_result="" oldCFLAGS="$CFLAGS" CFLAGS="$CFLAGS $1" AC_TRY_RUN([#include <pthread.h> int main(void) { pthread_kill(pthread_self(), 0); }], [flags_result="$1 (compile)"], [CFLAGS="$oldCFLAGS"]) oldLDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $1" AC_TRY_RUN([#include <pthread.h> int main(void) { pthread_kill(pthread_self(), 0); }], [flags_result="$flags_result $1 (link)" pthreads_done="yes"], [LDFLAGS="$oldLDFLAGS"]) if test -n "$flags_result"; then AC_MSG_RESULT($flags_result) fi fi ]) ### s48_pthread_try_flags.m4 ends here
Attachment:
signature.asc
Description: OpenPGP digital signature