==> Creating clean working copy [build]...done ==> Making package: libpfm4 4.6.0-1 (Sat Oct 10 16:30:52 EDT 2015) ==> Retrieving sources... -> Found libpfm-4.6.0.tar.gz -> Found config.mk ==> Validating source files with sha512sums... libpfm-4.6.0.tar.gz ... Passed config.mk ... Passed ==> Making package: libpfm4 4.6.0-1 (Sat Oct 10 16:30:52 EDT 2015) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found libpfm-4.6.0.tar.gz -> Found config.mk ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... libpfm-4.6.0.tar.gz ... Passed config.mk ... Passed ==> Extracting sources... -> Extracting libpfm-4.6.0.tar.gz with bsdtar ==> Starting build()... Compiling for 'arm' target Compiling for 'Linux' system make[1]: Entering directory '/build/libpfm4/src/libpfm-4.6.0/lib' cc -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -m32 -O3 -g -Wall -Werror -I. -I/build/libpfm4/src/libpfm-4.6.0/include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -m32 -O3 -g -Wall -Werror -I. -I/build/libpfm4/src/libpfm-4.6.0/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -DCONFIG_PFMLIB_ARCH_ARM -I. -c pfmlib_common.c cc: error: unrecognized command line option '-m32' cc: error: unrecognized command line option '-m32' /build/libpfm4/src/libpfm-4.6.0/lib/../rules.mk:30: recipe for target 'pfmlib_common.o' failed make[1]: *** [pfmlib_common.o] Error 1 make[1]: Leaving directory '/build/libpfm4/src/libpfm-4.6.0/lib' Makefile:47: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /chroot/armv7/build/build