From owner-freebsd-hackers@freebsd.org Thu Jun 6 13:56:45 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A35A815B447E for ; Thu, 6 Jun 2019 13:56:45 +0000 (UTC) (envelope-from arnaud.ysmal@stormshield.eu) Received: from work.stormshield.eu (gwlille.netasq.com [91.212.116.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BFDFB6E309 for ; Thu, 6 Jun 2019 13:56:44 +0000 (UTC) (envelope-from arnaud.ysmal@stormshield.eu) Received: from work.stormshield.eu (localhost [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTPS id 6BA573783BFA for ; Thu, 6 Jun 2019 15:56:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTP id 5CE413783C42 for ; Thu, 6 Jun 2019 15:56:22 +0200 (CEST) Received: from work.stormshield.eu ([127.0.0.1]) by localhost (work.stormshield.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1YxJWYomJC10 for ; Thu, 6 Jun 2019 15:56:22 +0200 (CEST) Received: from work.stormshield.eu (localhost [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTP id 4ACA43783BFA for ; Thu, 6 Jun 2019 15:56:22 +0200 (CEST) Date: Thu, 6 Jun 2019 15:56:22 +0200 (CEST) From: Arnaud YSMAL To: freebsd-hackers Message-ID: <1792534203.3920198.1559829382150.JavaMail.zimbra@stormshield.eu> Subject: hwpmc module does not work on armv6/armv7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Thread-Index: T46a0jB2CH+GbRNeIrc95WsYdMCP5Q== Thread-Topic: hwpmc module does not work on armv6/armv7 X-Rspamd-Queue-Id: BFDFB6E309 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.25 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.75)[0.747,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[stormshield.eu]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(1.00)[0.997,0]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mx02.cloud.vadesecure.com,mx04.cloud.vadesecure.com,mx01.cloud.vadesecure.com,mx03.cloud.vadesecure.com]; NEURAL_SPAM_LONG(1.00)[0.997,0]; RCVD_IN_DNSWL_NONE(0.00)[1.116.212.91.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:49068, ipnet:91.212.116.0/24, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.62)[ip: (1.64), ipnet: 91.212.116.0/24(0.82), asn: 49068(0.66), country: FR(-0.01)] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2019 13:56:45 -0000 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