Build of ratpoints with clang_glibc toolchain

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

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

SLOCLanguage
4,201 ansic
80 makefile
4,281 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/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: ratpoints 2.1.3-1 (Thu Apr 13 17:40:07 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc sift.c -c -o sift.o -Wall -O2 -fomit-frame-pointer -DRATPOINTS_MAX_BITS_IN_PRIME=7 -DUSE_SSE -funroll-loops
# sift.c:127:19: error: use of unknown builtin '__builtin_ia32_andps' [-Wimplicit-function-declaration]
# { *surv = AND(*surv, *siv1++); surv++; }
# ^
# ./rp-private.h:62:40: note: expanded from macro 'AND'
# #define AND(a,b) ((ratpoints_bit_array)__builtin_ia32_andps((__v4sf)(a), (__v4sf)(b)))
# ^
# sift.c:127:19: error: invalid conversion between vector type 'ratpoints_bit_array' (aka '__v2di') and integer type 'int' of different size
# { *surv = AND(*surv, *siv1++); surv++; }
# ^~~~~~~~~~~~~~~~~~~
# ./rp-private.h:62:19: note: expanded from macro 'AND'
# #define AND(a,b) ((ratpoints_bit_array)__builtin_ia32_andps((__v4sf)(a), (__v4sf)(b)))
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# sift.c:140:21: error: invalid conversion between vector type 'ratpoints_bit_array' (aka '__v2di') and integer type 'int' of different size
# { *surv = AND(*surv, *siv1++); surv++; }
# ^~~~~~~~~~~~~~~~~~~
# ./rp-private.h:62:19: note: expanded from macro 'AND'
# #define AND(a,b) ((ratpoints_bit_array)__builtin_ia32_andps((__v4sf)(a), (__v4sf)(b)))
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# sift.c:151:21: error: invalid conversion between vector type 'ratpoints_bit_array' (aka '__v2di') and integer type 'int' of different size
# { *surv = AND(*surv, *siv1++); surv++; }
# ^~~~~~~~~~~~~~~~~~~
# ./rp-private.h:62:19: note: expanded from macro 'AND'
# #define AND(a,b) ((ratpoints_bit_array)__builtin_ia32_andps((__v4sf)(a), (__v4sf)(b)))
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# sift.c:160:19: error: invalid conversion between vector type 'ratpoints_bit_array' (aka '__v2di') and integer type 'int' of different size
# { *surv = AND(*surv, *siv1++); surv++; }
# ^~~~~~~~~~~~~~~~~~~
# ./rp-private.h:62:19: note: expanded from macro 'AND'
# #define AND(a,b) ((ratpoints_bit_array)__builtin_ia32_andps((__v4sf)(a), (__v4sf)(b)))
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# sift.c:229:29: error: use of unknown builtin '__builtin_ia32_vec_ext_v2di' [-Wimplicit-function-declaration]
# for(n = sp2-sp1; n && TEST(nums); n--)
# ^
# ./rp-private.h:65:18: note: expanded from macro 'TEST'
# #define TEST(a) (EXT0(a) || EXT1(a))
# ^
# ./rp-private.h:63:33: note: expanded from macro 'EXT0'
# #define EXT0(a) ((unsigned long)__builtin_ia32_vec_ext_v2di((__v2di)(a), 0))
# ^
# sift.c:229:29: note: did you mean '__builtin_ia32_vec_ext_v2si'?
# ./rp-private.h:65:18: note: expanded from macro 'TEST'
# #define TEST(a) (EXT0(a) || EXT1(a))
# ^
# ./rp-private.h:63:33: note: expanded from macro 'EXT0'
# #define EXT0(a) ((unsigned long)__builtin_ia32_vec_ext_v2di((__v2di)(a), 0))
# ^
# /usr/bin/../lib/clang/3.8.0/include/mmintrin.h:51:12: note: '__builtin_ia32_vec_ext_v2si' declared here
# return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
# ^
# sift.c:236:16: error: invalid conversion between vector type 'ratpoints_bit_array' (aka '__v2di') and integer type 'int' of different size
# nums = AND(nums, ssp->ptr[mod(i + ssp->offset, p)]);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ./rp-private.h:62:19: note: expanded from macro 'AND'
# #define AND(a,b) ((ratpoints_bit_array)__builtin_ia32_andps((__v4sf)(a), (__v4sf)(b)))
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 7 errors generated.
# make: *** [Makefile:100: sift.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...