From owner-freebsd-hackers@freebsd.org Thu Jun 6 15:22:52 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 D929B15B6C20 for ; Thu, 6 Jun 2019 15:22:51 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (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 266BD71767 for ; Thu, 6 Jun 2019 15:22:50 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1559834563; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=TZm05/u9kHzTqmZavlPxwMTr98PR+i9GEuEe/B5a/79bhZysdYs4tRqmNmFmSZC6fz2MIExJAhBlq 5gfmAldRHThkEsH08bE90fWIV6xR4iz78yM0bCIRyamCaNLMRIirApUs+Af5hEbwLqa4RG4qP6kSAR tSvFNwWZsEv49/96k4ohRREHFoTcg+EL+rdaRAF1RRTZboeKxCEPWz7AI/4v8s/mYHvbgaxqZd4vqe 7cI0w4HDJgE6D2ljSkTkDC637jzo2aljaokPQD7UEfWI2D7tfGxnRO2LCZ+6Z70WkEAbh8APGsAnX9 AWIVAdJOZ5NTKc1BIZ79+VdbX/WbuRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=KHqM6HnElQ4S1rSzGHvbclziDPlNanNMe6ei3AQ/4dY=; b=fZYqEFpZ4Vl1lYdKOcBAqLhAdzMBU1Dl7I0T5y/WNIm8tVaTKFvkAtGwZwdfFJVambc6v5x8Mzj/c NuLGO6gRGxZhjwwryAxWvHMvkdrXhWjPezJo81UdGo7WnWRdIegzo7EaKET44Nve4ehDXoorqLXwXt SG0guEmHWr5sgI1Vr4dYQFoRoe79fGsjWNk0Rg8vCA/ebf4YxXUBl3oXBR/0nWX/jW11h32sz1fx+U SrYICazkkXcrjC1NgY6J570jB99u9Lr7qYLFrLA+VoIEthyXFQyY15HJAMczqYzunSRLOGWhGwgVYt F/SCx8hwFFQ5ThJf1lbIL4lr5CS90DQ== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=KHqM6HnElQ4S1rSzGHvbclziDPlNanNMe6ei3AQ/4dY=; b=OY/Q/NbHafH8OyN1qTpJSZIxFw/itD4hLg1+VFw/uzTHUwGd8bYzS56edJJb2n57xv1WQ5/rAvT4j zFQKPFqf1/uPb/SKrbMYGdEcGfPmPlYO+3APrS+80TJ5dCNUk7pekdz75pS2SqHTCLmt9Xe5C7Rl2o srJFDOAoWRjhxD/gRkPn3cit22uCOpzRsZlzj+wwff5bt9yViMhIg4uO3/THhbbHRz7aU4r8ygHLyL V2J5tHZzj95NRliu4sgEcbeTJBgNN6qH0cgBF1A+fnidit5nfNFcaPplsGE5Vp6NAS4Jd7UTOEUAO5 4MdvDAaE7nIsGIJbR9W/quzsgsid5gw== X-MHO-RoutePath: aGlwcGll X-MHO-User: ed096361-886e-11e9-b39a-9d2c53d3dedb X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id ed096361-886e-11e9-b39a-9d2c53d3dedb; Thu, 06 Jun 2019 15:22:42 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x56FMfPW068384; Thu, 6 Jun 2019 09:22:41 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <401683db73f04cecf12bd11f995480d7a54e9187.camel@freebsd.org> Subject: Re: hwpmc module does not work on armv6/armv7 From: Ian Lepore To: Arnaud YSMAL , freebsd-hackers Date: Thu, 06 Jun 2019 09:22:41 -0600 In-Reply-To: <1792534203.3920198.1559829382150.JavaMail.zimbra@stormshield.eu> References: <1792534203.3920198.1559829382150.JavaMail.zimbra@stormshield.eu> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 266BD71767 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-3.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-1.00)[-0.995,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US] 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 15:22:52 -0000 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