Build of tcc with android toolchain

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

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

SLOCLanguage
76,329 ansic
825 sh
755 asm
710 makefile
306 perl
13 python
78,938 total

The process tree of the build process is here.

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

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...

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: tcc 0.9.26-3 (Tue Apr 4 19:56:13 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure: WARNING: unrecognized option --build=x86_64-unknown-linux
# configure: WARNING: unrecognized option --host=arm-linux-androideabi
# configure: error: 'gcc' failed to compile conftest.c.
# Binary directory /usr/bin
# TinyCC directory /usr/lib/tcc
# Library directory /usr/lib64
# Include directory /usr/include
# Manual directory /usr/share/man
# Info directory /usr/share/info
# Doc directory /usr/share/doc//usr/lib/tcc
# Target root prefix
# Source path /tmp/tcc/src/tcc-0.9.26
# C compiler gcc
# cross compilers no
# Target CPU x86-64
# Host OS Linux
# Target OS Linux
# Big Endian no
# gprof enabled no
# use libgcc no
# Creating config.mak and config.h
# gcc -o x86_64-tcc tcc.c -DONE_SOURCE -DTCC_TARGET_X86_64 -I. -Wall -g -O0 -Wdeclaration-after-statement -Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-uninitialized -fno-strict-aliasing -lm -ldl
# gcc -o libtcc.o -c libtcc.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0 -Wdeclaration-after-statement -Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-uninitialized -fno-strict-aliasing
# gcc -o tccpp.o -c tccpp.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0 -Wdeclaration-after-statement -Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-uninitialized -fno-strict-aliasing
# gcc -o tccgen.o -c tccgen.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0 -Wdeclaration-after-statement -Wno-deprecated-declarations -Wno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-uninitialized -fno-strict-aliasing
# In file included from tccpp.c:21:0:
# tcc.h:27:20: fatal error: stdlib.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [Makefile:234: tccpp.o] Error 1
# make: *** Waiting for unfinished jobs....
# In file included from libtcc.c:21:0:
# tcc.h:27:20: fatal error: stdlib.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [Makefile:234: libtcc.o] Error 1
# In file included from tccgen.c:21:0:
# tcc.h:27:20: fatal error: stdlib.h: No such file or directory
# #include
# ^
# compilation terminated.
# In file included from libtcc.c:21:0,
# from tcc.c:22:
# tcc.h:27:20: fatal error: stdlib.h: No such file or directory
# #include
# ^
# compilation terminated.
# make: *** [Makefile:234: tccgen.o] Error 1
# make: *** [Makefile:189: x86_64-tcc] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...