==> Synchronizing chroot copy [/chroot/armv8/root] -> [build]...done
==> Making package: libpfm4 4.7.0-3 (Mon Mar  4 21:20:07 EST 2019)
==> Retrieving sources...
  -> Found libpfm-4.7.0.tar.gz
  -> Found config.mk
==> Validating source files with sha512sums...
    libpfm-4.7.0.tar.gz ... Passed
    config.mk ... Passed
Host and machine ids are equal (b6eac563832547c9ad9408127b1b4375): refusing to link journals
==> Making package: libpfm4 4.7.0-3 (Mon 04 Mar 2019 09:20:13 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found libpfm-4.7.0.tar.gz
  -> Found config.mk
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting libpfm-4.7.0.tar.gz with bsdtar
==> Starting build()...
Compiling for 'aarch64' target
Compiling for 'Linux' system
make[1]: Entering directory '/build/libpfm4/src/libpfm-4.7.0/lib'
cc -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -m32 -O3 -g -Wall -Werror -I. -I/build/libpfm4/src/libpfm-4.7.0/include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -m32 -O3 -g -Wall -Werror -I. -I/build/libpfm4/src/libpfm-4.7.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -I. -c pfmlib_common.c
cc: error: unrecognized command line option ‘-m32’
cc: error: unrecognized command line option ‘-m32’
make[1]: *** [/build/libpfm4/src/libpfm-4.7.0/lib/../rules.mk:30: pfmlib_common.o] Error 1
make[1]: Leaving directory '/build/libpfm4/src/libpfm-4.7.0/lib'
make: *** [Makefile:49: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /chroot/armv8/build/build