Build of nanomsg with android toolchain

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

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

SLOCLanguage
23,919 ansic
486 pascal
79 sh
24,484 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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: nanomsg 1.0.0-1 (Tue Apr 4 20:33:06 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# -- The C compiler identification is GNU 4.8.0
# -- Check for working C compiler: /sysroot/bin/arm-linux-androideabi-gcc
# -- Check for working C compiler: /sysroot/bin/arm-linux-androideabi-gcc -- works
# -- Detecting C compiler ABI info
# -- Detecting C compiler ABI info - done
# -- Detecting C compile features
# -- Detecting C compile features - done
# -- Detected nanomsg ABI v5.0.0
# -- Looking for pthread.h
# -- Looking for pthread.h - found
# -- Looking for pthread_create
# -- Looking for pthread_create - found
# -- Found Threads: TRUE
# -- Looking for gethrtime
# -- Looking for gethrtime - not found
# -- Looking for socketpair
# -- Looking for socketpair - found
# -- Looking for eventfd
# -- Looking for eventfd - found
# -- Looking for pipe
# -- Looking for pipe - found
# -- Looking for pipe2
# -- Looking for pipe2 - found
# -- Looking for accept4
# -- Looking for accept4 - found
# -- Looking for epoll_create
# -- Looking for epoll_create - found
# -- Looking for kqueue
# -- Looking for kqueue - not found
# -- Looking for poll
# -- Looking for poll - found
# -- Looking for getaddrinfo_a in anl
# -- Looking for getaddrinfo_a in anl - not found
# -- Looking for clock_gettime in rt
# -- Looking for clock_gettime in rt - not found
# -- Looking for sem_wait in rt
# -- Looking for sem_wait in rt - not found
# -- Looking for sem_wait in pthread
# -- Looking for sem_wait in pthread - not found
# -- Looking for gethostbyname in nsl
# -- Looking for gethostbyname in nsl - not found
# -- Looking for socket in socket
# -- Looking for socket in socket - not found
# -- Looking for CLOCK_MONOTONIC
# -- Looking for CLOCK_MONOTONIC - found
# -- Looking for atomic_cas_32
# -- Looking for atomic_cas_32 - not found
# -- Looking for AF_UNIX
# -- Looking for AF_UNIX - found
# -- Looking for backtrace_symbols_fd
# -- Looking for backtrace_symbols_fd - not found
# -- Performing Test NN_HAVE_MSG_CONTROL
# -- Performing Test NN_HAVE_MSG_CONTROL - Success
# -- Performing Test NN_HAVE_GCC_ATOMIC_BUILTINS
# -- Performing Test NN_HAVE_GCC_ATOMIC_BUILTINS - Success
# CMake Warning at CMakeLists.txt:246 (message):
# Could not find asciidoctor: skipping docs
#
#
# -- Configuring done
# -- Generating done
# -- Build files have been written to: /tmp/nanomsg/src/nanomsg-1.0.0
# Scanning dependencies of target nanomsg
# [ 1%] Building C object src/CMakeFiles/nanomsg.dir/core/epbase.c.o
# [ 1%] Building C object src/CMakeFiles/nanomsg.dir/core/ep.c.o
# [ 1%] Building C object src/CMakeFiles/nanomsg.dir/core/global.c.o
# [ 2%] Building C object src/CMakeFiles/nanomsg.dir/core/pipe.c.o
# In file included from /tmp/nanomsg/src/nanomsg-1.0.0/src/core/epbase.c:26:0:
# /tmp/nanomsg/src/nanomsg-1.0.0/src/core/sock.h:59:19: error: field 'termsem' has incomplete type
# struct nn_sem termsem;
# ^
# /tmp/nanomsg/src/nanomsg-1.0.0/src/core/sock.h:60:19: error: field 'relesem' has incomplete type
# struct nn_sem relesem;
# ^
# make[2]: *** [src/CMakeFiles/nanomsg.dir/build.make:87: src/CMakeFiles/nanomsg.dir/core/epbase.c.o] Error 1
# make[2]: *** Waiting for unfinished jobs....
# In file included from /tmp/nanomsg/src/nanomsg-1.0.0/src/core/pipe.c:26:0:
# /tmp/nanomsg/src/nanomsg-1.0.0/src/core/sock.h:59:19: error: field 'termsem' has incomplete type
# struct nn_sem termsem;
# ^
# /tmp/nanomsg/src/nanomsg-1.0.0/src/core/sock.h:60:19: error: field 'relesem' has incomplete type
# struct nn_sem relesem;
# ^
# make[2]: *** [src/CMakeFiles/nanomsg.dir/build.make:135: src/CMakeFiles/nanomsg.dir/core/pipe.c.o] Error 1
# In file included from /tmp/nanomsg/src/nanomsg-1.0.0/src/core/ep.c:27:0:
# /tmp/nanomsg/src/nanomsg-1.0.0/src/core/sock.h:59:19: error: field 'termsem' has incomplete type
# struct nn_sem termsem;
# ^
# /tmp/nanomsg/src/nanomsg-1.0.0/src/core/sock.h:60:19: error: field 'relesem' has incomplete type
# struct nn_sem relesem;
# ^
# In file included from /tmp/nanomsg/src/nanomsg-1.0.0/src/core/global.c:30:0:
# /tmp/nanomsg/src/nanomsg-1.0.0/src/core/sock.h:59:19: error: field 'termsem' has incomplete type
# struct nn_sem termsem;
# ^
# /tmp/nanomsg/src/nanomsg-1.0.0/src/core/sock.h:60:19: error: field 'relesem' has incomplete type
# struct nn_sem relesem;
# ^
# make[2]: *** [src/CMakeFiles/nanomsg.dir/build.make:63: src/CMakeFiles/nanomsg.dir/core/ep.c.o] Error 1
# make[2]: *** [src/CMakeFiles/nanomsg.dir/build.make:111: src/CMakeFiles/nanomsg.dir/core/global.c.o] Error 1
# make[1]: *** [CMakeFiles/Makefile2:1931: src/CMakeFiles/nanomsg.dir/all] Error 2
# make: *** [Makefile:161: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing Cmake errors

CMD: Cmake errors '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeError.log'
# Determining if the function gethrtime exists failed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_06796/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_06796.dir/build.make CMakeFiles/cmTC_06796.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_06796.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=gethrtime -o CMakeFiles/cmTC_06796.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_06796
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_06796.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=gethrtime CMakeFiles/cmTC_06796.dir/CheckFunctionExists.c.o -o cmTC_06796 -rdynamic
# CMakeFiles/cmTC_06796.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'gethrtime'
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_06796.dir/build.make:98: cmTC_06796] Error 1
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_06796/fast] Error 2
#
#
# Determining if the function kqueue exists failed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_07e89/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_07e89.dir/build.make CMakeFiles/cmTC_07e89.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_07e89.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=kqueue -o CMakeFiles/cmTC_07e89.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_07e89
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_07e89.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=kqueue CMakeFiles/cmTC_07e89.dir/CheckFunctionExists.c.o -o cmTC_07e89 -rdynamic
# CMakeFiles/cmTC_07e89.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'kqueue'
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_07e89.dir/build.make:98: cmTC_07e89] Error 1
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_07e89/fast] Error 2
#
#
# Determining if the function getaddrinfo_a exists in the anl failed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_b86f3/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_b86f3.dir/build.make CMakeFiles/cmTC_b86f3.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_b86f3.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=getaddrinfo_a -o CMakeFiles/cmTC_b86f3.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_b86f3
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b86f3.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=getaddrinfo_a CMakeFiles/cmTC_b86f3.dir/CheckFunctionExists.c.o -o cmTC_b86f3 -rdynamic -lanl
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lanl
# CMakeFiles/cmTC_b86f3.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'getaddrinfo_a'
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_b86f3.dir/build.make:98: cmTC_b86f3] Error 1
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_b86f3/fast] Error 2
#
#
# Determining if the function clock_gettime exists in the rt failed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_c2bb6/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_c2bb6.dir/build.make CMakeFiles/cmTC_c2bb6.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_c2bb6.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=clock_gettime -o CMakeFiles/cmTC_c2bb6.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_c2bb6
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c2bb6.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=clock_gettime CMakeFiles/cmTC_c2bb6.dir/CheckFunctionExists.c.o -o cmTC_c2bb6 -rdynamic -lrt
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lrt
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_c2bb6.dir/build.make:98: cmTC_c2bb6] Error 1
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_c2bb6/fast] Error 2
#
#
# Determining if the function sem_wait exists in the rt failed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_4f82f/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_4f82f.dir/build.make CMakeFiles/cmTC_4f82f.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_4f82f.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=sem_wait -o CMakeFiles/cmTC_4f82f.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_4f82f
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4f82f.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=sem_wait CMakeFiles/cmTC_4f82f.dir/CheckFunctionExists.c.o -o cmTC_4f82f -rdynamic -lrt
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lrt
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_4f82f.dir/build.make:98: cmTC_4f82f] Error 1
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_4f82f/fast] Error 2
#
#
# Determining if the function sem_wait exists in the pthread failed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_8404b/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_8404b.dir/build.make CMakeFiles/cmTC_8404b.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_8404b.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=sem_wait -o CMakeFiles/cmTC_8404b.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_8404b
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8404b.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=sem_wait CMakeFiles/cmTC_8404b.dir/CheckFunctionExists.c.o -o cmTC_8404b -rdynamic -lpthread
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_8404b.dir/build.make:98: cmTC_8404b] Error 1
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_8404b/fast] Error 2
#
#
# Determining if the function gethostbyname exists in the nsl failed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_005f4/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_005f4.dir/build.make CMakeFiles/cmTC_005f4.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_005f4.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=gethostbyname -o CMakeFiles/cmTC_005f4.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_005f4
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_005f4.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=gethostbyname CMakeFiles/cmTC_005f4.dir/CheckFunctionExists.c.o -o cmTC_005f4 -rdynamic -lnsl
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lnsl
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_005f4.dir/build.make:98: cmTC_005f4] Error 1
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_005f4/fast] Error 2
#
#
# Determining if the function socket exists in the socket failed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_1a31d/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_1a31d.dir/build.make CMakeFiles/cmTC_1a31d.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_1a31d.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=socket -o CMakeFiles/cmTC_1a31d.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_1a31d
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1a31d.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=socket CMakeFiles/cmTC_1a31d.dir/CheckFunctionExists.c.o -o cmTC_1a31d -rdynamic -lsocket
# /sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsocket
# collect2: error: ld returned 1 exit status
# make[1]: *** [CMakeFiles/cmTC_1a31d.dir/build.make:98: cmTC_1a31d] Error 1
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_1a31d/fast] Error 2
#
#
# Determining if the atomic_cas_32 exist failed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_bea7e/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_bea7e.dir/build.make CMakeFiles/cmTC_bea7e.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_bea7e.dir/CheckSymbolExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_bea7e.dir/CheckSymbolExists.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c
# /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:20: fatal error: atomic.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[1]: *** [CMakeFiles/cmTC_bea7e.dir/build.make:66: CMakeFiles/cmTC_bea7e.dir/CheckSymbolExists.c.o] Error 1
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_bea7e/fast] Error 2
#
# File /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
# /* */
# #include
#
# int main(int argc, char** argv)
# {
# (void)argv;
# #ifndef atomic_cas_32
# return ((int*)(&atomic_cas_32))[argc];
# #else
# (void)argc;
# return 0;
# #endif
# }
#
# Determining if the backtrace_symbols_fd exist failed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_40559/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_40559.dir/build.make CMakeFiles/cmTC_40559.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_40559.dir/CheckSymbolExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_40559.dir/CheckSymbolExists.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c
# /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:22: fatal error: execinfo.h: No such file or directory
# #include
# ^
# compilation terminated.
# make[1]: *** [CMakeFiles/cmTC_40559.dir/build.make:66: CMakeFiles/cmTC_40559.dir/CheckSymbolExists.c.o] Error 1
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_40559/fast] Error 2
#
# File /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
# /* */
# #include
#
# int main(int argc, char** argv)
# {
# (void)argv;
# #ifndef backtrace_symbols_fd
# return ((int*)(&backtrace_symbols_fd))[argc];
# #else
# (void)argc;
# return 0;
# #endif
# }
#

