Build of pth with musl toolchain

The build took 00h 01m 26s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
9,722 sh
8,792 ansic
360 makefile
112 perl
18,986 total

The process tree of the build process is here.

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: pth 2.0.7-5 (Tue Apr 4 23:43:55 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure: WARNING: If you wanted to set the --build type, don't use --host.
# If a cross compiler is detected then cross compile mode will be used.
# Configuring GNU Pth (Portable Threads), Version 2.0.7 (08-Jun-2006)
# Copyright (c) 1999-2006 Ralf S. Engelschall
# Platform: x86_64-unknown-linux-gnu
#
# Build Tools:
# checking for x86_64-unknown-linux-gcc... clang
# checking for C compiler default output file name... a.out
# checking whether the C compiler works... yes
# checking whether we are cross compiling... yes
# checking for suffix of executables...
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ANSI C... none needed
# checking how to run the C preprocessor... clang -E
# checking for egrep... grep -E
# checking whether make sets $(MAKE)... yes
# checking for compiler option -pipe... yes
# checking for compilation debug mode... disabled
# checking for compilation profile mode... disabled
# checking for compilation optimization mode... disabled
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking for a sed that does not truncate output... /usr/sbin/sed
# checking for ld used by clang... /sysroot/bin/ld
# checking if the linker (/sysroot/bin/ld) is GNU ld... yes
# checking for /sysroot/bin/ld option to reload object files... -r
# checking for BSD-compatible nm... /sysroot/bin/nm -B
# checking whether ln -s works... yes
# checking how to recognise dependent libraries... pass_all
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking dlfcn.h usability... yes
# checking dlfcn.h presence... yes
# checking for dlfcn.h... yes
# checking for x86_64-unknown-linux-g++... clang++
# checking whether we are using the GNU C++ compiler... yes
# checking whether clang++ accepts -g... yes
# checking how to run the C++ preprocessor... clang++ -E
# checking for x86_64-unknown-linux-g77... no
# checking for x86_64-unknown-linux-f77... no
# checking for x86_64-unknown-linux-xlf... no
# checking for x86_64-unknown-linux-frt... no
# checking for x86_64-unknown-linux-pgf77... no
# checking for x86_64-unknown-linux-fort77... no
# checking for x86_64-unknown-linux-fl32... no
# checking for x86_64-unknown-linux-af77... no
# checking for x86_64-unknown-linux-f90... no
# checking for x86_64-unknown-linux-xlf90... no
# checking for x86_64-unknown-linux-pgf90... no
# checking for x86_64-unknown-linux-epcf90... no
# checking for x86_64-unknown-linux-f95... no
# checking for x86_64-unknown-linux-fort... no
# checking for x86_64-unknown-linux-xlf95... no
# checking for x86_64-unknown-linux-ifc... no
# checking for x86_64-unknown-linux-efc... no
# checking for x86_64-unknown-linux-pgf95... no
# checking for x86_64-unknown-linux-lf95... no
# checking for x86_64-unknown-linux-gfortran... no
# checking for g77... no
# checking for f77... no
# checking for xlf... no
# checking for frt... no
# checking for pgf77... no
# checking for fort77... no
# checking for fl32... no
# checking for af77... no
# checking for f90... no
# checking for xlf90... no
# checking for pgf90... no
# checking for epcf90... no
# checking for f95... f95
# checking whether we are using the GNU Fortran 77 compiler... yes
# checking whether f95 accepts -g... yes
# checking the maximum length of command line arguments... 32768
# checking command to parse /sysroot/bin/nm -B output from clang object... ok
# checking for objdir... .libs
# checking for x86_64-unknown-linux-ar... no
# checking for ar... ar
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# checking if clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC
# checking if clang PIC flag -fPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking whether -lc should be explicitly linked in... no
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... yes
# checking whether to build static libraries... no
# configure: creating libtool
# appending configuration tag "CXX" to libtool
# checking for ld used by clang++... /sysroot/bin/ld -m elf_x86_64
# checking if the linker (/sysroot/bin/ld -m elf_x86_64) is GNU ld... yes
# checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking for clang++ option to produce PIC... -fPIC
# checking if clang++ PIC flag -fPIC works... yes
# checking if clang++ static flag -static works... no
# checking if clang++ supports -c -o file.o... yes
# checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# appending configuration tag "F77" to libtool
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... yes
# checking whether to build static libraries... no
# checking for f95 option to produce PIC... -fPIC
# checking if f95 PIC flag -fPIC works... yes
# checking if f95 static flag -static works... no
# checking if f95 supports -c -o file.o... yes
# checking whether the f95 linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
#
# Mandatory Platform Environment:
# checking for ANSI C header files... (cached) yes
# checking stdio.h usability... yes
# checking stdio.h presence... yes
# checking for stdio.h... yes
# checking for stdlib.h... (cached) yes
# checking stdarg.h usability... yes
# checking stdarg.h presence... yes
# checking for stdarg.h... yes
# checking for string.h... (cached) yes
# checking signal.h usability... yes
# checking signal.h presence... yes
# checking for signal.h... yes
# checking for unistd.h... (cached) yes
# checking setjmp.h usability... yes
# checking setjmp.h presence... yes
# checking for setjmp.h... yes
# checking fcntl.h usability... yes
# checking fcntl.h presence... yes
# checking for fcntl.h... yes
# checking errno.h usability... yes
# checking errno.h presence... yes
# checking for errno.h... yes
# checking for sys/types.h... (cached) yes
# checking sys/time.h usability... yes
# checking sys/time.h presence... yes
# checking for sys/time.h... yes
# checking sys/wait.h usability... yes
# checking sys/wait.h presence... yes
# checking for sys/wait.h... yes
# checking for sys/stat.h... (cached) yes
# checking sys/socket.h usability... yes
# checking sys/socket.h presence... yes
# checking for sys/socket.h... yes
# checking for gettimeofday... yes
# checking for select... yes
# checking for sigaction... yes
# checking for sigprocmask... yes
# checking for sigpending... yes
# checking for sigsuspend... yes
# decision on mandatory system headers and functions... all fine
#
# Optional Platform Environment:
# checking for number of signals... 32
# checking for default value of FD_SETSIZE... 1024
# checking for poll... yes
# checking for define POLLIN in poll.h... yes
# checking whether poll(2) facility has to be faked... no
# checking sys/uio.h usability... yes
# checking sys/uio.h presence... yes
# checking for sys/uio.h... yes
# checking for readv... yes
# checking for writev... yes
# checking whether readv(2)/writev(2) facility has to be faked... no
# checking for usleep... yes
# checking for strerror... yes
# checking sys/resource.h usability... yes
# checking sys/resource.h presence... yes
# checking for sys/resource.h... yes
# checking net/errno.h usability... no
# checking net/errno.h presence... no
# checking for net/errno.h... no
# checking paths.h usability... yes
# checking paths.h presence... yes
# checking for paths.h... yes
# checking for gethostname in -lnsl... no
# checking for gethostbyname in -lnsl... no
# checking for accept in -lsocket... no
# checking sys/select.h usability... yes
# checking sys/select.h presence... yes
# checking for sys/select.h... yes
# checking for typedef sig_atomic_t... yes
# checking for typedef pid_t... yes
# checking for typedef size_t... yes
# checking for typedef ssize_t... yes
# checking for typedef off_t... yes
# checking for typedef stack_t... yes
# checking for attribute ss_base in struct sigaltstack from sys/signal.h... no
# checking for attribute ss_sp in struct sigaltstack from sys/signal.h... yes
# checking for a single-argument based gettimeofday... no
# checking for struct timespec... yes
# checking for typedef socklen_t... yes
# checking for type of argument 3 for accept()... socklen_t *
# checking for fallback socklen_t... socklen_t
# checking for typedef nfds_t... yes
# checking for type of argument 2 for poll()... nfds_t
# checking for fallback nfds_t... nfds_t
# checking for built-in type long long... yes
# checking for built-in type long double... yes
#
# Machine Context Implementation:
# checking for ucontext.h... yes
# checking for makecontext... no
# checking for swapcontext... no
# checking for getcontext... no
# checking for setcontext... no
# checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... no
# checking for signal.h... (cached) yes
# checking for sigsetjmp... yes
# checking for siglongjmp... yes
# checking for setjmp... yes
# checking for longjmp... yes
# checking for _setjmp... yes
# checking for _longjmp... yes
# checking for sigaltstack... yes
# checking for sigstack... no
# checking for signal-mask aware setjmp(3)/longjmp(3)... yes: sjljlx
# checking for typedef stack_t... (cached) yes
# checking for direction of stack growth... down
# checking for makecontext... (cached) no
# checking for stack setup via makecontext... N.A.
# checking for sigaltstack... (cached) yes
# checking for typedef stack_t... (cached) yes
# checking for stack setup via sigaltstack... guessed
# checking for sigstack... (cached) no
# checking for stack setup via sigstack... N.A.
# decision on mctx implementation... sjlj/sjljlx/none
#
# System Call Mapping:
# checking sys/syscall.h usability... yes
# checking sys/syscall.h presence... yes
# checking for sys/syscall.h... yes
# checking sys/socketcall.h usability... no
# checking sys/socketcall.h presence... no
# checking for sys/socketcall.h... no
# checking for syscall... yes
# checking for define SYS_read in sys/syscall.h... yes
# checking for dlfcn.h... (cached) yes
# checking for dlsym in -ldl... yes
# checking for dlopen... yes
# checking for dlsym... yes
# checking for dlclose... yes
# checking for define RTLD_NEXT in dlfcn.h... yes
# checking for syscall dynamic libraries... /usr/lib/libdl.so:/lib/libdl.so:/usr/lib/libc.so:/lib/libc.so
# checking whether soft system call mapping is used... no
# checking whether hard system call mapping is used... no
#
# Build Parameters:
# checking whether to activate batch build mode... no
# checking whether to activate maintainer build targets... no
# checking whether to activate test build targets... yes
# checking whether to build Pthread library... no
# checking whether to build against external OSSP ex library... no
# checking whether to build against external Sfio library... no
# checking whether to build against external Dmalloc library... no
#
# Output Substitution:
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating pthread-config
# config.status: creating pthread.h
# config.status: creating pth-config
# config.status: creating pth.h
# config.status: creating pth_acmac.h
# config.status: creating pth_acdef.h
# config.status: executing default commands
#
# Now please type `make' to compile. Good luck.
#
# ./shtool scpp -o pth_p.h -t pth_p.h.in -Dcpp -Cintern -M '==#==' pth_compat.c pth_debug.c pth_syscall.c pth_errno.c pth_ring.c pth_mctx.c pth_uctx.c pth_clean.c pth_time.c pth_tcb.c pth_util.c pth_pqueue.c pth_event.c pth_sched.c pth_data.c pth_msg.c pth_cancel.c pth_sync.c pth_attr.c pth_lib.c pth_fork.c pth_high.c pth_ext.c pth_string.c pthread.c
# ./libtool --mode=compile --quiet clang -c -I. -pipe pth_debug.c
# In file included from pth_debug.c:29:
# In file included from pth_p.h.in:54:
# In file included from ./pth.h:46:
# /sysroot/include/sys/signal.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# ./libtool --mode=compile --quiet clang -c -I. -pipe pth_ring.c
# In file included from pth_ring.c:42:
# In file included from pth_p.h.in:54:
# In file included from ./pth.h:46:
# /sysroot/include/sys/signal.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# ./libtool --mode=compile --quiet clang -c -I. -pipe pth_pqueue.c
# In file included from pth_pqueue.c:28:
# In file included from pth_p.h.in:54:
# In file included from ./pth.h:46:
# /sysroot/include/sys/signal.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# ./libtool --mode=compile --quiet clang -c -I. -pipe pth_time.c
# In file included from pth_time.c:29:
# In file included from pth_p.h.in:54:
# In file included from ./pth.h:46:
# /sysroot/include/sys/signal.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# ./libtool --mode=compile --quiet clang -c -I. -pipe pth_errno.c
# In file included from pth_errno.c:28:
# In file included from pth_p.h.in:54:
# In file included from ./pth.h:46:
# /sysroot/include/sys/signal.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# ./libtool --mode=compile --quiet clang -c -I. -pipe pth_mctx.c
# In file included from pth_mctx.c:28:
# In file included from pth_p.h.in:54:
# In file included from ./pth.h:46:
# /sysroot/include/sys/signal.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# pth_mctx.c:480:2: error: "Unsupported Linux (g)libc version and/or platform"
# #error "Unsupported Linux (g)libc version and/or platform"
# ^
# 1 warning and 1 error generated.
# make: *** [Makefile:155: pth_mctx.lo] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/pth/src/pth-2.0.7/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by configure, which was
# generated by GNU Autoconf 2.59 (OpenPKG-CURRENT). Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --disable-static --enable-shared --with-pic
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = dd599d5c164c
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /sysroot/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:1671: result:
# configure:1673: result: Build Tools:
# configure:1686: checking for x86_64-unknown-linux-gcc
# configure:1712: result: clang
# configure:1994: checking for C compiler version
# configure:1997: clang --version &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2000: $? = 0
# configure:2002: clang -v &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:2005: $? = 0
# configure:2007: clang -V &5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2010: $? = 1
# configure:2033: checking for C compiler default output file name
# configure:2036: clang conftest.c >&5
# configure:2039: $? = 0
# configure:2085: result: a.out
# configure:2090: checking whether the C compiler works
# configure:2096: ./a.out
# ./a.out: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:2099: $? = 127
# configure:2116: result: yes
# configure:2123: checking whether we are cross compiling
# configure:2125: result: yes
# configure:2128: checking for suffix of executables
# configure:2130: clang -o conftest conftest.c >&5
# configure:2133: $? = 0
# configure:2158: result:
# configure:2164: checking for suffix of object files
# configure:2185: clang -c conftest.c >&5
# configure:2188: $? = 0
# configure:2210: result: o
# configure:2214: checking whether we are using the GNU C compiler
# configure:2238: clang -c conftest.c >&5
# configure:2244: $? = 0
# configure:2248: test -z
# || test ! -s conftest.err
# configure:2251: $? = 0
# configure:2254: test -s conftest.o
# configure:2257: $? = 0
# configure:2270: result: yes
# configure:2276: checking whether clang accepts -g
# configure:2297: clang -c -g conftest.c >&5
# configure:2303: $? = 0
# configure:2307: test -z
# || test ! -s conftest.err
# configure:2310: $? = 0
# configure:2313: test -s conftest.o
# configure:2316: $? = 0
# configure:2327: result: yes
# configure:2344: checking for clang option to accept ANSI C
# configure:2414: clang -c conftest.c >&5
# configure:2420: $? = 0
# configure:2424: test -z
# || test ! -s conftest.err
# configure:2427: $? = 0
# configure:2430: test -s conftest.o
# configure:2433: $? = 0
# configure:2451: result: none needed
# configure:2469: clang -c conftest.c >&5
# conftest.c:2:3: error: unknown type name 'choke'
# choke me
# ^
# conftest.c:2:11: error: expected ';' after top level declarator
# choke me
# ^
# ;
# 2 errors generated.
# configure:2475: $? = 1
# configure: failed program was:
# | #ifndef __cplusplus
# | choke me
# | #endif
# configure:2613: checking how to run the C preprocessor
# configure:2648: clang -E conftest.c
# configure:2654: $? = 0
# configure:2686: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2692: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# | #include
# configure:2731: result: clang -E
# configure:2755: clang -E conftest.c
# configure:2761: $? = 0
# configure:2793: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2799: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | /* end confdefs.h. */
# | #include
# configure:2842: checking for egrep
# configure:2852: result: grep -E
# configure:2857: checking whether make sets $(MAKE)
# configure:2877: result: yes
# configure:3029: checking for compiler option -pipe
# configure:3052: result: yes
# configure:3067: checking for compilation debug mode
# configure:3069: result: disabled
# configure:3075: checking for compilation profile mode
# configure:3094: result: disabled
# configure:3239: checking for compilation optimization mode
# configure:3241: result: disabled
# configure:3818: checking build system type
# configure:3836: result: x86_64-unknown-linux-gnu
# configure:3844: checking host system type
# configure:3858: result: x86_64-unknown-linux-gnu
# configure:3866: checking for a sed that does not truncate output
# configure:3920: result: /usr/sbin/sed
# configure:3934: checking for ld used by clang
# configure:4001: result: /sysroot/bin/ld
# configure:4010: checking if the linker (/sysroot/bin/ld) is GNU ld
# configure:4025: result: yes
# configure:4030: checking for /sysroot/bin/ld option to reload object files
# configure:4037: result: -r
# configure:4055: checking for BSD-compatible nm
# configure:4104: result: /sysroot/bin/nm -B
# configure:4108: checking whether ln -s works
# configure:4112: result: yes
# configure:4119: checking how to recognise dependent libraries
# configure:4295: result: pass_all
# configure:4383: clang -c -pipe conftest.c >&5
# configure:4386: $? = 0
# configure:4528: checking for ANSI C header files
# configure:4553: clang -c -pipe conftest.c >&5
# configure:4559: $? = 0
# configure:4563: test -z
# || test ! -s conftest.err
# configure:4566: $? = 0
# configure:4569: test -s conftest.o
# configure:4572: $? = 0
# configure:4684: result: yes
# configure:4708: checking for sys/types.h
# configure:4724: clang -c -pipe conftest.c >&5
# configure:4730: $? = 0
# configure:4734: test -z
# || test ! -s conftest.err
# configure:4737: $? = 0
# configure:4740: test -s conftest.o
# configure:4743: $? = 0
# configure:4754: result: yes
# configure:4708: checking for sys/stat.h
# configure:4724: clang -c -pipe conftest.c >&5
# configure:4730: $? = 0
# configure:4734: test -z
# || test ! -s conftest.err
# configure:4737: $? = 0
# configure:4740: test -s conftest.o
# configure:4743: $? = 0
# configure:4754: result: yes
# configure:4708: checking for stdlib.h
# configure:4724: clang -c -pipe conftest.c >&5
# configure:4730: $? = 0
# configure:4734: test -z
# || test ! -s conftest.err
# configure:4737: $? = 0
# configure:4740: test -s conftest.o
# configure:4743: $? = 0
# configure:4754: result: yes
# configure:4708: checking for string.h
# configure:4724: clang -c -pipe conftest.c >&5
# configure:4730: $? = 0
# configure:4734: test -z
# || test ! -s conftest.err
# configure:4737: $? = 0
# configure:4740: test -s conftest.o
# configure:4743: $? = 0
# configure:4754: result: yes
# configure:4708: checking for memory.h
# configure:4724: clang -c -pipe conftest.c >&5
# configure:4730: $? = 0
# configure:4734: test -z
# || test ! -s conftest.err
# configure:4737: $? = 0
# configure:4740: test -s conftest.o
# configure:4743: $? = 0
# configure:4754: result: yes
# configure:4708: checking for strings.h
# configure:4724: clang -c -pipe conftest.c >&5
# configure:4730: $? = 0
# configure:4734: test -z
# || test ! -s conftest.err
# configure:4737: $? = 0
# configure:4740: test -s conftest.o
# configure:4743: $? = 0
# configure:4754: result: yes
# configure:4708: checking for inttypes.h
# configure:4724: clang -c -pipe conftest.c >&5
# configure:4730: $? = 0
# configure:4734: test -z
# || test ! -s conftest.err
# configure:4737: $? = 0
# configure:4740: test -s conftest.o
# configure:4743: $? = 0
# configure:4754: result: yes
# configure:4708: checking for stdint.h
# configure:4724: clang -c -pipe conftest.c >&5
# configure:4730: $? = 0
# configure:4734: test -z
# || test ! -s conftest.err
# configure:4737: $? = 0
# configure:4740: test -s conftest.o
# configure:4743: $? = 0
# configure:4754: result: yes
# configure:4708: checking for unistd.h
# configure:4724: clang -c -pipe conftest.c >&5
# configure:4730: $? = 0
# configure:4734: test -z
# || test ! -s conftest.err
# configure:4737: $? = 0
# configure:4740: test -s conftest.o
# configure:4743: $? = 0
# configure:4754: result: yes
# configure:4780: checking dlfcn.h usability
# configure:4792: clang -c -pipe conftest.c >&5
# configure:4798: $? = 0
# configure:4802: test -z
# || test ! -s conftest.err
# configure:4805: $? = 0
# configure:4808: test -s conftest.o
# configure:4811: $? = 0
# configure:4821: result: yes
# configure:4825: checking dlfcn.h presence
# configure:4835: clang -E conftest.c
# configure:4841: $? = 0
# configure:4861: result: yes
# configure:4896: checking for dlfcn.h
# configure:4903: result: yes
# configure:4926: checking for x86_64-unknown-linux-g++
# configure:4952: result: clang++
# configure:5010: checking for C++ compiler version
# configure:5013: clang++ --version &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:5016: $? = 0
# configure:5018: clang++ -v &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:5021: $? = 0
# configure:5023: clang++ -V &5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:5026: $? = 1
# configure:5029: checking whether we are using the GNU C++ compiler
# configure:5053: clang++ -c conftest.cc >&5
# configure:5059: $? = 0
# configure:5063: test -z
# || test ! -s conftest.err
# configure:5066: $? = 0
# configure:5069: test -s conftest.o
# configure:5072: $? = 0
# configure:5085: result: yes
# configure:5091: checking whether clang++ accepts -g
# configure:5112: clang++ -c -g conftest.cc >&5
# configure:5118: $? = 0
# configure:5122: test -z
# || test ! -s conftest.err
# configure:5125: $? = 0
# configure:5128: test -s conftest.o
# configure:5131: $? = 0
# configure:5142: result: yes
# configure:5184: clang++ -c conftest.cc >&5
# configure:5190: $? = 0
# configure:5194: test -z
# || test ! -s conftest.err
# configure:5197: $? = 0
# configure:5200: test -s conftest.o
# configure:5203: $? = 0
# configure:5229: clang++ -c conftest.cc >&5
# conftest.cc:24:1: error: use of undeclared identifier 'exit'
# exit (42);
# ^
# 1 error generated.
# configure:5235: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | /* end confdefs.h. */
# |
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:5184: clang++ -c conftest.cc >&5
# conftest.cc:20:17: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int) throw (); using std::exit;
# ^
# conftest.cc:20:49: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int) throw (); using std::exit;
# ^
# 2 errors generated.
# configure:5190: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | /* end confdefs.h. */
# | extern "C" void std::exit (int) throw (); using std::exit;
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:5184: clang++ -c conftest.cc >&5
# conftest.cc:20:17: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int); using std::exit;
# ^
# conftest.cc:20:40: error: use of undeclared identifier 'std'
# extern "C" void std::exit (int); using std::exit;
# ^
# 2 errors generated.
# configure:5190: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | /* end confdefs.h. */
# | extern "C" void std::exit (int); using std::exit;
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:5184: clang++ -c conftest.cc >&5
# In file included from conftest.cc:21:
# In file included from /sysroot/bin/../include/c++/v1/stdlib.h:94:
# /sysroot/include/stdlib.h:46:16: error: 'exit' is missing exception specification 'throw()'
# _Noreturn void exit (int);
# ^
# conftest.cc:20:17: note: previous declaration is here
# extern "C" void exit (int) throw ();
# ^
# 1 error generated.
# configure:5190: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | /* end confdefs.h. */
# | extern "C" void exit (int) throw ();
# | #include
# | int
# | main ()
# | {
# | exit (42);
# | ;
# | return 0;
# | }
# configure:5184: clang++ -c conftest.cc >&5
# configure:5190: $? = 0
# configure:5194: test -z
# || test ! -s conftest.err
# configure:5197: $? = 0
# configure:5200: test -s conftest.o
# configure:5203: $? = 0
# configure:5229: clang++ -c conftest.cc >&5
# configure:5235: $? = 0
# configure:5239: test -z
# || test ! -s conftest.err
# configure:5242: $? = 0
# configure:5245: test -s conftest.o
# configure:5248: $? = 0
# configure:5281: checking how to run the C++ preprocessor
# configure:5312: clang++ -E conftest.cc
# configure:5318: $? = 0
# configure:5350: clang++ -E conftest.cc
# conftest.cc:23:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:5356: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | /* end confdefs.h. */
# | #include
# configure:5395: result: clang++ -E
# configure:5419: clang++ -E conftest.cc
# configure:5425: $? = 0
# configure:5457: clang++ -E conftest.cc
# conftest.cc:23:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:5463: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | /* end confdefs.h. */
# | #include
# configure:5518: checking for x86_64-unknown-linux-g77
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-f77
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-xlf
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-frt
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-pgf77
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-fort77
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-fl32
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-af77
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-f90
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-xlf90
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-pgf90
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-epcf90
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-f95
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-fort
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-xlf95
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-ifc
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-efc
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-pgf95
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-lf95
# configure:5547: result: no
# configure:5518: checking for x86_64-unknown-linux-gfortran
# configure:5547: result: no
# configure:5560: checking for g77
# configure:5589: result: no
# configure:5560: checking for f77
# configure:5589: result: no
# configure:5560: checking for xlf
# configure:5589: result: no
# configure:5560: checking for frt
# configure:5589: result: no
# configure:5560: checking for pgf77
# configure:5589: result: no
# configure:5560: checking for fort77
# configure:5589: result: no
# configure:5560: checking for fl32
# configure:5589: result: no
# configure:5560: checking for af77
# configure:5589: result: no
# configure:5560: checking for f90
# configure:5589: result: no
# configure:5560: checking for xlf90
# configure:5589: result: no
# configure:5560: checking for pgf90
# configure:5589: result: no
# configure:5560: checking for epcf90
# configure:5589: result: no
# configure:5560: checking for f95
# configure:5576: found /usr/sbin/f95
# configure:5586: result: f95
# configure:5601: checking for Fortran 77 compiler version
# configure:5604: f95 --version &5
# GNU Fortran (GCC) 6.1.1 20160602
# Copyright (C) 2016 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:5607: $? = 0
# configure:5609: f95 -v &5
# Using built-in specs.
# COLLECT_GCC=f95
# COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/lto-wrapper
# Target: x86_64-pc-linux-gnu
# Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release
# Thread model: posix
# gcc version 6.1.1 20160602 (GCC)
# configure:5612: $? = 0
# configure:5614: f95 -V &5
# f95: error: unrecognized command line option '-V'
# f95: fatal error: no input files
# compilation terminated.
# configure:5617: $? = 1
# configure:5625: checking whether we are using the GNU Fortran 77 compiler
# configure:5639: f95 -c conftest.F >&5
# configure:5645: $? = 0
# configure:5649: test -z
# || test ! -s conftest.err
# configure:5652: $? = 0
# configure:5655: test -s conftest.o
# configure:5658: $? = 0
# configure:5671: result: yes
# configure:5677: checking whether f95 accepts -g
# configure:5689: f95 -c -g conftest.f >&5
# configure:5695: $? = 0
# configure:5699: test -z
# || test ! -s conftest.err
# configure:5702: $? = 0
# configure:5705: test -s conftest.o
# configure:5708: $? = 0
# configure:5720: result: yes
# configure:5750: checking the maximum length of command line arguments
# configure:5859: result: 32768
# configure:5870: checking command to parse /sysroot/bin/nm -B output from clang object
# configure:5975: clang -c -pipe conftest.c >&5
# configure:5978: $? = 0
# configure:5982: /sysroot/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:5985: $? = 0
# configure:6037: clang -o conftest -pipe conftest.c conftstm.o >&5
# configure:6040: $? = 0
# configure:6078: result: ok
# configure:6082: checking for objdir
# configure:6097: result: .libs
# configure:6149: checking for x86_64-unknown-linux-ar
# configure:6178: result: no
# configure:6187: checking for ar
# configure:6203: found /sysroot/bin/ar
# configure:6214: result: ar
# configure:6229: checking for x86_64-unknown-linux-ranlib
# configure:6258: result: no
# configure:6267: checking for ranlib
# configure:6283: found /sysroot/bin/ranlib
# configure:6294: result: ranlib
# configure:6309: checking for x86_64-unknown-linux-strip
# configure:6338: result: no
# configure:6347: checking for strip
# configure:6363: found /sysroot/bin/strip
# configure:6374: result: strip
# configure:6650: checking if clang supports -fno-rtti -fno-exceptions
# configure:6668: clang -c -pipe -fno-rtti -fno-exceptions conftest.c >&5
# configure:6672: $? = 0
# configure:6685: result: yes
# configure:6700: checking for clang option to produce PIC
# configure:6910: result: -fPIC
# configure:6918: checking if clang PIC flag -fPIC works
# configure:6936: clang -c -pipe -fPIC -DPIC conftest.c >&5
# configure:6940: $? = 0
# configure:6953: result: yes
# configure:6981: checking if clang static flag -static works
# configure:7009: result: no
# configure:7019: checking if clang supports -c -o file.o
# configure:7040: clang -c -pipe -o out/conftest2.o conftest.c >&5
# configure:7044: $? = 0
# configure:7066: result: yes
# configure:7092: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:8050: result: yes
# configure:8071: checking whether -lc should be explicitly linked in
# configure:8076: clang -c -pipe conftest.c >&5
# configure:8079: $? = 0
# configure:8094: clang -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1
# configure:8097: $? = 0
# configure:8109: result: no
# configure:8117: checking dynamic linker characteristics
# configure:8705: result: GNU/Linux ld.so
# configure:8714: checking how to hardcode library paths into programs
# configure:8739: result: immediate
# configure:8753: checking whether stripping libraries is possible
# configure:8758: result: yes
# configure:9592: checking if libtool supports shared libraries
# configure:9594: result: yes
# configure:9597: checking whether to build shared libraries
# configure:9618: result: yes
# configure:9621: checking whether to build static libraries
# configure:9625: result: no
# configure:9717: creating libtool
# configure:10305: checking for ld used by clang++
# configure:10372: result: /sysroot/bin/ld -m elf_x86_64
# configure:10381: checking if the linker (/sysroot/bin/ld -m elf_x86_64) is GNU ld
# configure:10396: result: yes
# configure:10447: checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:11385: result: yes
# configure:11407: clang++ -c conftest.cpp >&5
# configure:11410: $? = 0
# configure:11529: checking for clang++ option to produce PIC
# configure:11803: result: -fPIC
# configure:11811: checking if clang++ PIC flag -fPIC works
# configure:11829: clang++ -c -fPIC -DPIC conftest.cpp >&5
# configure:11833: $? = 0
# configure:11846: result: yes
# configure:11874: checking if clang++ static flag -static works
# configure:11902: result: no
# configure:11912: checking if clang++ supports -c -o file.o
# configure:11933: clang++ -c -o out/conftest2.o conftest.cpp >&5
# configure:11937: $? = 0
# configure:11959: result: yes
# configure:11985: checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:12010: result: yes
# configure:12077: checking dynamic linker characteristics
# configure:12665: result: GNU/Linux ld.so
# configure:12674: checking how to hardcode library paths into programs
# configure:12699: result: immediate
# configure:13225: checking if libtool supports shared libraries
# configure:13227: result: yes
# configure:13230: checking whether to build shared libraries
# configure:13250: result: yes
# configure:13253: checking whether to build static libraries
# configure:13257: result: no
# configure:13267: checking for f95 option to produce PIC
# configure:13477: result: -fPIC
# configure:13485: checking if f95 PIC flag -fPIC works
# configure:13503: f95 -c -g -O2 -fPIC conftest.f >&5
# configure:13507: $? = 0
# configure:13520: result: yes
# configure:13548: checking if f95 static flag -static works
# configure:13576: result: no
# configure:13586: checking if f95 supports -c -o file.o
# configure:13607: f95 -c -g -O2 -o out/conftest2.o conftest.f >&5
# configure:13611: $? = 0
# configure:13633: result: yes
# configure:13659: checking whether the f95 linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:14597: result: yes
# configure:14664: checking dynamic linker characteristics
# configure:15252: result: GNU/Linux ld.so
# configure:15261: checking how to hardcode library paths into programs
# configure:15286: result: immediate
# configure:19023: result:
# configure:19025: result: Mandatory Platform Environment:
# configure:19030: checking for ANSI C header files
# configure:19186: result: yes
# configure:19223: checking stdio.h usability
# configure:19235: clang -c -pipe conftest.c >&5
# configure:19241: $? = 0
# configure:19245: test -z
# || test ! -s conftest.err
# configure:19248: $? = 0
# configure:19251: test -s conftest.o
# configure:19254: $? = 0
# configure:19264: result: yes
# configure:19268: checking stdio.h presence
# configure:19278: clang -E conftest.c
# configure:19284: $? = 0
# configure:19304: result: yes
# configure:19339: checking for stdio.h
# configure:19346: result: yes
# configure:19214: checking for stdlib.h
# configure:19219: result: yes
# configure:19223: checking stdarg.h usability
# configure:19235: clang -c -pipe conftest.c >&5
# configure:19241: $? = 0
# configure:19245: test -z
# || test ! -s conftest.err
# configure:19248: $? = 0
# configure:19251: test -s conftest.o
# configure:19254: $? = 0
# configure:19264: result: yes
# configure:19268: checking stdarg.h presence
# configure:19278: clang -E conftest.c
# configure:19284: $? = 0
# configure:19304: result: yes
# configure:19339: checking for stdarg.h
# configure:19346: result: yes
# configure:19214: checking for string.h
# configure:19219: result: yes
# configure:19223: checking signal.h usability
# configure:19235: clang -c -pipe conftest.c >&5
# configure:19241: $? = 0
# configure:19245: test -z
# || test ! -s conftest.err
# configure:19248: $? = 0
# configure:19251: test -s conftest.o
# configure:19254: $? = 0
# configure:19264: result: yes
# configure:19268: checking signal.h presence
# configure:19278: clang -E conftest.c
# configure:19284: $? = 0
# configure:19304: result: yes
# configure:19339: checking for signal.h
# configure:19346: result: yes
# configure:19214: checking for unistd.h
# configure:19219: result: yes
# configure:19223: checking setjmp.h usability
# configure:19235: clang -c -pipe conftest.c >&5
# configure:19241: $? = 0
# configure:19245: test -z
# || test ! -s conftest.err
# configure:19248: $? = 0
# configure:19251: test -s conftest.o
# configure:19254: $? = 0
# configure:19264: result: yes
# configure:19268: checking setjmp.h presence
# configure:19278: clang -E conftest.c
# configure:19284: $? = 0
# configure:19304: result: yes
# configure:19339: checking for setjmp.h
# configure:19346: result: yes
# configure:19223: checking fcntl.h usability
# configure:19235: clang -c -pipe conftest.c >&5
# configure:19241: $? = 0
# configure:19245: test -z
# || test ! -s conftest.err
# configure:19248: $? = 0
# configure:19251: test -s conftest.o
# configure:19254: $? = 0
# configure:19264: result: yes
# configure:19268: checking fcntl.h presence
# configure:19278: clang -E conftest.c
# configure:19284: $? = 0
# configure:19304: result: yes
# configure:19339: checking for fcntl.h
# configure:19346: result: yes
# configure:19223: checking errno.h usability
# configure:19235: clang -c -pipe conftest.c >&5
# configure:19241: $? = 0
# configure:19245: test -z
# || test ! -s conftest.err
# configure:19248: $? = 0
# configure:19251: test -s conftest.o
# configure:19254: $? = 0
# configure:19264: result: yes
# configure:19268: checking errno.h presence
# configure:19278: clang -E conftest.c
# configure:19284: $? = 0
# configure:19304: result: yes
# configure:19339: checking for errno.h
# configure:19346: result: yes
# configure:19214: checking for sys/types.h
# configure:19219: result: yes
# configure:19223: checking sys/time.h usability
# configure:19235: clang -c -pipe conftest.c >&5
# configure:19241: $? = 0
# configure:19245: test -z
# || test ! -s conftest.err
# configure:19248: $? = 0
# configure:19251: test -s conftest.o
# configure:19254: $? = 0
# configure:19264: result: yes
# configure:19268: checking sys/time.h presence
# configure:19278: clang -E conftest.c
# configure:19284: $? = 0
# configure:19304: result: yes
# configure:19339: checking for sys/time.h
# configure:19346: result: yes
# configure:19223: checking sys/wait.h usability
# configure:19235: clang -c -pipe conftest.c >&5
# configure:19241: $? = 0
# configure:19245: test -z
# || test ! -s conftest.err
# configure:19248: $? = 0
# configure:19251: test -s conftest.o
# configure:19254: $? = 0
# configure:19264: result: yes
# configure:19268: checking sys/wait.h presence
# configure:19278: clang -E conftest.c
# configure:19284: $? = 0
# configure:19304: result: yes
# configure:19339: checking for sys/wait.h
# configure:19346: result: yes
# configure:19214: checking for sys/stat.h
# configure:19219: result: yes
# configure:19223: checking sys/socket.h usability
# configure:19235: clang -c -pipe conftest.c >&5
# configure:19241: $? = 0
# configure:19245: test -z
# || test ! -s conftest.err
# configure:19248: $? = 0
# configure:19251: test -s conftest.o
# configure:19254: $? = 0
# configure:19264: result: yes
# configure:19268: checking sys/socket.h presence
# configure:19278: clang -E conftest.c
# configure:19284: $? = 0
# configure:19304: result: yes
# configure:19339: checking for sys/socket.h
# configure:19346: result: yes
# configure:19368: checking for gettimeofday
# configure:19425: clang -o conftest -pipe conftest.c >&5
# configure:19431: $? = 0
# configure:19435: test -z
# || test ! -s conftest.err
# configure:19438: $? = 0
# configure:19441: test -s conftest
# configure:19444: $? = 0
# configure:19456: result: yes
# configure:19368: checking for select
# configure:19425: clang -o conftest -pipe conftest.c >&5
# configure:19431: $? = 0
# configure:19435: test -z
# || test ! -s conftest.err
# configure:19438: $? = 0
# configure:19441: test -s conftest
# configure:19444: $? = 0
# configure:19456: result: yes
# configure:19368: checking for sigaction
# configure:19425: clang -o conftest -pipe conftest.c >&5
# configure:19431: $? = 0
# configure:19435: test -z
# || test ! -s conftest.err
# configure:19438: $? = 0
# configure:19441: test -s conftest
# configure:19444: $? = 0
# configure:19456: result: yes
# configure:19368: checking for sigprocmask
# configure:19425: clang -o conftest -pipe conftest.c >&5
# configure:19431: $? = 0
# configure:19435: test -z
# || test ! -s conftest.err
# configure:19438: $? = 0
# configure:19441: test -s conftest
# configure:19444: $? = 0
# configure:19456: result: yes
# configure:19368: checking for sigpending
# configure:19425: clang -o conftest -pipe conftest.c >&5
# configure:19431: $? = 0
# configure:19435: test -z
# || test ! -s conftest.err
# configure:19438: $? = 0
# configure:19441: test -s conftest
# configure:19444: $? = 0
# configure:19456: result: yes
# configure:19368: checking for sigsuspend
# configure:19425: clang -o conftest -pipe conftest.c >&5
# configure:19431: $? = 0
# configure:19435: test -z
# || test ! -s conftest.err
# configure:19438: $? = 0
# configure:19441: test -s conftest
# configure:19444: $? = 0
# configure:19456: result: yes
# configure:19515: result: decision on mandatory system headers and functions... all fine
# configure:19523: result:
# configure:19525: result: Optional Platform Environment:
# configure:19530: checking for number of signals
# configure:19572: clang -o conftest -pipe conftest.c >&5
# conftest.c:64:9: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# conftest.c:64:9: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:19575: $? = 0
# configure:19577: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:19580: $? = 127
# configure: program exited with status 127
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | /* end confdefs.h. */
# |
# | #include
# | #include
# | #include
# |
# | int main(int argc, char *argv[])
# | {
# | FILE *fp;
# | int nsig;
# |
# | #if defined(NSIG)
# | nsig = NSIG;
# | #elif defined(_NSIG)
# | nsig = _NSIG;
# | #else
# | nsig = (sizeof(sigset_t)*8);
# | if (nsig < 32)
# | nsig = 32;
# | #endif
# | if ((fp = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(fp, "%d\n", nsig);
# | fclose(fp);
# | exit(0);
# | }
# |
# |
# configure:19593: result: 32
# configure:19602: checking for default value of FD_SETSIZE
# configure:19638: clang -o conftest -pipe conftest.c >&5
# conftest.c:59:9: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# conftest.c:59:9: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:19641: $? = 0
# configure:19643: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:19646: $? = 127
# configure: program exited with status 127
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | /* end confdefs.h. */
# |
# | #include
# | #include
# | #include
# | int main(int argc, char *argv[])
# | {
# | FILE *fp;
# | int ac_fdsetsize;
# | #if defined(FD_SETSIZE)
# | ac_fdsetsize = FD_SETSIZE;
# | #else
# | ac_fdsetsize = (sizeof(fd_set)*8);
# | #endif
# | if ((fp = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(fp, "%d\n", ac_fdsetsize);
# | fclose(fp);
# | exit(0);
# | }
# |
# |
# configure:19659: result: 1024
# configure:19689: checking for poll
# configure:19746: clang -o conftest -pipe conftest.c >&5
# configure:19752: $? = 0
# configure:19756: test -z
# || test ! -s conftest.err
# configure:19759: $? = 0
# configure:19762: test -s conftest
# configure:19765: $? = 0
# configure:19777: result: yes
# configure:19787: checking for define POLLIN in poll.h
# configure:19814: result: yes
# configure:19824: checking whether poll(2) facility has to be faked
# configure:19865: result: no
# configure:19882: checking sys/uio.h usability
# configure:19894: clang -c -pipe conftest.c >&5
# configure:19900: $? = 0
# configure:19904: test -z
# || test ! -s conftest.err
# configure:19907: $? = 0
# configure:19910: test -s conftest.o
# configure:19913: $? = 0
# configure:19923: result: yes
# configure:19927: checking sys/uio.h presence
# configure:19937: clang -E conftest.c
# configure:19943: $? = 0
# configure:19963: result: yes
# configure:19998: checking for sys/uio.h
# configure:20005: result: yes
# configure:20023: checking for readv
# configure:20080: clang -o conftest -pipe conftest.c >&5
# configure:20086: $? = 0
# configure:20090: test -z
# || test ! -s conftest.err
# configure:20093: $? = 0
# configure:20096: test -s conftest
# configure:20099: $? = 0
# configure:20111: result: yes
# configure:20023: checking for writev
# configure:20080: clang -o conftest -pipe conftest.c >&5
# configure:20086: $? = 0
# configure:20090: test -z
# || test ! -s conftest.err
# configure:20093: $? = 0
# configure:20096: test -s conftest
# configure:20099: $? = 0
# configure:20111: result: yes
# configure:20121: checking whether readv(2)/writev(2) facility has to be faked
# configure:20162: result: no
# configure:20170: checking for usleep
# configure:20227: clang -o conftest -pipe conftest.c >&5
# configure:20233: $? = 0
# configure:20237: test -z
# || test ! -s conftest.err
# configure:20240: $? = 0
# configure:20243: test -s conftest
# configure:20246: $? = 0
# configure:20258: result: yes
# configure:20170: checking for strerror
# configure:20227: clang -o conftest -pipe conftest.c >&5
# conftest.c:75:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror ();
# ^
# conftest.c:75:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:20233: $? = 0
# configure:20237: test -z
# || test ! -s conftest.err
# configure:20240: $? = 0
# configure:20243: test -s conftest
# configure:20246: $? = 0
# configure:20258: result: yes
# configure:20285: checking sys/resource.h usability
# configure:20297: clang -c -pipe conftest.c >&5
# configure:20303: $? = 0
# configure:20307: test -z
# || test ! -s conftest.err
# configure:20310: $? = 0
# configure:20313: test -s conftest.o
# configure:20316: $? = 0
# configure:20326: result: yes
# configure:20330: checking sys/resource.h presence
# configure:20340: clang -E conftest.c
# configure:20346: $? = 0
# configure:20366: result: yes
# configure:20401: checking for sys/resource.h
# configure:20408: result: yes
# configure:20285: checking net/errno.h usability
# configure:20297: clang -c -pipe conftest.c >&5
# conftest.c:87:10: fatal error: 'net/errno.h' file not found
# #include
# ^
# 1 error generated.
# configure:20303: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | /* end confdefs.h. */
# | #include
# | #if HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #if HAVE_SYS_STAT_H
# | # include
# | #endif
# | #if STDC_HEADERS
# | # include
# | # include
# | #else
# | # if HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #if HAVE_STRING_H
# | # if !STDC_HEADERS && HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #if HAVE_STRINGS_H
# | # include
# | #endif
# | #if HAVE_INTTYPES_H
# | # include
# | #else
# | # if HAVE_STDINT_H
# | # include
# | # endif
# | #endif
# | #if HAVE_UNISTD_H
# | # include
# | #endif
# | #include
# configure:20326: result: no
# configure:20330: checking net/errno.h presence
# configure:20340: clang -E conftest.c
# conftest.c:53:10: fatal error: 'net/errno.h' file not found
# #include
# ^
# 1 error generated.
# configure:20346: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | /* end confdefs.h. */
# | #include
# configure:20366: result: no
# configure:20401: checking for net/errno.h
# configure:20408: result: no
# configure:20285: checking paths.h usability
# configure:20297: clang -c -pipe conftest.c >&5
# configure:20303: $? = 0
# configure:20307: test -z
# || test ! -s conftest.err
# configure:20310: $? = 0
# configure:20313: test -s conftest.o
# configure:20316: $? = 0
# configure:20326: result: yes
# configure:20330: checking paths.h presence
# configure:20340: clang -E conftest.c
# configure:20346: $? = 0
# configure:20366: result: yes
# configure:20401: checking for paths.h
# configure:20408: result: yes
# configure:20423: checking for gethostname in -lnsl
# configure:20453: clang -o conftest -pipe conftest.c -lnsl >&5
# /sysroot/bin/ld: error: cannot find -lnsl
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:20459: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | /* end confdefs.h. */
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char gethostname ();
# | int
# | main ()
# | {
# | gethostname ();
# | ;
# | return 0;
# | }
# configure:20485: result: no
# configure:20498: checking for gethostbyname in -lnsl
# configure:20528: clang -o conftest -pipe conftest.c -lnsl >&5
# /sysroot/bin/ld: error: cannot find -lnsl
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:20534: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | /* end confdefs.h. */
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char gethostbyname ();
# | int
# | main ()
# | {
# | gethostbyname ();
# | ;
# | return 0;
# | }
# configure:20560: result: no
# configure:20573: checking for accept in -lsocket
# configure:20603: clang -o conftest -pipe conftest.c -lsocket >&5
# /sysroot/bin/ld: error: cannot find -lsocket
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:20609: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | /* end confdefs.h. */
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char accept ();
# | int
# | main ()
# | {
# | accept ();
# | ;
# | return 0;
# | }
# configure:20635: result: no
# configure:20661: checking sys/select.h usability
# configure:20673: clang -c -pipe conftest.c >&5
# configure:20679: $? = 0
# configure:20683: test -z
# || test ! -s conftest.err
# configure:20686: $? = 0
# configure:20689: test -s conftest.o
# configure:20692: $? = 0
# configure:20702: result: yes
# configure:20706: checking sys/select.h presence
# configure:20716: clang -E conftest.c
# configure:20722: $? = 0
# configure:20742: result: yes
# configure:20777: checking for sys/select.h
# configure:20784: result: yes
# configure:20803: checking for typedef sig_atomic_t
# configure:20827: result: yes
# configure:20843: checking for typedef pid_t
# configure:20867: result: yes
# configure:20883: checking for typedef size_t
# configure:20907: result: yes
# configure:20923: checking for typedef ssize_t
# configure:20947: result: yes
# configure:20963: checking for typedef off_t
# configure:20987: result: yes
# configure:21003: checking for typedef stack_t
# configure:21027: result: yes
# configure:21038: checking for attribute ss_base in struct sigaltstack from sys/signal.h
# configure:21066: clang -o conftest -pipe conftest.c >&5
# In file included from conftest.c:63:
# /sysroot/include/sys/signal.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# conftest.c:71:6: error: no member named 'ss_base' in 'struct sigaltstack'
# sp1->ss_base = sp2->ss_base;
# ~~~ ^
# conftest.c:71:21: error: no member named 'ss_base' in 'struct sigaltstack'
# sp1->ss_base = sp2->ss_base;
# ~~~ ^
# 1 warning and 2 errors generated.
# configure:21072: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | /* end confdefs.h. */
# |
# | #include
# | #include
# |
# | int
# | main ()
# | {
# |
# | struct sigaltstack *sp1;
# | struct sigaltstack *sp2;
# | sp1->ss_base = sp2->ss_base;
# |
# | ;
# | return 0;
# | }
# configure:21097: result: no
# configure:21107: checking for attribute ss_sp in struct sigaltstack from sys/signal.h
# configure:21135: clang -o conftest -pipe conftest.c >&5
# In file included from conftest.c:63:
# /sysroot/include/sys/signal.h:1:2: warning: redirecting incorrect #include to [-W#warnings]
# #warning redirecting incorrect #include to
# ^
# 1 warning generated.
# configure:21141: $? = 0
# configure:21145: test -z
# || test ! -s conftest.err
# configure:21148: $? = 0
# configure:21151: test -s conftest
# configure:21154: $? = 0
# configure:21166: result: yes
# configure:21177: checking for a single-argument based gettimeofday
# configure:21203: clang -c -pipe conftest.c >&5
# conftest.c:72:23: error: too few arguments to function call, expected 2, have 1
# (void)gettimeofday(&tv);
# ~~~~~~~~~~~~ ^
# /sysroot/include/sys/time.h:11:1: note: 'gettimeofday' declared here
# int gettimeofday (struct timeval *__restrict, void *__restrict);
# ^
# 1 error generated.
# configure:21209: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | /* end confdefs.h. */
# |
# | #include
# | #include
# | #include
# |
# | int
# | main ()
# | {
# |
# | struct timeval tv;
# | (void)gettimeofday(&tv);
# |
# | ;
# | return 0;
# | }
# configure:21245: result: no
# configure:21248: checking for struct timespec
# configure:21272: clang -c -pipe conftest.c >&5
# configure:21278: $? = 0
# configure:21282: test -z
# || test ! -s conftest.err
# configure:21285: $? = 0
# configure:21288: test -s conftest.o
# configure:21291: $? = 0
# configure:21310: result: yes
# configure:21313: checking for typedef socklen_t
# configure:21337: result: yes
# configure:21347: checking for type of argument 3 for accept()
# configure:21407: result: socklen_t *
# configure:21412: checking for fallback socklen_t
# configure:21428: result: socklen_t
# configure:21440: checking for typedef nfds_t
# configure:21464: result: yes
# configure:21474: checking for type of argument 2 for poll()
# configure:21534: result: nfds_t
# configure:21539: checking for fallback nfds_t
# configure:21555: result: nfds_t
# configure:21567: checking for built-in type long long
# configure:21593: clang -o conftest -pipe conftest.c >&5
# configure:21599: $? = 0
# configure:21603: test -z
# || test ! -s conftest.err
# configure:21606: $? = 0
# configure:21609: test -s conftest
# configure:21612: $? = 0
# configure:21625: result: yes
# configure:21635: checking for built-in type long double
# configure:21661: clang -o conftest -pipe conftest.c >&5
# configure:21667: $? = 0
# configure:21671: test -z
# || test ! -s conftest.err
# configure:21674: $? = 0
# configure:21677: test -s conftest
# configure:21680: $? = 0
# configure:21693: result: yes
# configure:21706: result:
# configure:21708: result: Machine Context Implementation:
# configure:21714: checking for ucontext.h
# configure:21730: clang -c -pipe conftest.c >&5
# configure:21736: $? = 0
# configure:21740: test -z
# || test ! -s conftest.err
# configure:21743: $? = 0
# configure:21746: test -s conftest.o
# configure:21749: $? = 0
# configure:21760: result: yes
# configure:21771: checking for makecontext
# configure:21828: clang -o conftest -pipe conftest.c >&5
# /tmp/conftest-de0a42.o:conftest.c:function main: error: undefined reference to 'makecontext'
# /tmp/conftest-de0a42.o:conftest.c:f: error: undefined reference to 'makecontext'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:21834: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | /* end confdefs.h. */
# | /* Define makecontext to an innocuous variant, in case declares makecontext.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define makecontext innocuous_makecontext
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char makecontext (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef makecontext
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | {
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char makecontext ();
# | /* 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_makecontext) || defined (__stub___makecontext)
# | choke me
# | #else
# | char (*f) () = makecontext;
# | #endif
# | #ifdef __cplusplus
# | }
# | #endif
# |
# | int
# | main ()
# | {
# | return f != makecontext;
# | ;
# | return 0;
# | }
# configure:21859: result: no
# configure:21771: checking for swapcontext
# configure:21828: clang -o conftest -pipe conftest.c >&5
# /tmp/conftest-7215ea.o:conftest.c:function main: error: undefined reference to 'swapcontext'
# /tmp/conftest-7215ea.o:conftest.c:f: error: undefined reference to 'swapcontext'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:21834: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | /* end confdefs.h. */
# | /* Define swapcontext to an innocuous variant, in case declares swapcontext.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define swapcontext innocuous_swapcontext
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char swapcontext (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef swapcontext
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | {
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char swapcontext ();
# | /* 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_swapcontext) || defined (__stub___swapcontext)
# | choke me
# | #else
# | char (*f) () = swapcontext;
# | #endif
# | #ifdef __cplusplus
# | }
# | #endif
# |
# | int
# | main ()
# | {
# | return f != swapcontext;
# | ;
# | return 0;
# | }
# configure:21859: result: no
# configure:21771: checking for getcontext
# configure:21828: clang -o conftest -pipe conftest.c >&5
# conftest.c:91:6: warning: declaration of built-in function 'getcontext' requires inclusion of the header [-Wbuiltin-requires-header]
# char getcontext ();
# ^
# 1 warning generated.
# /tmp/conftest-3dd1d3.o:conftest.c:function main: error: undefined reference to 'getcontext'
# /tmp/conftest-3dd1d3.o:conftest.c:f: error: undefined reference to 'getcontext'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:21834: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | /* end confdefs.h. */
# | /* Define getcontext to an innocuous variant, in case declares getcontext.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define getcontext innocuous_getcontext
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char getcontext (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef getcontext
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | {
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char getcontext ();
# | /* 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_getcontext) || defined (__stub___getcontext)
# | choke me
# | #else
# | char (*f) () = getcontext;
# | #endif
# | #ifdef __cplusplus
# | }
# | #endif
# |
# | int
# | main ()
# | {
# | return f != getcontext;
# | ;
# | return 0;
# | }
# configure:21859: result: no
# configure:21771: checking for setcontext
# configure:21828: clang -o conftest -pipe conftest.c >&5
# /tmp/conftest-a8adf0.o:conftest.c:function main: error: undefined reference to 'setcontext'
# /tmp/conftest-a8adf0.o:conftest.c:f: error: undefined reference to 'setcontext'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:21834: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | /* end confdefs.h. */
# | /* Define setcontext to an innocuous variant, in case declares setcontext.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define setcontext innocuous_setcontext
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char setcontext (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef setcontext
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | {
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char setcontext ();
# | /* 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_setcontext) || defined (__stub___setcontext)
# | choke me
# | #else
# | char (*f) () = setcontext;
# | #endif
# | #ifdef __cplusplus
# | }
# | #endif
# |
# | int
# | main ()
# | {
# | return f != setcontext;
# | ;
# | return 0;
# | }
# configure:21859: result: no
# configure:21870: checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)
# configure:21941: clang -o conftest -pipe conftest.c >&5
# conftest.c:104:28: warning: incompatible pointer types passing 'void (void *)' to parameter of type 'void (*)(void)' [-Wincompatible-pointer-types]
# makecontext(&uc_child, child, 2, (void *)12345);
# ^~~~~
# /sysroot/include/ucontext.h:18:46: note: passing argument to parameter here
# void makecontext(struct __ucontext *, void (*)(void), int, ...);
# ^
# 1 warning generated.
# /tmp/conftest-1fe1bb.o:conftest.c:function child: error: undefined reference to 'swapcontext'
# /tmp/conftest-1fe1bb.o:conftest.c:function main: error: undefined reference to 'getcontext'
# /tmp/conftest-1fe1bb.o:conftest.c:function main: error: undefined reference to 'makecontext'
# /tmp/conftest-1fe1bb.o:conftest.c:function main: error: undefined reference to 'swapcontext'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:21944: $? = 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 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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | /* end confdefs.h. */
# |
# |
# | #include
# | #include
# | #include
# |
# | ucontext_t uc_child;
# | ucontext_t uc_main;
# |
# | void child(void *arg)
# | {
# | if (arg != (void *)12345)
# | exit(1);
# | if (swapcontext(&uc_child, &uc_main) != 0)
# | exit(1);
# | }
# |
# | int main(int argc, char *argv[])
# | {
# | FILE *fp;
# | void *stack;
# |
# | /* the default is that it fails */
# | if ((fp = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(fp, "no\n");
# | fclose(fp);
# |
# | /* configure a child user-space context */
# | if ((stack = malloc(64*1024)) == NULL)
# | exit(1);
# | if (getcontext(&uc_child) != 0)
# | exit(1);
# | uc_child.uc_link = NULL;
# | uc_child.uc_stack.ss_sp = (char *)stack+(32*1024);
# | uc_child.uc_stack.ss_size = 32*1024;
# | uc_child.uc_stack.ss_flags = 0;
# | makecontext(&uc_child, child, 2, (void *)12345);
# |
# | /* switch into the user context */
# | if (swapcontext(&uc_main, &uc_child) != 0)
# | exit(1);
# |
# | /* Fine, child came home */
# | if ((fp = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(fp, "yes\n");
# | fclose(fp);
# |
# | /* die successfully */
# | exit(0);
# | }
# |
# configure:21963: result: no
# configure:21977: checking for signal.h
# configure:21982: result: yes
# configure:22131: checking for sigsetjmp
# configure:22188: clang -o conftest -pipe conftest.c >&5
# conftest.c:92:6: warning: declaration of built-in function 'sigsetjmp' requires inclusion of the header [-Wbuiltin-requires-header]
# char sigsetjmp ();
# ^
# 1 warning generated.
# configure:22194: $? = 0
# configure:22198: test -z
# || test ! -s conftest.err
# configure:22201: $? = 0
# configure:22204: test -s conftest
# configure:22207: $? = 0
# configure:22219: result: yes
# configure:22131: checking for siglongjmp
# configure:22188: clang -o conftest -pipe conftest.c >&5
# conftest.c:93:6: warning: declaration of built-in function 'siglongjmp' requires inclusion of the header [-Wbuiltin-requires-header]
# char siglongjmp ();
# ^
# 1 warning generated.
# configure:22194: $? = 0
# configure:22198: test -z
# || test ! -s conftest.err
# configure:22201: $? = 0
# configure:22204: test -s conftest
# configure:22207: $? = 0
# configure:22219: result: yes
# configure:22131: checking for setjmp
# configure:22188: clang -o conftest -pipe conftest.c >&5
# conftest.c:94:6: warning: declaration of built-in function 'setjmp' requires inclusion of the header [-Wbuiltin-requires-header]
# char setjmp ();
# ^
# 1 warning generated.
# configure:22194: $? = 0
# configure:22198: test -z
# || test ! -s conftest.err
# configure:22201: $? = 0
# configure:22204: test -s conftest
# configure:22207: $? = 0
# configure:22219: result: yes
# configure:22131: checking for longjmp
# configure:22188: clang -o conftest -pipe conftest.c >&5
# conftest.c:95:6: warning: declaration of built-in function 'longjmp' requires inclusion of the header [-Wbuiltin-requires-header]
# char longjmp ();
# ^
# 1 warning generated.
# configure:22194: $? = 0
# configure:22198: test -z
# || test ! -s conftest.err
# configure:22201: $? = 0
# configure:22204: test -s conftest
# configure:22207: $? = 0
# configure:22219: result: yes
# configure:22131: checking for _setjmp
# configure:22188: clang -o conftest -pipe conftest.c >&5
# conftest.c:96:6: warning: declaration of built-in function '_setjmp' requires inclusion of the header [-Wbuiltin-requires-header]
# char _setjmp ();
# ^
# 1 warning generated.
# configure:22194: $? = 0
# configure:22198: test -z
# || test ! -s conftest.err
# configure:22201: $? = 0
# configure:22204: test -s conftest
# configure:22207: $? = 0
# configure:22219: result: yes
# configure:22131: checking for _longjmp
# configure:22188: clang -o conftest -pipe conftest.c >&5
# conftest.c:97:6: warning: declaration of built-in function '_longjmp' requires inclusion of the header [-Wbuiltin-requires-header]
# char _longjmp ();
# ^
# 1 warning generated.
# configure:22194: $? = 0
# configure:22198: test -z
# || test ! -s conftest.err
# configure:22201: $? = 0
# configure:22204: test -s conftest
# configure:22207: $? = 0
# configure:22219: result: yes
# configure:22234: checking for sigaltstack
# configure:22291: clang -o conftest -pipe conftest.c >&5
# configure:22297: $? = 0
# configure:22301: test -z
# || test ! -s conftest.err
# configure:22304: $? = 0
# configure:22307: test -s conftest
# configure:22310: $? = 0
# configure:22322: result: yes
# configure:22234: checking for sigstack
# configure:22291: clang -o conftest -pipe conftest.c >&5
# /tmp/conftest-c519a5.o:conftest.c:function main: error: undefined reference to 'sigstack'
# /tmp/conftest-c519a5.o:conftest.c:f: error: undefined reference to 'sigstack'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:22297: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SIGLONGJMP 1
# | #define HAVE_SETJMP 1
# | #define HAVE_LONGJMP 1
# | #define HAVE__SETJMP 1
# | #define HAVE__LONGJMP 1
# | #define HAVE_SIGALTSTACK 1
# | /* end confdefs.h. */
# | /* Define sigstack to an innocuous variant, in case declares sigstack.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define sigstack innocuous_sigstack
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char sigstack (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef sigstack
# |
# | /* Override any gcc2 internal prototype to avoid an error. */
# | #ifdef __cplusplus
# | extern "C"
# | {
# | #endif
# | /* We use char because int might match the return type of a gcc2
# | builtin and then its argument prototype would still apply. */
# | char sigstack ();
# | /* 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_sigstack) || defined (__stub___sigstack)
# | choke me
# | #else
# | char (*f) () = sigstack;
# | #endif
# | #ifdef __cplusplus
# | }
# | #endif
# |
# | int
# | main ()
# | {
# | return f != sigstack;
# | ;
# | return 0;
# | }
# configure:22322: result: no
# configure:22332: checking for signal-mask aware setjmp(3)/longjmp(3)
# configure:22484: clang -o conftest -pipe -DTEST_ssjlj conftest.c >&5
# conftest.c:107:9: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# conftest.c:107:9: note: include the header or explicitly provide a declaration for 'exit'
# conftest.c:140:9: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration]
# memset((void *)&sa, 0, sizeof(struct sigaction));
# ^
# conftest.c:140:9: note: include the header or explicitly provide a declaration for 'memset'
# 2 warnings generated.
# configure:22487: $? = 0
# configure:22489: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:22492: $? = 127
# configure: program exited with status 127
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SIGLONGJMP 1
# | #define HAVE_SETJMP 1
# | #define HAVE_LONGJMP 1
# | #define HAVE__SETJMP 1
# | #define HAVE__LONGJMP 1
# | #define HAVE_SIGALTSTACK 1
# | /* end confdefs.h. */
# |
# | #if defined(TEST_ssjlj)
# | #define __JMP_BUF sigjmp_buf
# | #define __SETJMP(buf) sigsetjmp(buf,1)
# | #define __LONGJMP(buf,val) siglongjmp(buf,val)
# | #elif defined(TEST_sjlj)
# | #define __JMP_BUF jmp_buf
# | #define __SETJMP(buf) setjmp(buf)
# | #define __LONGJMP(buf,val) longjmp(buf,val)
# | #elif defined(TEST_usjlj)
# | #define __JMP_BUF jmp_buf
# | #define __SETJMP(buf) _setjmp(buf)
# | #define __LONGJMP(buf,val) _longjmp(buf,val)
# | #endif
# |
# | #include
# | #include
# | #include
# | #include
# | #include
# |
# | static __JMP_BUF jb;
# |
# | static void sighandler(int sig)
# | {
# | sigset_t sigs;
# |
# | /* get signal mask */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# |
# | /* make sure USR1 is still blocked */
# | if (!sigismember(&sigs, SIGUSR1))
# | exit(1);
# |
# | /* block USR2 for us */
# | sigaddset(&sigs, SIGUSR2);
# | sigprocmask(SIG_SETMASK, &sigs, NULL);
# |
# | /* jump back to main */
# | __LONGJMP(jb, 1);
# | exit(1);
# | }
# |
# | int main(int argc, char *argv[])
# | {
# | FILE *fp;
# | sigset_t sigs;
# | struct sigaction sa;
# |
# | /* the default is that it fails */
# | if ((fp = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(fp, "failed\n");
# | fclose(fp);
# |
# | /* block USR1 and unblock USR2 signal */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# | sigaddset(&sigs, SIGUSR1);
# | sigdelset(&sigs, SIGUSR2);
# | sigprocmask(SIG_SETMASK, &sigs, NULL);
# |
# | /* set jump buffer */
# | if (__SETJMP(jb) == 0) {
# |
# | /* install signal handler for USR1 */
# | memset((void *)&sa, 0, sizeof(struct sigaction));
# | sigemptyset(&sa.sa_mask);
# | sa.sa_handler = sighandler;
# | sa.sa_flags = 0;
# | sigaction(SIGUSR1, &sa, NULL);
# |
# | /* send USR1 signal (which is still blocked) */
# | kill(getpid(), SIGUSR1);
# |
# | /* unblock USR1 and wait for it */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# | sigdelset(&sigs, SIGUSR1);
# | sigsuspend(&sigs);
# | exit(1);
# | }
# |
# | /* get signal mask again */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# |
# | /* make sure USR2 is again unblocked */
# | if (sigismember(&sigs, SIGUSR2))
# | exit(1);
# |
# | /* Fine... */
# | if ((fp = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(fp, "ok\n");
# | fclose(fp);
# | exit(0);
# | }
# |
# |
# configure:22484: clang -o conftest -pipe -DTEST_sjlj conftest.c >&5
# conftest.c:107:9: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# conftest.c:107:9: note: include the header or explicitly provide a declaration for 'exit'
# conftest.c:140:9: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration]
# memset((void *)&sa, 0, sizeof(struct sigaction));
# ^
# conftest.c:140:9: note: include the header or explicitly provide a declaration for 'memset'
# 2 warnings generated.
# configure:22487: $? = 0
# configure:22489: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:22492: $? = 127
# configure: program exited with status 127
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SIGLONGJMP 1
# | #define HAVE_SETJMP 1
# | #define HAVE_LONGJMP 1
# | #define HAVE__SETJMP 1
# | #define HAVE__LONGJMP 1
# | #define HAVE_SIGALTSTACK 1
# | /* end confdefs.h. */
# |
# | #if defined(TEST_ssjlj)
# | #define __JMP_BUF sigjmp_buf
# | #define __SETJMP(buf) sigsetjmp(buf,1)
# | #define __LONGJMP(buf,val) siglongjmp(buf,val)
# | #elif defined(TEST_sjlj)
# | #define __JMP_BUF jmp_buf
# | #define __SETJMP(buf) setjmp(buf)
# | #define __LONGJMP(buf,val) longjmp(buf,val)
# | #elif defined(TEST_usjlj)
# | #define __JMP_BUF jmp_buf
# | #define __SETJMP(buf) _setjmp(buf)
# | #define __LONGJMP(buf,val) _longjmp(buf,val)
# | #endif
# |
# | #include
# | #include
# | #include
# | #include
# | #include
# |
# | static __JMP_BUF jb;
# |
# | static void sighandler(int sig)
# | {
# | sigset_t sigs;
# |
# | /* get signal mask */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# |
# | /* make sure USR1 is still blocked */
# | if (!sigismember(&sigs, SIGUSR1))
# | exit(1);
# |
# | /* block USR2 for us */
# | sigaddset(&sigs, SIGUSR2);
# | sigprocmask(SIG_SETMASK, &sigs, NULL);
# |
# | /* jump back to main */
# | __LONGJMP(jb, 1);
# | exit(1);
# | }
# |
# | int main(int argc, char *argv[])
# | {
# | FILE *fp;
# | sigset_t sigs;
# | struct sigaction sa;
# |
# | /* the default is that it fails */
# | if ((fp = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(fp, "failed\n");
# | fclose(fp);
# |
# | /* block USR1 and unblock USR2 signal */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# | sigaddset(&sigs, SIGUSR1);
# | sigdelset(&sigs, SIGUSR2);
# | sigprocmask(SIG_SETMASK, &sigs, NULL);
# |
# | /* set jump buffer */
# | if (__SETJMP(jb) == 0) {
# |
# | /* install signal handler for USR1 */
# | memset((void *)&sa, 0, sizeof(struct sigaction));
# | sigemptyset(&sa.sa_mask);
# | sa.sa_handler = sighandler;
# | sa.sa_flags = 0;
# | sigaction(SIGUSR1, &sa, NULL);
# |
# | /* send USR1 signal (which is still blocked) */
# | kill(getpid(), SIGUSR1);
# |
# | /* unblock USR1 and wait for it */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# | sigdelset(&sigs, SIGUSR1);
# | sigsuspend(&sigs);
# | exit(1);
# | }
# |
# | /* get signal mask again */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# |
# | /* make sure USR2 is again unblocked */
# | if (sigismember(&sigs, SIGUSR2))
# | exit(1);
# |
# | /* Fine... */
# | if ((fp = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(fp, "ok\n");
# | fclose(fp);
# | exit(0);
# | }
# |
# |
# configure:22484: clang -o conftest -pipe -DTEST_usjlj conftest.c >&5
# conftest.c:107:9: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# conftest.c:107:9: note: include the header or explicitly provide a declaration for 'exit'
# conftest.c:140:9: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration]
# memset((void *)&sa, 0, sizeof(struct sigaction));
# ^
# conftest.c:140:9: note: include the header or explicitly provide a declaration for 'memset'
# 2 warnings generated.
# configure:22487: $? = 0
# configure:22489: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:22492: $? = 127
# configure: program exited with status 127
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SIGLONGJMP 1
# | #define HAVE_SETJMP 1
# | #define HAVE_LONGJMP 1
# | #define HAVE__SETJMP 1
# | #define HAVE__LONGJMP 1
# | #define HAVE_SIGALTSTACK 1
# | /* end confdefs.h. */
# |
# | #if defined(TEST_ssjlj)
# | #define __JMP_BUF sigjmp_buf
# | #define __SETJMP(buf) sigsetjmp(buf,1)
# | #define __LONGJMP(buf,val) siglongjmp(buf,val)
# | #elif defined(TEST_sjlj)
# | #define __JMP_BUF jmp_buf
# | #define __SETJMP(buf) setjmp(buf)
# | #define __LONGJMP(buf,val) longjmp(buf,val)
# | #elif defined(TEST_usjlj)
# | #define __JMP_BUF jmp_buf
# | #define __SETJMP(buf) _setjmp(buf)
# | #define __LONGJMP(buf,val) _longjmp(buf,val)
# | #endif
# |
# | #include
# | #include
# | #include
# | #include
# | #include
# |
# | static __JMP_BUF jb;
# |
# | static void sighandler(int sig)
# | {
# | sigset_t sigs;
# |
# | /* get signal mask */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# |
# | /* make sure USR1 is still blocked */
# | if (!sigismember(&sigs, SIGUSR1))
# | exit(1);
# |
# | /* block USR2 for us */
# | sigaddset(&sigs, SIGUSR2);
# | sigprocmask(SIG_SETMASK, &sigs, NULL);
# |
# | /* jump back to main */
# | __LONGJMP(jb, 1);
# | exit(1);
# | }
# |
# | int main(int argc, char *argv[])
# | {
# | FILE *fp;
# | sigset_t sigs;
# | struct sigaction sa;
# |
# | /* the default is that it fails */
# | if ((fp = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(fp, "failed\n");
# | fclose(fp);
# |
# | /* block USR1 and unblock USR2 signal */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# | sigaddset(&sigs, SIGUSR1);
# | sigdelset(&sigs, SIGUSR2);
# | sigprocmask(SIG_SETMASK, &sigs, NULL);
# |
# | /* set jump buffer */
# | if (__SETJMP(jb) == 0) {
# |
# | /* install signal handler for USR1 */
# | memset((void *)&sa, 0, sizeof(struct sigaction));
# | sigemptyset(&sa.sa_mask);
# | sa.sa_handler = sighandler;
# | sa.sa_flags = 0;
# | sigaction(SIGUSR1, &sa, NULL);
# |
# | /* send USR1 signal (which is still blocked) */
# | kill(getpid(), SIGUSR1);
# |
# | /* unblock USR1 and wait for it */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# | sigdelset(&sigs, SIGUSR1);
# | sigsuspend(&sigs);
# | exit(1);
# | }
# |
# | /* get signal mask again */
# | sigprocmask(SIG_SETMASK, NULL, &sigs);
# |
# | /* make sure USR2 is again unblocked */
# | if (sigismember(&sigs, SIGUSR2))
# | exit(1);
# |
# | /* Fine... */
# | if ((fp = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(fp, "ok\n");
# | fclose(fp);
# | exit(0);
# | }
# |
# |
# configure:22550: result: yes: sjljlx
# configure:22683: checking for typedef stack_t
# configure:22707: result: yes
# configure:22718: checking for direction of stack growth
# configure:22763: clang -o conftest -pipe conftest.c >&5
# configure:22766: $? = 0
# configure:22768: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:22771: $? = 127
# configure: program exited with status 127
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SIGLONGJMP 1
# | #define HAVE_SETJMP 1
# | #define HAVE_LONGJMP 1
# | #define HAVE__SETJMP 1
# | #define HAVE__LONGJMP 1
# | #define HAVE_SIGALTSTACK 1
# | #define HAVE_STACK_T 1
# | /* end confdefs.h. */
# |
# | #include
# | #include
# | static int iterate = 10;
# | static int growsdown(int *x)
# | {
# | auto int y;
# | y = (x > &y);
# | if (--iterate > 0)
# | y = growsdown(&y);
# | if (y != (x > &y))
# | exit(1);
# | return y;
# | }
# | int main(int argc, char *argv[])
# | {
# | FILE *f;
# | auto int x;
# | if ((f = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(f, "%s\n", growsdown(&x) ? "down" : "up");;
# | fclose(f);
# | exit(0);
# | }
# |
# |
# configure:22785: result: down
# configure:22816: checking for makecontext
# configure:22904: result: no
# configure:22915: checking for stack setup via makecontext
# configure:23107: result: N.A.
# configure:23126: checking for sigaltstack
# configure:23214: result: yes
# configure:23229: checking for typedef stack_t
# configure:23253: result: yes
# configure:23266: checking for stack setup via sigaltstack
# configure:23423: clang -o conftest -pipe -DTEST_sigaltstack conftest.c >&5
# conftest.c:193:22: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# sizeof(union alltypes), sizeof(union alltypes));
# ^~~~~~~~~~~~~~~~~~~~~~
# conftest.c:193:46: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# sizeof(union alltypes), sizeof(union alltypes));
# ^~~~~~~~~~~~~~~~~~~~~~
# conftest.c:200:53: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# sprintf(result, "(skaddr),(sksize)-%d", sizeof(union alltypes));
# ~~ ^~~~~~~~~~~~~~~~~~~~~~
# %lu
# 3 warnings generated.
# configure:23426: $? = 0
# configure:23428: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:23431: $? = 127
# configure: program exited with status 127
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SIGLONGJMP 1
# | #define HAVE_SETJMP 1
# | #define HAVE_LONGJMP 1
# | #define HAVE__SETJMP 1
# | #define HAVE__LONGJMP 1
# | #define HAVE_SIGALTSTACK 1
# | #define HAVE_STACK_T 1
# | #define PTH_STACKGROWTH -1
# | #define HAVE_SIGALTSTACK 1
# | #define HAVE_STACK_T 1
# | /* end confdefs.h. */
# |
# | #include
# | #include
# | #include
# | #if defined(TEST_sigstack) || defined(TEST_sigaltstack)
# | #include
# | #include
# | #include
# | #endif
# | #if defined(TEST_makecontext)
# | #include
# | #endif
# | union alltypes {
# | long l;
# | double d;
# | void *vp;
# | void (*fp)(void);
# | char *cp;
# | };
# | static volatile char *handler_addr = (char *)0xDEAD;
# | #if defined(TEST_sigstack) || defined(TEST_sigaltstack)
# | static volatile int handler_done = 0;
# | void handler(int sig)
# | {
# | char garbage[1024];
# | int i;
# | auto int dummy;
# | for (i = 0; i < 1024; i++)
# | garbage[i] = 'X';
# | handler_addr = (char *)&dummy;
# | handler_done = 1;
# | return;
# | }
# | #endif
# | #if defined(TEST_makecontext)
# | static ucontext_t uc_handler;
# | static ucontext_t uc_main;
# | void handler(void)
# | {
# | char garbage[1024];
# | int i;
# | auto int dummy;
# | for (i = 0; i < 1024; i++)
# | garbage[i] = 'X';
# | handler_addr = (char *)&dummy;
# | swapcontext(&uc_handler, &uc_main);
# | return;
# | }
# | #endif
# | int main(int argc, char *argv[])
# | {
# | FILE *f;
# | char *skaddr;
# | char *skbuf;
# | int sksize;
# | char result[1024];
# | int i;
# | sksize = 32768;
# | skbuf = (char *)malloc(sksize*2+2*sizeof(union alltypes));
# | if (skbuf == NULL)
# | exit(1);
# | for (i = 0; i < sksize*2+2*sizeof(union alltypes); i++)
# | skbuf[i] = 'A';
# | skaddr = skbuf+sizeof(union alltypes);
# | #if defined(TEST_sigstack) || defined(TEST_sigaltstack)
# | {
# | struct sigaction sa;
# | #if defined(TEST_sigstack)
# | struct sigstack ss;
# | #elif defined(TEST_sigaltstack) && defined(HAVE_STACK_T)
# | stack_t ss;
# | #else
# | struct sigaltstack ss;
# | #endif
# | #if defined(TEST_sigstack)
# | ss.ss_sp = (void *)(skaddr + sksize);
# | ss.ss_onstack = 0;
# | if (sigstack(&ss, NULL) < 0)
# | exit(1);
# | #elif defined(TEST_sigaltstack)
# | ss.ss_sp = (void *)(skaddr + sksize);
# | ss.ss_size = sksize;
# | ss.ss_flags = 0;
# | if (sigaltstack(&ss, NULL) < 0)
# | exit(1);
# | #endif
# | memset((void *)&sa, 0, sizeof(struct sigaction));
# | sa.sa_handler = handler;
# | sa.sa_flags = SA_ONSTACK;
# | sigemptyset(&sa.sa_mask);
# | sigaction(SIGUSR1, &sa, NULL);
# | kill(getpid(), SIGUSR1);
# | while (!handler_done)
# | /*nop*/;
# | }
# | #endif
# | #if defined(TEST_makecontext)
# | {
# | if (getcontext(&uc_handler) != 0)
# | exit(1);
# | uc_handler.uc_link = NULL;
# | uc_handler.uc_stack.ss_sp = (void *)(skaddr + sksize);
# | uc_handler.uc_stack.ss_size = sksize;
# | uc_handler.uc_stack.ss_flags = 0;
# | makecontext(&uc_handler, handler, 1);
# | swapcontext(&uc_main, &uc_handler);
# | }
# | #endif
# | if (handler_addr == (char *)0xDEAD)
# | exit(1);
# | if (handler_addr < skaddr+sksize) {
# | /* stack was placed into lower area */
# | if (*(skaddr+sksize) != 'A')
# | sprintf(result, "(skaddr)+(sksize)-%d,(sksize)-%d",
# | sizeof(union alltypes), sizeof(union alltypes));
# | else
# | strcpy(result, "(skaddr)+(sksize),(sksize)");
# | }
# | else {
# | /* stack was placed into higher area */
# | if (*(skaddr+sksize*2) != 'A')
# | sprintf(result, "(skaddr),(sksize)-%d", sizeof(union alltypes));
# | else
# | strcpy(result, "(skaddr),(sksize)");
# | }
# | if ((f = fopen("conftestval", "w")) == NULL)
# | exit(1);
# | fprintf(f, "%s\n", result);
# | fclose(f);
# | exit(0);
# | }
# |
# configure:23458: result: guessed
# configure:23476: checking for sigstack
# configure:23564: result: no
# configure:23575: checking for stack setup via sigstack
# configure:23767: result: N.A.
# configure:23833: result: decision on mctx implementation... sjlj/sjljlx/none
# configure:23856: result:
# configure:23858: result: System Call Mapping:
# configure:23878: checking sys/syscall.h usability
# configure:23890: clang -c -pipe conftest.c >&5
# configure:23896: $? = 0
# configure:23900: test -z
# || test ! -s conftest.err
# configure:23903: $? = 0
# configure:23906: test -s conftest.o
# configure:23909: $? = 0
# configure:23919: result: yes
# configure:23923: checking sys/syscall.h presence
# configure:23933: clang -E conftest.c
# configure:23939: $? = 0
# configure:23959: result: yes
# configure:23994: checking for sys/syscall.h
# configure:24001: result: yes
# configure:23878: checking sys/socketcall.h usability
# configure:23890: clang -c -pipe conftest.c >&5
# conftest.c:117:10: fatal error: 'sys/socketcall.h' file not found
# #include
# ^
# 1 error generated.
# configure:23896: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SIGLONGJMP 1
# | #define HAVE_SETJMP 1
# | #define HAVE_LONGJMP 1
# | #define HAVE__SETJMP 1
# | #define HAVE__LONGJMP 1
# | #define HAVE_SIGALTSTACK 1
# | #define HAVE_STACK_T 1
# | #define PTH_STACKGROWTH -1
# | #define HAVE_SIGALTSTACK 1
# | #define HAVE_STACK_T 1
# | #define PTH_MCTX_MTH_use PTH_MCTX_MTH_sjlj
# | #define PTH_MCTX_DSP_use PTH_MCTX_DSP_sjljlx
# | #define PTH_MCTX_STK_use PTH_MCTX_STK_none
# | #define HAVE_SYS_SYSCALL_H 1
# | /* end confdefs.h. */
# | #include
# | #if HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #if HAVE_SYS_STAT_H
# | # include
# | #endif
# | #if STDC_HEADERS
# | # include
# | # include
# | #else
# | # if HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #if HAVE_STRING_H
# | # if !STDC_HEADERS && HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #if HAVE_STRINGS_H
# | # include
# | #endif
# | #if HAVE_INTTYPES_H
# | # include
# | #else
# | # if HAVE_STDINT_H
# | # include
# | # endif
# | #endif
# | #if HAVE_UNISTD_H
# | # include
# | #endif
# | #include
# configure:23919: result: no
# configure:23923: checking sys/socketcall.h presence
# configure:23933: clang -E conftest.c
# conftest.c:83:10: fatal error: 'sys/socketcall.h' file not found
# #include
# ^
# 1 error generated.
# configure:23939: $? = 1
# configure: failed program was:
# | /* confdefs.h. */
# |
# | #define PACKAGE_NAME ""
# | #define PACKAGE_TARNAME ""
# | #define PACKAGE_VERSION ""
# | #define PACKAGE_STRING ""
# | #define PACKAGE_BUGREPORT ""
# | #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
# | #ifdef __cplusplus
# | extern "C" void exit (int);
# | #endif
# | #define STDC_HEADERS 1
# | #define HAVE_STDIO_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STDARG_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_SETJMP_H 1
# | #define HAVE_FCNTL_H 1
# | #define HAVE_ERRNO_H 1
# | #define HAVE_SYS_TYPES_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_SYS_WAIT_H 1
# | #define HAVE_SYS_STAT_H 1
# | #define HAVE_SYS_SOCKET_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_SELECT 1
# | #define HAVE_SIGACTION 1
# | #define HAVE_SIGPROCMASK 1
# | #define HAVE_SIGPENDING 1
# | #define HAVE_SIGSUSPEND 1
# | #define PTH_NSIG 32
# | #define HAVE_POLL 1
# | #define HAVE_POLLIN 1
# | #define HAVE_SYS_UIO_H 1
# | #define HAVE_READV 1
# | #define HAVE_WRITEV 1
# | #define HAVE_USLEEP 1
# | #define HAVE_STRERROR 1
# | #define HAVE_SYS_RESOURCE_H 1
# | #define HAVE_PATHS_H 1
# | #define HAVE_SYS_SELECT_H 1
# | #define HAVE_SIG_ATOMIC_T 1
# | #define HAVE_PID_T 1
# | #define HAVE_SIZE_T 1
# | #define HAVE_SSIZE_T 1
# | #define HAVE_OFF_T 1
# | #define HAVE_STACK_T 1
# | #define HAVE_SS_SP 1
# | #define HAVE_STRUCT_TIMESPEC 1
# | #define HAVE_SOCKLEN_T 1
# | #define HAVE_NFDS_T 1
# | #define HAVE_LONGLONG 1
# | #define HAVE_LONGDOUBLE 1
# | #define HAVE_SIGNAL_H 1
# | #define HAVE_SIGSETJMP 1
# | #define HAVE_SIGLONGJMP 1
# | #define HAVE_SETJMP 1
# | #define HAVE_LONGJMP 1
# | #define HAVE__SETJMP 1
# | #define HAVE__LONGJMP 1
# | #define HAVE_SIGALTSTACK 1
# | #define HAVE_STACK_T 1
# | #define PTH_STACKGROWTH -1
# | #define HAVE_SIGALTSTACK 1
# | #define HAVE_STACK_T 1
# | #define PTH_MCTX_MTH_use PTH_MCTX_MTH_sjlj
# | #define PTH_MCTX_DSP_use PTH_MCTX_DSP_sjljlx
# | #define PTH_MCTX_STK_use PTH_MCTX_STK_none
# | #define HAVE_SYS_SYSCALL_H 1
# | /* end confdefs.h. */
# | #include
# configure:23959: result: no
# configure:23994: checking for sys/socketcall.h
# configure:24001: result: no
# configure:24018: checking for syscall
# configure:24075: clang -o conftest -pipe conftest.c >&5
# configure:24081: $? = 0
# configure:24085: test -z
# || test ! -s conftest.err
# configure:24088: $? = 0
# configure:24091: test -s conftest
# configure:24094: $? = 0
# configure:24106: result: yes
# configure:24116: checking for define SYS_read in sys/syscall.h
# configure:24143: result: yes
# configure:24159: checking for dlfcn.h
# configure:24164: result: yes
# configure:24305: checking for dlsym in -ldl
# configure:24335: clang -o conftest -pipe conftest.c -ldl >&5
# configure:24341: $? = 0
# configure:24345: test -z
# || test ! -s conftest.err
# configure:24348: $? = 0
# configure:24351: test -s conftest
# configure:24354: $? = 0
# configure:24367: result: yes
# configure:24384: checking for dlopen
# configure:24441: clang -o conftest -pipe conftest.c -ldl >&5
# configure:24447: $? = 0
# configure:24451: test -z
# || test ! -s conftest.err
# configure:24454: $? = 0
# configure:24457: test -s conftest
# configure:24460: $? = 0
# configure:24472: result: yes
# configure:24384: checking for dlsym
# configure:24441: clang -o conftest -pipe conftest.c -ldl >&5
# configure:24447: $? = 0
# configure:24451: test -z
# || test ! -s conftest.err
# configure:24454: $? = 0
# configure:24457: test -s conftest
# configure:24460: $? = 0
# configure:24472: result: yes
# configure:24384: checking for dlclose
# configure:24441: clang -o conftest -pipe conftest.c -ldl >&5
# configure:24447: $? = 0
# configure:24451: test -z
# || test ! -s conftest.err
# configure:24454: $? = 0
# configure:24457: test -s conftest
# configure:24460: $? = 0
# configure:24472: result: yes
# configure:24482: checking for define RTLD_NEXT in dlfcn.h
# configure:24509: result: yes
# configure:24520: checking for syscall dynamic libraries
# configure:24544: result: /usr/lib/libdl.so:/lib/libdl.so:/usr/lib/libc.so:/lib/libc.so
# configure:24552: checking whether soft system call mapping is used
# configure:24570: result: no
# configure:24574: checking whether hard system call mapping is used
# configure:24628: result: no
# configure:24640: result:
# configure:24642: result: Build Parameters:
# configure:24647: checking whether to activate batch build mode
# configure:24659: result: no
# configure:24664: checking whether to activate maintainer build targets
# configure:24673: result: no
# configure:24678: checking whether to activate test build targets
# configure:24687: result: yes
# configure:24695: checking whether to build Pthread library
# configure:24706: result: no
# configure:25210: checking whether to build against external OSSP ex library
# configure:25221: result: no
# configure:25536: checking whether to build against external Sfio library
# configure:25543: result: no
# configure:25858: checking whether to build against external Dmalloc library
# configure:25869: result: no
# configure:25875: result:
# configure:25877: result: Output Substitution:
# configure:25979: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by config.status, which was
# generated by GNU Autoconf 2.59 (OpenPKG-CURRENT). Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on dd599d5c164c
#
# config.status:716: creating Makefile
# config.status:716: creating pthread-config
# config.status:716: creating pthread.h
# config.status:716: creating pth-config
# config.status:716: creating pth.h
# config.status:716: creating pth_acmac.h
# config.status:819: creating pth_acdef.h
# config.status:1255: executing default commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_argtype_accept3='socklen_t *'
# ac_cv_argtype_poll2=nfds_t
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_build_alias=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_check_mcsc=no
# ac_cv_check_nfdstype=nfds_t
# ac_cv_check_sjlj=sjljlx
# ac_cv_check_socklentype=socklen_t
# ac_cv_check_stackgrowth=down
# ac_cv_compiler_option_pipe=yes
# ac_cv_cxx_compiler_gnu=yes
# ac_cv_define_POLLIN=yes
# ac_cv_define_RTLD_NEXT=yes
# ac_cv_define_SYS_read=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_CXXCPP_set=
# ac_cv_env_CXXCPP_value=
# ac_cv_env_CXXFLAGS_set=set
# ac_cv_env_CXXFLAGS_value=
# ac_cv_env_CXX_set=set
# ac_cv_env_CXX_value=clang++
# ac_cv_env_F77_set=
# ac_cv_env_F77_value=
# ac_cv_env_FFLAGS_set=
# ac_cv_env_FFLAGS_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_exeext=
# ac_cv_f77_compiler_gnu=yes
# ac_cv_func__longjmp=yes
# ac_cv_func__setjmp=yes
# ac_cv_func_dlclose=yes
# ac_cv_func_dlopen=yes
# ac_cv_func_dlsym=yes
# ac_cv_func_getcontext=no
# ac_cv_func_gettimeofday=yes
# ac_cv_func_longjmp=yes
# ac_cv_func_makecontext=no
# ac_cv_func_poll=yes
# ac_cv_func_readv=yes
# ac_cv_func_select=yes
# ac_cv_func_setcontext=no
# ac_cv_func_setjmp=yes
# ac_cv_func_sigaction=yes
# ac_cv_func_sigaltstack=yes
# ac_cv_func_siglongjmp=yes
# ac_cv_func_sigpending=yes
# ac_cv_func_sigprocmask=yes
# ac_cv_func_sigsetjmp=yes
# ac_cv_func_sigstack=no
# ac_cv_func_sigsuspend=yes
# ac_cv_func_strerror=yes
# ac_cv_func_swapcontext=no
# ac_cv_func_syscall=yes
# ac_cv_func_usleep=yes
# ac_cv_func_writev=yes
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_errno_h=yes
# ac_cv_header_fcntl_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_net_errno_h=no
# ac_cv_header_paths_h=yes
# ac_cv_header_setjmp_h=yes
# ac_cv_header_signal_h=yes
# ac_cv_header_stdarg_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdio_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_resource_h=yes
# ac_cv_header_sys_select_h=yes
# ac_cv_header_sys_socket_h=yes
# ac_cv_header_sys_socketcall_h=no
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_syscall_h=yes
# ac_cv_header_sys_time_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_sys_uio_h=yes
# ac_cv_header_sys_wait_h=yes
# ac_cv_header_ucontext_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_host_alias=x86_64-unknown-linux
# ac_cv_lib_dl_dlsym=yes
# ac_cv_lib_nsl_gethostbyname=no
# ac_cv_lib_nsl_gethostname=no
# ac_cv_lib_socket_accept=no
# ac_cv_objext=o
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_CXX=clang++
# ac_cv_prog_CXXCPP='clang++ -E'
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_F77=f95
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cc_stdc=
# ac_cv_prog_cxx_g=yes
# ac_cv_prog_egrep='grep -E'
# ac_cv_prog_f77_g=yes
# ac_cv_prog_make_make_set=yes
# ac_cv_stacksetup_makecontext='N.A.:/*N.A.*/,/*N.A.*/'
# ac_cv_stacksetup_sigaltstack='guessed:(skaddr),(sksize)'
# ac_cv_stacksetup_sigstack='N.A.:/*N.A.*/,/*N.A.*/'
# ac_cv_structattr_ss_base=no
# ac_cv_structattr_ss_sp=yes
# ac_cv_type_longdouble=yes
# ac_cv_type_longlong=yes
# ac_cv_typedef_nfds_t=yes
# ac_cv_typedef_off_t=yes
# ac_cv_typedef_pid_t=yes
# ac_cv_typedef_sig_atomic_t=yes
# ac_cv_typedef_size_t=yes
# ac_cv_typedef_socklen_t=yes
# ac_cv_typedef_ssize_t=yes
# ac_cv_typedef_stack_t=yes
# 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_objdir=.libs
# lt_cv_path_LD=/sysroot/bin/ld
# lt_cv_path_LDCXX='/sysroot/bin/ld -m elf_x86_64'
# lt_cv_path_NM='/sysroot/bin/nm -B'
# lt_cv_path_SED=/usr/sbin/sed
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_c_o_CXX=yes
# lt_cv_prog_compiler_c_o_F77=yes
# lt_cv_prog_compiler_rtti_exceptions=yes
# lt_cv_prog_gnu_ld=yes
# lt_cv_prog_gnu_ldcxx=yes
# 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\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
# lt_cv_sys_max_cmd_len=32768
# lt_lt_cv_prog_compiler_c_o='"yes"'
# lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
# lt_lt_cv_prog_compiler_c_o_F77='"yes"'
# lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"'
# lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
# lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AR='ar'
# BATCH='no'
# CC='clang'
# CFLAGS=' -pipe'
# CPP='clang -E'
# CPPFLAGS=''
# CXX='clang++'
# CXXCPP='clang++ -E'
# CXXFLAGS=''
# DEFS='-DHAVE_CONFIG_H'
# ECHO='echo'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='grep -E'
# EXEEXT=''
# EXTRA_INCLUDE_SYS_SELECT_H='#include '
# F77='f95'
# FALLBACK_NFDS_T='/* typedef nfds_t nfds_t; */'
# FALLBACK_OFF_T='/* typedef int off_t; */'
# FALLBACK_PID_T='/* typedef int pid_t; */'
# FALLBACK_SIG_ATOMIC_T='/* typedef int sig_atomic_t; */'
# FALLBACK_SIZE_T='/* typedef unsigned int size_t; */'
# FALLBACK_SOCKLEN_T='/* typedef socklen_t socklen_t; */'
# FALLBACK_SSIZE_T='/* typedef unsigned int ssize_t; */'
# FFLAGS='-g -O2'
# INSTALL_PTHREAD=''
# LDFLAGS=''
# LIBOBJS=''
# LIBPTHREAD_A=''
# LIBPTHREAD_LA=''
# LIBS='-ldl '
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LN_S='ln -s'
# LTLIBOBJS=''
# OBJEXT='o'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME=''
# PACKAGE_STRING=''
# PACKAGE_TARNAME=''
# PACKAGE_VERSION=''
# PATH_SEPARATOR=':'
# PLATFORM='x86_64-unknown-linux-gnu'
# PTHREAD_3=''
# PTHREAD_CONFIG_1=''
# PTHREAD_O=''
# PTH_EXT_SFIO='0'
# PTH_FAKE_POLL='0'
# PTH_FAKE_RWV='0'
# PTH_FDSETSIZE='1024'
# PTH_MCTX_ID='sjlj/sjljlx/none'
# PTH_STACK_GROWTH='down'
# PTH_SYSCALL_HARD='0'
# PTH_SYSCALL_SOFT='0'
# PTH_VERSION_HEX='0x200207'
# PTH_VERSION_STR='2.0.7 (08-Jun-2006)'
# RANLIB='ranlib'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# TARGET_ALL='$(TARGET_PREQ) $(TARGET_LIBS) $(TARGET_TEST)'
# TEST_PTHREAD=''
# UNINSTALL_PTHREAD=''
# ac_ct_AR='ar'
# ac_ct_CC=''
# ac_ct_CXX=''
# ac_ct_F77='f95'
# ac_ct_RANLIB='ranlib'
# ac_ct_STRIP='strip'
# bindir='${exec_prefix}/bin'
# build='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${prefix}/share'
# exec_prefix='${prefix}'
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# includedir='${prefix}/include'
# infodir='${prefix}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localstatedir='/var'
# mandir='/usr/share/man'
# oldincludedir='/usr/include'
# prefix='/usr'
# program_transform_name='s,x,x,'
# pth_sigjmpbuf='#define pth_sigjmpbuf sigjmp_buf'
# pth_siglongjmp='#define pth_siglongjmp(buf,val) siglongjmp(buf,val)'
# pth_sigsetjmp='#define pth_sigsetjmp(buf) sigsetjmp(buf,1)'
# pth_skaddr_makecontext='#define pth_skaddr_makecontext(skaddr,sksize) (/*N.A.*/)'
# pth_skaddr_sigaltstack='#define pth_skaddr_sigaltstack(skaddr,sksize) ((skaddr))'
# pth_skaddr_sigstack='#define pth_skaddr_sigstack(skaddr,sksize) (/*N.A.*/)'
# pth_sksize_makecontext='#define pth_sksize_makecontext(skaddr,sksize) (/*N.A.*/)'
# pth_sksize_sigaltstack='#define pth_sksize_sigaltstack(skaddr,sksize) ((sksize))'
# pth_sksize_sigstack='#define pth_sksize_sigstack(skaddr,sksize) (/*N.A.*/)'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# srcdir_prefix=''
# sysconfdir='/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define HAVE_DLCLOSE 1
# #define HAVE_DLFCN_H 1
# #define HAVE_DLFCN_H 1
# #define HAVE_DLOPEN 1
# #define HAVE_DLSYM 1
# #define HAVE_ERRNO_H 1
# #define HAVE_FCNTL_H 1
# #define HAVE_GETTIMEOFDAY 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_LIBDL 1
# #define HAVE_LONGDOUBLE 1
# #define HAVE_LONGJMP 1
# #define HAVE_LONGLONG 1
# #define HAVE_MEMORY_H 1
# #define HAVE_NFDS_T 1
# #define HAVE_OFF_T 1
# #define HAVE_PATHS_H 1
# #define HAVE_PID_T 1
# #define HAVE_POLL 1
# #define HAVE_POLLIN 1
# #define HAVE_READV 1
# #define HAVE_RTLD_NEXT 1
# #define HAVE_SELECT 1
# #define HAVE_SETJMP 1
# #define HAVE_SETJMP_H 1
# #define HAVE_SIGACTION 1
# #define HAVE_SIGALTSTACK 1
# #define HAVE_SIGALTSTACK 1
# #define HAVE_SIGLONGJMP 1
# #define HAVE_SIGNAL_H 1
# #define HAVE_SIGNAL_H 1
# #define HAVE_SIGPENDING 1
# #define HAVE_SIGPROCMASK 1
# #define HAVE_SIGSETJMP 1
# #define HAVE_SIGSUSPEND 1
# #define HAVE_SIG_ATOMIC_T 1
# #define HAVE_SIZE_T 1
# #define HAVE_SOCKLEN_T 1
# #define HAVE_SSIZE_T 1
# #define HAVE_SS_SP 1
# #define HAVE_STACK_T 1
# #define HAVE_STACK_T 1
# #define HAVE_STACK_T 1
# #define HAVE_STDARG_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_STDIO_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRERROR 1
# #define HAVE_STRINGS_H 1
# #define HAVE_STRING_H 1
# #define HAVE_STRING_H 1
# #define HAVE_STRUCT_TIMESPEC 1
# #define HAVE_SYSCALL 1
# #define HAVE_SYS_READ 1
# #define HAVE_SYS_RESOURCE_H 1
# #define HAVE_SYS_SELECT_H 1
# #define HAVE_SYS_SOCKET_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_SYS_SYSCALL_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_UIO_H 1
# #define HAVE_SYS_WAIT_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_USLEEP 1
# #define HAVE_WRITEV 1
# #define HAVE__LONGJMP 1
# #define HAVE__SETJMP 1
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_NAME ""
# #define PACKAGE_STRING ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PTH_MCTX_DSP_use PTH_MCTX_DSP_sjljlx
# #define PTH_MCTX_MTH_use PTH_MCTX_MTH_sjlj
# #define PTH_MCTX_STK_use PTH_MCTX_STK_none
# #define PTH_NSIG 32
# #define PTH_STACKGROWTH -1
# #define PTH_SYSCALL_LIBS "/usr/lib/libdl.so:/lib/libdl.so:/usr/lib/libc.so:/lib/libc.so"
# #define STDC_HEADERS 1
# #define STDC_HEADERS 1
# #endif
# #ifdef __cplusplus
# extern "C" void exit (int);
#
# configure: exit 0