Build of crypto++ with android toolchain

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

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

SLOCLanguage
59,901 cpp
4,090 asm
596 sh
9 ansic
64,596 total

The process tree of the build process is here.

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: crypto++ 5.6.3-1 (Tue Apr 4 22:17:44 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# WARNING: CRYPTOPP_NO_UNALIGNED_DATA_ACCESS is not defined in config.h.
# WARNING: CRYPTOPP_INIT_PRIORITY is not defined in config.h.
# WARNING: CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562 is defined in config.h.
# WARNING: You should make these changes in config.h, and not CXXFLAGS.
# WARNING: You can 'mv config.recommend config.h', but it breaks versioning.
# WARNING: See http://cryptopp.com/wiki/config.h for more details.
#
# arm-linux-androideabi-g++ -DNDEBUG -fPIC -march=native -c cryptlib.cpp
# arm-linux-androideabi-g++ -DNDEBUG -fPIC -march=native -c cpu.cpp
# arm-linux-androideabi-g++ -DNDEBUG -fPIC -march=native -c integer.cpp
# arm-linux-androideabi-g++ -DNDEBUG -fPIC -march=native -c wake.cpp
# cc1plus: error: unrecognized argument in option '-march=native'
# cc1plus: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv8-a iwmmxt iwmmxt2 native
# cc1plus: error: unrecognized argument in option '-march=native'
# cc1plus: error: unrecognized argument in option '-march=native'
# cc1plus: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv8-a iwmmxt iwmmxt2 native
# cc1plus: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv8-a iwmmxt iwmmxt2 native
# cc1plus: error: unrecognized argument in option '-march=native'
# cc1plus: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv8-a iwmmxt iwmmxt2 native
# make: *** [GNUmakefile:482: cpu.o] Error 1
# make: *** Waiting for unfinished jobs....
# make: *** [GNUmakefile:482: wake.o] Error 1
# make: *** [GNUmakefile:482: cryptlib.o] Error 1
# make: *** [GNUmakefile:482: integer.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...