Build of tp_smapi with android toolchain

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

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

SLOCLanguage
1,999 ansic
140 makefile
2,139 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/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: tp_smapi 0.42-1 (Tue Apr 4 20:13:53 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make -C /usr/lib/modules/4.6.3-1-ARCH/build M=/tmp/tp_smapi/src/tp_smapi-tp-smapi-0.42 O=/usr/lib/modules/4.6.3-1-ARCH/build modules
# make[1]: Entering directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# make[2]: Entering directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# arch/x86/Makefile:133: stack-protector enabled but compiler support broken
# /usr/lib/modules/4.6.3-1-ARCH/build/Makefile:667: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
# CC [M] /tmp/tp_smapi/src/tp_smapi-tp-smapi-0.42/thinkpad_ec.o
# CC [M] /tmp/tp_smapi/src/tp_smapi-tp-smapi-0.42/tp_smapi.o
# cc: error: unrecognized command line option '-mno-sse'
# cc: error: unrecognized command line option '-mno-mmx'
# cc: error: unrecognized command line option '-mno-sse2'
# cc: error: unrecognized command line option '-mno-3dnow'
# cc: error: unrecognized command line option '-m64'
# cc: error: unrecognized command line option '-mno-red-zone'
# cc: error: unrecognized command line option '-mcmodel=kernel'
# cc: error: unrecognized command line option '-fstack-protector-strong'
# make[3]: *** [/usr/lib/modules/4.6.3-1-ARCH/build/scripts/Makefile.build:298: /tmp/tp_smapi/src/tp_smapi-tp-smapi-0.42/thinkpad_ec.o] Error 1
# make[3]: *** Waiting for unfinished jobs....
# CC [M] /tmp/tp_smapi/src/tp_smapi-tp-smapi-0.42/hdaps.o
# cc: error: unrecognized command line option '-mno-sse'
# cc: error: unrecognized command line option '-mno-mmx'
# cc: error: unrecognized command line option '-mno-sse2'
# cc: error: unrecognized command line option '-mno-3dnow'
# cc: error: unrecognized command line option '-m64'
# cc: error: unrecognized command line option '-mno-red-zone'
# cc: error: unrecognized command line option '-mcmodel=kernel'
# cc: error: unrecognized command line option '-fstack-protector-strong'
# make[3]: *** [/usr/lib/modules/4.6.3-1-ARCH/build/scripts/Makefile.build:298: /tmp/tp_smapi/src/tp_smapi-tp-smapi-0.42/tp_smapi.o] Error 1
# cc: error: unrecognized command line option '-mno-sse'
# cc: error: unrecognized command line option '-mno-mmx'
# cc: error: unrecognized command line option '-mno-sse2'
# cc: error: unrecognized command line option '-mno-3dnow'
# cc: error: unrecognized command line option '-m64'
# cc: error: unrecognized command line option '-mno-red-zone'
# cc: error: unrecognized command line option '-mcmodel=kernel'
# cc: error: unrecognized command line option '-fstack-protector-strong'
# make[3]: *** [/usr/lib/modules/4.6.3-1-ARCH/build/scripts/Makefile.build:298: /tmp/tp_smapi/src/tp_smapi-tp-smapi-0.42/hdaps.o] Error 1
# make[2]: *** [/usr/lib/modules/4.6.3-1-ARCH/build/Makefile:1429: _module_/tmp/tp_smapi/src/tp_smapi-tp-smapi-0.42] Error 2
# make[2]: Leaving directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# make[1]: *** [Makefile:146: sub-make] Error 2
# make[1]: Leaving directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# make: *** [Makefile:46: modules] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...