hwpmc module does not work on armv6/armv7
Ian Lepore
ian at freebsd.org
Thu Jun 6 15:22:52 UTC 2019
On Thu, 2019-06-06 at 15:56 +0200, Arnaud YSMAL wrote:
> 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?
>
>
No reason, that was just a bug. I've committed your fix as r348741,
thanks!
-- Ian
More information about the freebsd-hackers
mailing list