Printing Cmake output

CMD: Cmake output '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeOutput.log'
# The system is: Linux - 4.10.6-1-ARCH - x86_64
# Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
# Compiler: /sysroot/bin/arm-linux-androideabi-gcc
# Build flags:
# Id flags:
#
# The output was:
# 0
#
#
# Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
#
# The C compiler identification is GNU, found in "/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/3.5.2/CompilerIdC/a.out"
#
# Determining if the C compiler works passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_8a5cb/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_8a5cb.dir/build.make CMakeFiles/cmTC_8a5cb.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_8a5cb.dir/testCCompiler.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_8a5cb.dir/testCCompiler.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/testCCompiler.c
# Linking C executable cmTC_8a5cb
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8a5cb.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_8a5cb.dir/testCCompiler.c.o -o cmTC_8a5cb -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Detecting C compiler ABI info compiled with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_7e406/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_7e406.dir/build.make CMakeFiles/cmTC_7e406.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_7e406.dir/CMakeCCompilerABI.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_7e406.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
# Linking C executable cmTC_7e406
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7e406.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -v CMakeFiles/cmTC_7e406.dir/CMakeCCompilerABI.c.o -o cmTC_7e406 -rdynamic
# Using built-in specs.
# COLLECT_GCC=/sysroot/bin/arm-linux-androideabi-gcc
# COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
# Target: arm-linux-androideabi
# Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default
# Thread model: posix
# gcc version 4.8 (GCC)
# COMPILER_PATH=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/:/sysroot/bin/../libexec/gcc/:/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/
# LIBRARY_PATH=/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/:/sysroot/bin/../lib/gcc/:/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib/:/sysroot/bin/../sysroot/usr/lib/
# COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7e406' '-rdynamic' '-march=armv5te' '-mfloat-abi=soft' '-mfpu=vfp' '-mtls-dialect=gnu'
# /sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/collect2 --sysroot=/sysroot/bin/../sysroot --eh-frame-hdr -export-dynamic -dynamic-linker /system/bin/linker -X -m armelf_linux_eabi -z noexecstack -z relro -z now -o cmTC_7e406 /sysroot/bin/../sysroot/usr/lib/crtbegin_dynamic.o -L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8 -L/sysroot/bin/../lib/gcc -L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib -L/sysroot/bin/../sysroot/usr/lib CMakeFiles/cmTC_7e406.dir/CMakeCCompilerABI.c.o -lgcc -lc -ldl -lgcc /sysroot/bin/../sysroot/usr/lib/crtend_android.o
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Parsed C implicit link information from above output:
# link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
# ignore line: [Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp]
# ignore line: []
# ignore line: [Run Build Command:"/usr/sbin/make" "cmTC_7e406/fast"]
# ignore line: [/usr/sbin/make -f CMakeFiles/cmTC_7e406.dir/build.make CMakeFiles/cmTC_7e406.dir/build]
# ignore line: [make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp']
# ignore line: [Building C object CMakeFiles/cmTC_7e406.dir/CMakeCCompilerABI.c.o]
# ignore line: [/sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_7e406.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
# ignore line: [Linking C executable cmTC_7e406]
# ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7e406.dir/link.txt --verbose=1]
# ignore line: [/sysroot/bin/arm-linux-androideabi-gcc -v CMakeFiles/cmTC_7e406.dir/CMakeCCompilerABI.c.o -o cmTC_7e406 -rdynamic ]
# ignore line: [Using built-in specs.]
# ignore line: [COLLECT_GCC=/sysroot/bin/arm-linux-androideabi-gcc]
# ignore line: [COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper]
# ignore line: [Target: arm-linux-androideabi]
# ignore line: [Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default]
# ignore line: [Thread model: posix]
# ignore line: [gcc version 4.8 (GCC) ]
# ignore line: [COMPILER_PATH=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/:/sysroot/bin/../libexec/gcc/:/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/]
# ignore line: [LIBRARY_PATH=/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/:/sysroot/bin/../lib/gcc/:/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib/:/sysroot/bin/../sysroot/usr/lib/]
# ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7e406' '-rdynamic' '-march=armv5te' '-mfloat-abi=soft' '-mfpu=vfp' '-mtls-dialect=gnu']
# link line: [ /sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/collect2 --sysroot=/sysroot/bin/../sysroot --eh-frame-hdr -export-dynamic -dynamic-linker /system/bin/linker -X -m armelf_linux_eabi -z noexecstack -z relro -z now -o cmTC_7e406 /sysroot/bin/../sysroot/usr/lib/crtbegin_dynamic.o -L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8 -L/sysroot/bin/../lib/gcc -L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib -L/sysroot/bin/../sysroot/usr/lib CMakeFiles/cmTC_7e406.dir/CMakeCCompilerABI.c.o -lgcc -lc -ldl -lgcc /sysroot/bin/../sysroot/usr/lib/crtend_android.o]
# arg [/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/collect2] ==> ignore
# arg [--sysroot=/sysroot/bin/../sysroot] ==> ignore
# arg [--eh-frame-hdr] ==> ignore
# arg [-export-dynamic] ==> ignore
# arg [-dynamic-linker] ==> ignore
# arg [/system/bin/linker] ==> ignore
# arg [-X] ==> ignore
# arg [-m] ==> ignore
# arg [armelf_linux_eabi] ==> ignore
# arg [-znoexecstack] ==> ignore
# arg [-zrelro] ==> ignore
# arg [-znow] ==> ignore
# arg [-o] ==> ignore
# arg [cmTC_7e406] ==> ignore
# arg [/sysroot/bin/../sysroot/usr/lib/crtbegin_dynamic.o] ==> ignore
# arg [-L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8] ==> dir [/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8]
# arg [-L/sysroot/bin/../lib/gcc] ==> dir [/sysroot/bin/../lib/gcc]
# arg [-L/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib] ==> dir [/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib]
# arg [-L/sysroot/bin/../sysroot/usr/lib] ==> dir [/sysroot/bin/../sysroot/usr/lib]
# arg [CMakeFiles/cmTC_7e406.dir/CMakeCCompilerABI.c.o] ==> ignore
# arg [-lgcc] ==> lib [gcc]
# arg [-lc] ==> lib [c]
# arg [-ldl] ==> lib [dl]
# arg [-lgcc] ==> lib [gcc]
# arg [/sysroot/bin/../sysroot/usr/lib/crtend_android.o] ==> ignore
# remove lib [gcc]
# remove lib [gcc]
# collapse library dir [/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8] ==> [/sysroot/lib/gcc/arm-linux-androideabi/4.8]
# collapse library dir [/sysroot/bin/../lib/gcc] ==> [/sysroot/lib/gcc]
# collapse library dir [/sysroot/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib] ==> [/sysroot/arm-linux-androideabi/lib]
# collapse library dir [/sysroot/bin/../sysroot/usr/lib] ==> [/sysroot/sysroot/usr/lib]
# implicit libs: [c;dl]
# implicit dirs: [/sysroot/lib/gcc/arm-linux-androideabi/4.8;/sysroot/lib/gcc;/sysroot/arm-linux-androideabi/lib;/sysroot/sysroot/usr/lib]
# implicit fwks: []
#
#
#
#
# Detecting C [-std=c11] compiler features compiled with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_ef156/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_ef156.dir/build.make CMakeFiles/cmTC_ef156.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_ef156.dir/feature_tests.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -std=c11 -o CMakeFiles/cmTC_ef156.dir/feature_tests.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/feature_tests.c
# Linking C executable cmTC_ef156
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ef156.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_ef156.dir/feature_tests.c.o -o cmTC_ef156 -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:1c_restrict
# Feature record: C_FEATURE:1c_static_assert
# Feature record: C_FEATURE:1c_variadic_macros
#
#
# Detecting C [-std=c99] compiler features compiled with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_7717f/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_7717f.dir/build.make CMakeFiles/cmTC_7717f.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_7717f.dir/feature_tests.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -std=c99 -o CMakeFiles/cmTC_7717f.dir/feature_tests.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/feature_tests.c
# Linking C executable cmTC_7717f
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7717f.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_7717f.dir/feature_tests.c.o -o cmTC_7717f -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:1c_restrict
# Feature record: C_FEATURE:0c_static_assert
# Feature record: C_FEATURE:1c_variadic_macros
#
#
# Detecting C [-std=c90] compiler features compiled with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_4c0a8/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_4c0a8.dir/build.make CMakeFiles/cmTC_4c0a8.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_4c0a8.dir/feature_tests.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -std=c90 -o CMakeFiles/cmTC_4c0a8.dir/feature_tests.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/feature_tests.c
# Linking C executable cmTC_4c0a8
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4c0a8.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_4c0a8.dir/feature_tests.c.o -o cmTC_4c0a8 -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Feature record: C_FEATURE:1c_function_prototypes
# Feature record: C_FEATURE:0c_restrict
# Feature record: C_FEATURE:0c_static_assert
# Feature record: C_FEATURE:0c_variadic_macros
# Determining if the include file pthread.h exists passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_563f6/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_563f6.dir/build.make CMakeFiles/cmTC_563f6.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_563f6.dir/CheckIncludeFile.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_563f6.dir/CheckIncludeFile.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckIncludeFile.c
# Linking C executable cmTC_563f6
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_563f6.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_563f6.dir/CheckIncludeFile.c.o -o cmTC_563f6 -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Determining if the pthread_create exist passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_75381/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_75381.dir/build.make CMakeFiles/cmTC_75381.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_75381.dir/CheckSymbolExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_75381.dir/CheckSymbolExists.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c
# Linking C executable cmTC_75381
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_75381.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_75381.dir/CheckSymbolExists.c.o -o cmTC_75381 -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
# File /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
# /* */
# #include
#
# int main(int argc, char** argv)
# {
# (void)argv;
# #ifndef pthread_create
# return ((int*)(&pthread_create))[argc];
# #else
# (void)argc;
# return 0;
# #endif
# }
#
# Determining if the function socketpair exists passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_060ad/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_060ad.dir/build.make CMakeFiles/cmTC_060ad.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_060ad.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=socketpair -o CMakeFiles/cmTC_060ad.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_060ad
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_060ad.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=socketpair CMakeFiles/cmTC_060ad.dir/CheckFunctionExists.c.o -o cmTC_060ad -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Determining if the function eventfd exists passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_86752/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_86752.dir/build.make CMakeFiles/cmTC_86752.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_86752.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=eventfd -o CMakeFiles/cmTC_86752.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_86752
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_86752.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=eventfd CMakeFiles/cmTC_86752.dir/CheckFunctionExists.c.o -o cmTC_86752 -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Determining if the function pipe exists passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_5c662/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_5c662.dir/build.make CMakeFiles/cmTC_5c662.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_5c662.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=pipe -o CMakeFiles/cmTC_5c662.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_5c662
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5c662.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=pipe CMakeFiles/cmTC_5c662.dir/CheckFunctionExists.c.o -o cmTC_5c662 -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Determining if the function pipe2 exists passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_4a32a/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_4a32a.dir/build.make CMakeFiles/cmTC_4a32a.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_4a32a.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=pipe2 -o CMakeFiles/cmTC_4a32a.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_4a32a
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4a32a.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=pipe2 CMakeFiles/cmTC_4a32a.dir/CheckFunctionExists.c.o -o cmTC_4a32a -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Determining if the function accept4 exists passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_93ef5/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_93ef5.dir/build.make CMakeFiles/cmTC_93ef5.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_93ef5.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=accept4 -o CMakeFiles/cmTC_93ef5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_93ef5
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_93ef5.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=accept4 CMakeFiles/cmTC_93ef5.dir/CheckFunctionExists.c.o -o cmTC_93ef5 -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Determining if the function epoll_create exists passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_718f7/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_718f7.dir/build.make CMakeFiles/cmTC_718f7.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_718f7.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=epoll_create -o CMakeFiles/cmTC_718f7.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_718f7
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_718f7.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=epoll_create CMakeFiles/cmTC_718f7.dir/CheckFunctionExists.c.o -o cmTC_718f7 -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Determining if the function poll exists passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_310dd/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_310dd.dir/build.make CMakeFiles/cmTC_310dd.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_310dd.dir/CheckFunctionExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=poll -o CMakeFiles/cmTC_310dd.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# Linking C executable cmTC_310dd
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_310dd.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DCHECK_FUNCTION_EXISTS=poll CMakeFiles/cmTC_310dd.dir/CheckFunctionExists.c.o -o cmTC_310dd -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
#
# Determining if the CLOCK_MONOTONIC exist passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_7bc6f/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_7bc6f.dir/build.make CMakeFiles/cmTC_7bc6f.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_7bc6f.dir/CheckSymbolExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_7bc6f.dir/CheckSymbolExists.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c
# Linking C executable cmTC_7bc6f
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7bc6f.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_7bc6f.dir/CheckSymbolExists.c.o -o cmTC_7bc6f -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
# File /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
# /* */
# #include
#
# int main(int argc, char** argv)
# {
# (void)argv;
# #ifndef CLOCK_MONOTONIC
# return ((int*)(&CLOCK_MONOTONIC))[argc];
# #else
# (void)argc;
# return 0;
# #endif
# }
#
# Determining if the AF_UNIX exist passed with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_eec05/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_eec05.dir/build.make CMakeFiles/cmTC_eec05.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_eec05.dir/CheckSymbolExists.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -o CMakeFiles/cmTC_eec05.dir/CheckSymbolExists.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c
# Linking C executable cmTC_eec05
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_eec05.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc CMakeFiles/cmTC_eec05.dir/CheckSymbolExists.c.o -o cmTC_eec05 -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
# File /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
# /* */
# #include
#
# int main(int argc, char** argv)
# {
# (void)argv;
# #ifndef AF_UNIX
# return ((int*)(&AF_UNIX))[argc];
# #else
# (void)argc;
# return 0;
# #endif
# }
#
# Performing C SOURCE FILE Test NN_HAVE_MSG_CONTROL succeeded with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_b432e/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_b432e.dir/build.make CMakeFiles/cmTC_b432e.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_b432e.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DNN_HAVE_MSG_CONTROL -o CMakeFiles/cmTC_b432e.dir/src.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/src.c
# Linking C executable cmTC_b432e
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b432e.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DNN_HAVE_MSG_CONTROL CMakeFiles/cmTC_b432e.dir/src.c.o -o cmTC_b432e -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
# Source file was:
#
# #include
#
# int main()
# {
# (void)sizeof(((struct msghdr *)0)->msg_control);
# return 0;
# }
#
# Performing C SOURCE FILE Test NN_HAVE_GCC_ATOMIC_BUILTINS succeeded with the following output:
# Change Dir: /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_e2175/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_e2175.dir/build.make CMakeFiles/cmTC_e2175.dir/build
# make[1]: Entering directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_e2175.dir/src.c.o
# /sysroot/bin/arm-linux-androideabi-gcc -DNN_HAVE_GCC_ATOMIC_BUILTINS -o CMakeFiles/cmTC_e2175.dir/src.c.o -c /tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp/src.c
# Linking C executable cmTC_e2175
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e2175.dir/link.txt --verbose=1
# /sysroot/bin/arm-linux-androideabi-gcc -DNN_HAVE_GCC_ATOMIC_BUILTINS CMakeFiles/cmTC_e2175.dir/src.c.o -o cmTC_e2175 -rdynamic
# make[1]: Leaving directory '/tmp/nanomsg/src/nanomsg-1.0.0/CMakeFiles/CMakeTmp'
#
# Source file was:
#
# #include
# int main()
# {
# volatile uint32_t n = 0;
# __sync_fetch_and_add (&n, 1);
# __sync_fetch_and_sub (&n, 1);
# return 0;
# }
#