Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2019 15:56:22 +0200 (CEST)
From:      Arnaud YSMAL <arnaud.ysmal@stormshield.eu>
To:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   hwpmc module does not work on armv6/armv7
Message-ID:  <1792534203.3920198.1559829382150.JavaMail.zimbra@stormshield.eu>

next in thread | raw e-mail | index | archive | help
Hi,

On an armv6/armv7 box, trying to load the hwpmc module lead to an error message stating that the pmc_armv7_finalize symbol is undefined.

This can be fixed by adding this in sys/modules/hwpmc/Makefile :

.if ${MACHINE_ARCH:Marmv[67]*} != ""
SRCS+= hwpmc_armv7.c
.endif

Does anyone see any reason for not having this?


Arnaud Ysmal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1792534203.3920198.1559829382150.JavaMail.zimbra>