Build of vhba-module with musl toolchain

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

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

SLOCLanguage
813 ansic
59 sh
26 makefile
898 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...

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: vhba-module 20140928-31 (Wed Apr 5 00:54:52 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/vhba-module/src/vhba-module-20140928 modules
# make[1]: Entering directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# CC [M] /tmp/vhba-module/src/vhba-module-20140928/vhba.o
# clang-3.8: error: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: error: optimization flag '-falign-loops=1' is not supported
# clang-3.8: error: optimization flag '-fno-delete-null-pointer-checks' is not supported
# make[2]: *** [scripts/Makefile.build:298: /tmp/vhba-module/src/vhba-module-20140928/vhba.o] Error 1
# make[1]: *** [Makefile:1429: _module_/tmp/vhba-module/src/vhba-module-20140928] Error 2
# make[1]: Leaving directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# make: *** [Makefile:14: modules] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...