Build of libsoxr with musl toolchain

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

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

SLOCLanguage
6,813 ansic
239 sh
40 cpp
7,092 total

The process tree of the build process is here.

List of Errors

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: libsoxr 0.1.2-1 (Wed Apr 5 01:49:20 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# -- The C compiler identification is Clang 3.8.1
# -- Check for working C compiler: /sysroot/bin/clang
# -- Check for working C compiler: /sysroot/bin/clang -- works
# -- Detecting C compiler ABI info
# -- Detecting C compiler ABI info - done
# -- Detecting C compile features
# -- Detecting C compile features - done
# -- Looking for pow in m
# -- Looking for pow in m - found
# -- Try OpenMP C flag = [-fopenmp]
# -- Performing Test OpenMP_FLAG_DETECTED
# -- Performing Test OpenMP_FLAG_DETECTED - Failed
# -- Try OpenMP C flag = [/openmp]
# -- Performing Test OpenMP_FLAG_DETECTED
# -- Performing Test OpenMP_FLAG_DETECTED - Failed
# -- Try OpenMP C flag = [-Qopenmp]
# -- Performing Test OpenMP_FLAG_DETECTED
# -- Performing Test OpenMP_FLAG_DETECTED - Failed
# -- Try OpenMP C flag = [-openmp]
# -- Performing Test OpenMP_FLAG_DETECTED
# -- Performing Test OpenMP_FLAG_DETECTED - Failed
# -- Try OpenMP C flag = [ ]
# -- Performing Test OpenMP_FLAG_DETECTED
# -- Performing Test OpenMP_FLAG_DETECTED - Failed
# -- Try OpenMP C flag = [-xopenmp]
# -- Performing Test OpenMP_FLAG_DETECTED
# -- Performing Test OpenMP_FLAG_DETECTED - Failed
# -- Try OpenMP C flag = [+Oopenmp]
# -- Performing Test OpenMP_FLAG_DETECTED
# -- Performing Test OpenMP_FLAG_DETECTED - Failed
# -- Try OpenMP C flag = [-qsmp]
# -- Performing Test OpenMP_FLAG_DETECTED
# -- Performing Test OpenMP_FLAG_DETECTED - Failed
# -- Try OpenMP C flag = [-mp]
# -- Performing Test OpenMP_FLAG_DETECTED
# -- Performing Test OpenMP_FLAG_DETECTED - Failed
# -- Could NOT find OpenMP (missing: OpenMP_C_FLAGS)
# -- Try SIMD C flag = [ ]
# -- Performing Test SIMD_FLAG_DETECTED
# -- Performing Test SIMD_FLAG_DETECTED - Success
# -- Found SIMD:
# -- Looking for lrint
# -- Looking for lrint - found
# -- Looking for include file fenv.h
# -- Looking for include file fenv.h - found
# -- Performing Test HAVE_WORDS_BIGENDIAN
# -- Performing Test HAVE_WORDS_BIGENDIAN - Failed
# CMake Warning (dev) at src/CMakeLists.txt:111 (get_property):
# Policy CMP0026 is not set: Disallow use of the LOCATION target property.
# Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
# command to set the policy and suppress this warning.
#
# The LOCATION property should not be read from target "soxr". Use the
# target name directly with add_custom_command, or use the generator
# expression $, as appropriate.
#
# This warning is for project developers. Use -Wno-dev to suppress it.
#
# CMake Warning (dev) at src/CMakeLists.txt:117 (get_property):
# Policy CMP0026 is not set: Disallow use of the LOCATION target property.
# Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
# command to set the policy and suppress this warning.
#
# The LOCATION property should not be read from target "soxr-lsr". Use the
# target name directly with add_custom_command, or use the generator
# expression $, as appropriate.
#
# This warning is for project developers. Use -Wno-dev to suppress it.
#
# CMake Warning (dev) in src/CMakeLists.txt:
# Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
# interface. Run "cmake --help-policy CMP0022" for policy details. Use the
# cmake_policy command to set the policy and suppress this warning.
#
# Target "soxr" has an INTERFACE_LINK_LIBRARIES property which differs from
# its LINK_INTERFACE_LIBRARIES properties.
#
# INTERFACE_LINK_LIBRARIES:
#
# m
#
# LINK_INTERFACE_LIBRARIES:
#
#
#
# This warning is for project developers. Use -Wno-dev to suppress it.
#
# -- Configuring done
# CMake Warning (dev) in src/CMakeLists.txt:
# Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
# interface. Run "cmake --help-policy CMP0022" for policy details. Use the
# cmake_policy command to set the policy and suppress this warning.
#
# Target "soxr" has an INTERFACE_LINK_LIBRARIES property which differs from
# its LINK_INTERFACE_LIBRARIES properties.
#
# INTERFACE_LINK_LIBRARIES:
#
# m
#
# LINK_INTERFACE_LIBRARIES:
#
#
#
# This warning is for project developers. Use -Wno-dev to suppress it.
#
# CMake Warning (dev) in src/CMakeLists.txt:
# Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
# interface. Run "cmake --help-policy CMP0022" for policy details. Use the
# cmake_policy command to set the policy and suppress this warning.
#
# Target "soxr-lsr" has an INTERFACE_LINK_LIBRARIES property which differs
# from its LINK_INTERFACE_LIBRARIES properties.
#
# INTERFACE_LINK_LIBRARIES:
#
# m;soxr
#
# LINK_INTERFACE_LIBRARIES:
#
#
#
# This warning is for project developers. Use -Wno-dev to suppress it.
#
# -- Generating done
# CMake Warning:
# Manually-specified variables were not used by the project:
#
# VISIBILITY_HIDDENL
#
#
# -- Build files have been written to: /tmp/libsoxr/src/soxr-0.1.2-Source
# Scanning dependencies of target soxr
# [ 3%] Building C object src/CMakeFiles/soxr.dir/soxr.c.o
# [ 7%] Building C object src/CMakeFiles/soxr.dir/data-io.c.o
# [ 10%] Building C object src/CMakeFiles/soxr.dir/filter.c.o
# [ 14%] Building C object src/CMakeFiles/soxr.dir/dbesi0.c.o
# /tmp/libsoxr/src/soxr-0.1.2-Source/src/data-io.c:96:18: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
# #pragma STDC FENV_ACCESS ON
# ^
# [ 17%] Building C object src/CMakeFiles/soxr.dir/fft4g64.c.o
# [ 21%] Building C object src/CMakeFiles/soxr.dir/rate32.c.o
# [ 25%] Building C object src/CMakeFiles/soxr.dir/fft4g32.c.o
# [ 28%] Building C object src/CMakeFiles/soxr.dir/vr32.c.o
# 1 warning generated.
# [ 32%] Building C object src/CMakeFiles/soxr.dir/rate64.c.o
# [ 35%] Building C object src/CMakeFiles/soxr.dir/rate32s.c.o
# [ 39%] Building C object src/CMakeFiles/soxr.dir/pffft32s.c.o
# [ 42%] Building C object src/CMakeFiles/soxr.dir/simd.c.o
# [ 46%] Linking C shared library libsoxr.so
# [ 46%] Built target soxr
# Scanning dependencies of target soxr-lsr
# Scanning dependencies of target vector-gen
# Scanning dependencies of target 1-delay-clear
# Scanning dependencies of target vector-cmp
# [ 50%] Building C object src/CMakeFiles/soxr-lsr.dir/lsr.c.o
# [ 53%] Building C object tests/CMakeFiles/vector-cmp.dir/vector-cmp.c.o
# [ 57%] Building C object tests/CMakeFiles/1-delay-clear.dir/1-delay-clear.c.o
# [ 60%] Building C object tests/CMakeFiles/vector-gen.dir/vector-gen.c.o
# [ 64%] Linking C executable vector-gen
# [ 67%] Linking C executable vector-cmp
# [ 71%] Linking C executable 1-delay-clear
# [ 71%] Built target vector-gen
# [ 71%] Built target vector-cmp
# [ 71%] Built target 1-delay-clear
# Scanning dependencies of target 3-options-input-fn
# Scanning dependencies of target test-vectors
# [ 75%] Building C object examples/CMakeFiles/3-options-input-fn.dir/3-options-input-fn.c.o
# [ 78%] Linking C shared library libsoxr-lsr.so
# [ 82%] Generating ref-44100.s32
# [ 85%] Generating ref-65537.s32
# ./vector-gen: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# make[2]: *** [tests/CMakeFiles/test-vectors.dir/build.make:77: tests/ref-44100.s32] Error 127
# make[2]: *** Waiting for unfinished jobs....
# ./vector-gen: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# make[2]: *** [tests/CMakeFiles/test-vectors.dir/build.make:82: tests/ref-65537.s32] Error 127
# make[1]: *** [CMakeFiles/Makefile2:250: tests/CMakeFiles/test-vectors.dir/all] Error 2
# make[1]: *** Waiting for unfinished jobs....
# [ 85%] Built target soxr-lsr
# [ 89%] Linking C executable 3-options-input-fn
# [ 89%] Built target 3-options-input-fn
# make: *** [Makefile:161: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing Cmake errors

CMD: Cmake errors '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeError.log'
# Performing C SOURCE FILE Test OpenMP_FLAG_DETECTED failed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_47415/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_47415.dir/build.make CMakeFiles/cmTC_47415.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_47415.dir/src.c.o
# /sysroot/bin/clang -DOpenMP_FLAG_DETECTED -fopenmp -o CMakeFiles/cmTC_47415.dir/src.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c
# /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c:2:10: fatal error: 'omp.h' file not found
# #include
# ^
# 1 error generated.
# make[1]: *** [CMakeFiles/cmTC_47415.dir/build.make:66: CMakeFiles/cmTC_47415.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_47415/fast] Error 2
#
# Source file was:
#
# #include
# int main() {
# #ifdef _OPENMP
# return 0;
# #else
# breaks_on_purpose
# #endif
# }
#
# Performing C SOURCE FILE Test OpenMP_FLAG_DETECTED failed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_1aa57/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_1aa57.dir/build.make CMakeFiles/cmTC_1aa57.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_1aa57.dir/src.c.o
# /sysroot/bin/clang -DOpenMP_FLAG_DETECTED /openmp -o CMakeFiles/cmTC_1aa57.dir/src.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c
# clang-3.8: error: no such file or directory: '/openmp'
# make[1]: *** [CMakeFiles/cmTC_1aa57.dir/build.make:66: CMakeFiles/cmTC_1aa57.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_1aa57/fast] Error 2
#
# Source file was:
#
# #include
# int main() {
# #ifdef _OPENMP
# return 0;
# #else
# breaks_on_purpose
# #endif
# }
#
# Performing C SOURCE FILE Test OpenMP_FLAG_DETECTED failed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_b3ad7/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_b3ad7.dir/build.make CMakeFiles/cmTC_b3ad7.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_b3ad7.dir/src.c.o
# /sysroot/bin/clang -DOpenMP_FLAG_DETECTED -Qopenmp -o CMakeFiles/cmTC_b3ad7.dir/src.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c
# clang-3.8: error: unknown argument: '-Qopenmp'
# make[1]: *** [CMakeFiles/cmTC_b3ad7.dir/build.make:66: CMakeFiles/cmTC_b3ad7.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_b3ad7/fast] Error 2
#
# Source file was:
#
# #include
# int main() {
# #ifdef _OPENMP
# return 0;
# #else
# breaks_on_purpose
# #endif
# }
#
# Performing C SOURCE FILE Test OpenMP_FLAG_DETECTED failed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_e9cea/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_e9cea.dir/build.make CMakeFiles/cmTC_e9cea.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_e9cea.dir/src.c.o
# /sysroot/bin/clang -DOpenMP_FLAG_DETECTED -openmp -o CMakeFiles/cmTC_e9cea.dir/src.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c
# /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c:2:10: fatal error: 'omp.h' file not found
# #include
# ^
# 1 error generated.
# make[1]: *** [CMakeFiles/cmTC_e9cea.dir/build.make:66: CMakeFiles/cmTC_e9cea.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_e9cea/fast] Error 2
#
# Source file was:
#
# #include
# int main() {
# #ifdef _OPENMP
# return 0;
# #else
# breaks_on_purpose
# #endif
# }
#
# Performing C SOURCE FILE Test OpenMP_FLAG_DETECTED failed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_1fb4f/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_1fb4f.dir/build.make CMakeFiles/cmTC_1fb4f.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_1fb4f.dir/src.c.o
# /sysroot/bin/clang -DOpenMP_FLAG_DETECTED -o CMakeFiles/cmTC_1fb4f.dir/src.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c
# /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c:2:10: fatal error: 'omp.h' file not found
# #include
# ^
# 1 error generated.
# make[1]: *** [CMakeFiles/cmTC_1fb4f.dir/build.make:66: CMakeFiles/cmTC_1fb4f.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_1fb4f/fast] Error 2
#
# Source file was:
#
# #include
# int main() {
# #ifdef _OPENMP
# return 0;
# #else
# breaks_on_purpose
# #endif
# }
#
# Performing C SOURCE FILE Test OpenMP_FLAG_DETECTED failed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_94d97/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_94d97.dir/build.make CMakeFiles/cmTC_94d97.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_94d97.dir/src.c.o
# /sysroot/bin/clang -DOpenMP_FLAG_DETECTED -xopenmp -o CMakeFiles/cmTC_94d97.dir/src.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c
# clang-3.8: error: language not recognized: 'openmp'
# clang-3.8: warning: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c: 'linker' input unused
# make[1]: *** [CMakeFiles/cmTC_94d97.dir/build.make:66: CMakeFiles/cmTC_94d97.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_94d97/fast] Error 2
#
# Source file was:
#
# #include
# int main() {
# #ifdef _OPENMP
# return 0;
# #else
# breaks_on_purpose
# #endif
# }
#
# Performing C SOURCE FILE Test OpenMP_FLAG_DETECTED failed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_1a652/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_1a652.dir/build.make CMakeFiles/cmTC_1a652.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_1a652.dir/src.c.o
# /sysroot/bin/clang -DOpenMP_FLAG_DETECTED +Oopenmp -o CMakeFiles/cmTC_1a652.dir/src.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c
# clang-3.8: error: no such file or directory: '+Oopenmp'
# make[1]: *** [CMakeFiles/cmTC_1a652.dir/build.make:66: CMakeFiles/cmTC_1a652.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_1a652/fast] Error 2
#
# Source file was:
#
# #include
# int main() {
# #ifdef _OPENMP
# return 0;
# #else
# breaks_on_purpose
# #endif
# }
#
# Performing C SOURCE FILE Test OpenMP_FLAG_DETECTED failed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_8ed5a/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_8ed5a.dir/build.make CMakeFiles/cmTC_8ed5a.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_8ed5a.dir/src.c.o
# /sysroot/bin/clang -DOpenMP_FLAG_DETECTED -qsmp -o CMakeFiles/cmTC_8ed5a.dir/src.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c
# clang-3.8: error: unknown argument: '-qsmp'
# make[1]: *** [CMakeFiles/cmTC_8ed5a.dir/build.make:66: CMakeFiles/cmTC_8ed5a.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_8ed5a/fast] Error 2
#
# Source file was:
#
# #include
# int main() {
# #ifdef _OPENMP
# return 0;
# #else
# breaks_on_purpose
# #endif
# }
#
# Performing C SOURCE FILE Test OpenMP_FLAG_DETECTED failed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_51df9/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_51df9.dir/build.make CMakeFiles/cmTC_51df9.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_51df9.dir/src.c.o
# /sysroot/bin/clang -DOpenMP_FLAG_DETECTED -mp -o CMakeFiles/cmTC_51df9.dir/src.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c
# clang-3.8: error: unknown argument: '-mp'
# make[1]: *** [CMakeFiles/cmTC_51df9.dir/build.make:66: CMakeFiles/cmTC_51df9.dir/src.c.o] Error 1
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# make: *** [Makefile:126: cmTC_51df9/fast] Error 2
#
# Source file was:
#
# #include
# int main() {
# #ifdef _OPENMP
# return 0;
# #else
# breaks_on_purpose
# #endif
# }
#
# Performing C SOURCE FILE Test HAVE_WORDS_BIGENDIAN failed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_a09d6/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_a09d6.dir/build.make CMakeFiles/cmTC_a09d6.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_a09d6.dir/src.c.o
# /sysroot/bin/clang -DHAVE_WORDS_BIGENDIAN -o CMakeFiles/cmTC_a09d6.dir/src.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c
# Linking C executable cmTC_a09d6
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a09d6.dir/link.txt --verbose=1
# /sysroot/bin/clang -DHAVE_WORDS_BIGENDIAN CMakeFiles/cmTC_a09d6.dir/src.c.o -o cmTC_a09d6 -rdynamic -lm
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
#
# Return value: 127
# Source file was:
# int main() {union {long i; char c[sizeof(long)];}
# const u = {1}; return !!u.c[0];}

Printing Cmake output

CMD: Cmake output '/tmp/libsoxr/src/soxr-0.1.2-Source/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/clang
# 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 Clang, found in "/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/3.5.2/CompilerIdC/a.out"
#
# Determining if the C compiler works passed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_058df/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_058df.dir/build.make CMakeFiles/cmTC_058df.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_058df.dir/testCCompiler.c.o
# /sysroot/bin/clang -o CMakeFiles/cmTC_058df.dir/testCCompiler.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/testCCompiler.c
# Linking C executable cmTC_058df
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_058df.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_058df.dir/testCCompiler.c.o -o cmTC_058df -rdynamic
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
#
#
# Detecting C compiler ABI info compiled with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_bdcaa/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_bdcaa.dir/build.make CMakeFiles/cmTC_bdcaa.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_bdcaa.dir/CMakeCCompilerABI.c.o
# /sysroot/bin/clang -o CMakeFiles/cmTC_bdcaa.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
# Linking C executable cmTC_bdcaa
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bdcaa.dir/link.txt --verbose=1
# /sysroot/bin/clang -v CMakeFiles/cmTC_bdcaa.dir/CMakeCCompilerABI.c.o -o cmTC_bdcaa -rdynamic
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /sysroot/bin
# "/sysroot/bin/ld" --sysroot=/sysroot -export-dynamic --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_bdcaa /sysroot/bin/../lib/crt1.o /sysroot/bin/../lib/crti.o /sysroot/bin/../lib/clang/3.8.1/crtbegin.o -L/sysroot/bin/../lib -L/sysroot/lib CMakeFiles/cmTC_bdcaa.dir/CMakeCCompilerABI.c.o /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a -lc /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a /sysroot/bin/../lib/clang/3.8.1/crtend.o /sysroot/bin/../lib/crtn.o
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
#
#
# Parsed C implicit link information from above output:
# link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
# ignore line: [Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp]
# ignore line: []
# ignore line: [Run Build Command:"/usr/sbin/make" "cmTC_bdcaa/fast"]
# ignore line: [/usr/sbin/make -f CMakeFiles/cmTC_bdcaa.dir/build.make CMakeFiles/cmTC_bdcaa.dir/build]
# ignore line: [make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp']
# ignore line: [Building C object CMakeFiles/cmTC_bdcaa.dir/CMakeCCompilerABI.c.o]
# ignore line: [/sysroot/bin/clang -o CMakeFiles/cmTC_bdcaa.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
# ignore line: [Linking C executable cmTC_bdcaa]
# ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bdcaa.dir/link.txt --verbose=1]
# ignore line: [/sysroot/bin/clang -v CMakeFiles/cmTC_bdcaa.dir/CMakeCCompilerABI.c.o -o cmTC_bdcaa -rdynamic ]
# ignore line: [clang version 3.8.1 ]
# ignore line: [Target: x86_64-unknown-linux-gnu]
# ignore line: [Thread model: posix]
# ignore line: [InstalledDir: /sysroot/bin]
# link line: [ "/sysroot/bin/ld" --sysroot=/sysroot -export-dynamic --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_bdcaa /sysroot/bin/../lib/crt1.o /sysroot/bin/../lib/crti.o /sysroot/bin/../lib/clang/3.8.1/crtbegin.o -L/sysroot/bin/../lib -L/sysroot/lib CMakeFiles/cmTC_bdcaa.dir/CMakeCCompilerABI.c.o /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a -lc /sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a /sysroot/bin/../lib/clang/3.8.1/crtend.o /sysroot/bin/../lib/crtn.o]
# arg [/sysroot/bin/ld] ==> ignore
# arg [--sysroot=/sysroot] ==> ignore
# arg [-export-dynamic] ==> ignore
# arg [--eh-frame-hdr] ==> ignore
# arg [-m] ==> ignore
# arg [elf_x86_64] ==> ignore
# arg [-dynamic-linker] ==> ignore
# arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
# arg [-o] ==> ignore
# arg [cmTC_bdcaa] ==> ignore
# arg [/sysroot/bin/../lib/crt1.o] ==> ignore
# arg [/sysroot/bin/../lib/crti.o] ==> ignore
# arg [/sysroot/bin/../lib/clang/3.8.1/crtbegin.o] ==> ignore
# arg [-L/sysroot/bin/../lib] ==> dir [/sysroot/bin/../lib]
# arg [-L/sysroot/lib] ==> dir [/sysroot/lib]
# arg [CMakeFiles/cmTC_bdcaa.dir/CMakeCCompilerABI.c.o] ==> ignore
# arg [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# arg [-lc] ==> lib [c]
# arg [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# arg [/sysroot/bin/../lib/clang/3.8.1/crtend.o] ==> ignore
# arg [/sysroot/bin/../lib/crtn.o] ==> ignore
# collapse lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> [/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# collapse lib [/sysroot/bin/../lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a] ==> [/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# collapse library dir [/sysroot/bin/../lib] ==> [/sysroot/lib]
# collapse library dir [/sysroot/lib] ==> [/sysroot/lib]
# implicit libs: [/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a;c;/sysroot/lib/clang/3.8.1/lib/linux/libclang_rt.builtins-x86_64.a]
# implicit dirs: [/sysroot/lib]
# implicit fwks: []
#
#
#
#
# Detecting C [-std=c11] compiler features compiled with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_3c3f2/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_3c3f2.dir/build.make CMakeFiles/cmTC_3c3f2.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_3c3f2.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c11 -o CMakeFiles/cmTC_3c3f2.dir/feature_tests.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/feature_tests.c
# Linking C executable cmTC_3c3f2
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3c3f2.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_3c3f2.dir/feature_tests.c.o -o cmTC_3c3f2 -rdynamic
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/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/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_52842/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_52842.dir/build.make CMakeFiles/cmTC_52842.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_52842.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c99 -o CMakeFiles/cmTC_52842.dir/feature_tests.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/feature_tests.c
# Linking C executable cmTC_52842
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_52842.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_52842.dir/feature_tests.c.o -o cmTC_52842 -rdynamic
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/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/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_a03ef/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_a03ef.dir/build.make CMakeFiles/cmTC_a03ef.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_a03ef.dir/feature_tests.c.o
# /sysroot/bin/clang -std=c90 -o CMakeFiles/cmTC_a03ef.dir/feature_tests.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/feature_tests.c
# Linking C executable cmTC_a03ef
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a03ef.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_a03ef.dir/feature_tests.c.o -o cmTC_a03ef -rdynamic
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/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 function pow exists in the m passed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_16903/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_16903.dir/build.make CMakeFiles/cmTC_16903.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_16903.dir/CheckFunctionExists.c.o
# /sysroot/bin/clang -DCHECK_FUNCTION_EXISTS=pow -o CMakeFiles/cmTC_16903.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration]
# char CHECK_FUNCTION_EXISTS();
# ^
# :1:31: note: expanded from here
# #define CHECK_FUNCTION_EXISTS pow
# ^
# /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: 'pow' is a builtin with type 'double (double, double)'
# :1:31: note: expanded from here
# #define CHECK_FUNCTION_EXISTS pow
# ^
# 1 warning generated.
# Linking C executable cmTC_16903
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_16903.dir/link.txt --verbose=1
# /sysroot/bin/clang -DCHECK_FUNCTION_EXISTS=pow CMakeFiles/cmTC_16903.dir/CheckFunctionExists.c.o -o cmTC_16903 -rdynamic -lm
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
#
#
# Performing C SOURCE FILE Test SIMD_FLAG_DETECTED succeeded with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_539e6/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_539e6.dir/build.make CMakeFiles/cmTC_539e6.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_539e6.dir/src.c.o
# /sysroot/bin/clang -DSIMD_FLAG_DETECTED -o CMakeFiles/cmTC_539e6.dir/src.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/src.c
# Linking C executable cmTC_539e6
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_539e6.dir/link.txt --verbose=1
# /sysroot/bin/clang -DSIMD_FLAG_DETECTED CMakeFiles/cmTC_539e6.dir/src.c.o -o cmTC_539e6 -rdynamic -lm
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
#
# Source file was:
#
# #include
# int main()
# {
# __m128 a, b;
# float vals[4] = {0};
# a = _mm_loadu_ps (vals);
# b = a;
# b = _mm_add_ps (a,b);
# _mm_storeu_ps (vals,b);
# return 0;
# }
#
# Determining if the function lrint exists passed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_12b50/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_12b50.dir/build.make CMakeFiles/cmTC_12b50.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_12b50.dir/CheckFunctionExists.c.o
# /sysroot/bin/clang -DCHECK_FUNCTION_EXISTS=lrint -o CMakeFiles/cmTC_12b50.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
# /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: warning: incompatible redeclaration of library function 'lrint' [-Wincompatible-library-redeclaration]
# char CHECK_FUNCTION_EXISTS();
# ^
# :1:31: note: expanded from here
# #define CHECK_FUNCTION_EXISTS lrint
# ^
# /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: 'lrint' is a builtin with type 'long (double)'
# :1:31: note: expanded from here
# #define CHECK_FUNCTION_EXISTS lrint
# ^
# 1 warning generated.
# Linking C executable cmTC_12b50
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_12b50.dir/link.txt --verbose=1
# /sysroot/bin/clang -DCHECK_FUNCTION_EXISTS=lrint CMakeFiles/cmTC_12b50.dir/CheckFunctionExists.c.o -o cmTC_12b50 -rdynamic -lm
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
#
#
# Determining if files fenv.h exist passed with the following output:
# Change Dir: /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp
#
# Run Build Command:"/usr/sbin/make" "cmTC_2e857/fast"
# /usr/sbin/make -f CMakeFiles/cmTC_2e857.dir/build.make CMakeFiles/cmTC_2e857.dir/build
# make[1]: Entering directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
# Building C object CMakeFiles/cmTC_2e857.dir/CheckIncludeFiles.c.o
# /sysroot/bin/clang -o CMakeFiles/cmTC_2e857.dir/CheckIncludeFiles.c.o -c /tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
# Linking C executable cmTC_2e857
# /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2e857.dir/link.txt --verbose=1
# /sysroot/bin/clang CMakeFiles/cmTC_2e857.dir/CheckIncludeFiles.c.o -o cmTC_2e857 -rdynamic
# make[1]: Leaving directory '/tmp/libsoxr/src/soxr-0.1.2-Source/CMakeFiles/CMakeTmp'
#
#