Date: Thu, 06 Jun 2019 09:22:41 -0600 From: Ian Lepore <ian@freebsd.org> To: Arnaud YSMAL <arnaud.ysmal@stormshield.eu>, freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: hwpmc module does not work on armv6/armv7 Message-ID: <401683db73f04cecf12bd11f995480d7a54e9187.camel@freebsd.org> In-Reply-To: <1792534203.3920198.1559829382150.JavaMail.zimbra@stormshield.eu> References: <1792534203.3920198.1559829382150.JavaMail.zimbra@stormshield.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?401683db73f04cecf12bd11f995480d7a54e9187.camel>