Build of linux-grsec with clang_glibc toolchain

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

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

SLOCLanguage
13,911,759 ansic
283,293 asm
34,409 makefile
23,916 perl
11,225 sh
7,591 python
6,597 cpp
4,327 yacc
2,414 lex
1,130 awk
231 pascal
218 lisp
14,287,110 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: linux-grsec 4.6.3.201607070721-1 (Thu Apr 13 19:34:02 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (2) bc-1.06.95-2 xmlto-0.0.28-1
#
# Total Installed Size: 0.28 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing xmlto...
# installing bc...
# :: Running post-transaction hooks...
# (1/2) Updating manpage index...
# (2/2) Updating the info directory file...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# HOSTCC scripts/basic/fixdep
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# HOSTCC scripts/kconfig/conf.o
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# SHIPPED scripts/kconfig/zconf.tab.c
# SHIPPED scripts/kconfig/zconf.lex.c
# SHIPPED scripts/kconfig/zconf.hash.c
# HOSTCC scripts/kconfig/zconf.tab.o
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# HOSTLD scripts/kconfig/conf
# scripts/kconfig/conf --silentoldconfig Kconfig
# ***
# *** Configuration file ".config" not found!
# ***
# *** Please run some configurator (e.g. "make oldconfig" or
# *** "make menuconfig" or "make xconfig").
# ***
# make[2]: *** [scripts/kconfig/Makefile:38: silentoldconfig] Error 1
# make[1]: *** [Makefile:538: silentoldconfig] Error 2
# SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h
# SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h
# SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h
# SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h
# HOSTCC arch/x86/tools/relocs_32.o
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# HOSTCC arch/x86/tools/relocs_64.o
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# In file included from arch/x86/tools/relocs_64.c:17:
# arch/x86/tools/relocs.c:977:6: warning: variable 'do_reloc' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
# if (!use_real_mode)
# ^~~~~~~~~~~~~~
# arch/x86/tools/relocs.c:989:14: note: uninitialized use occurs here
# walk_relocs(do_reloc);
# ^~~~~~~~
# arch/x86/tools/relocs.c:977:2: note: remove the 'if' if its condition is always true
# if (!use_real_mode)
# ^~~~~~~~~~~~~~~~~~~
# arch/x86/tools/relocs.c:974:24: note: initialize the variable 'do_reloc' to silence this warning
# const char *symname);
# ^
# = NULL
# 1 warning generated.
# HOSTCC arch/x86/tools/relocs_common.o
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# HOSTLD arch/x86/tools/relocs
# make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
# ==> ERROR: A failure occurred in build().
# Aborting...