From owner-freebsd-ppc@freebsd.org Wed Jan 4 23:46:19 2017 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD947C9FD37 for ; Wed, 4 Jan 2017 23:46:19 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-18.reflexion.net [208.70.210.18]) (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 6997414CA for ; Wed, 4 Jan 2017 23:46:18 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 28663 invoked from network); 4 Jan 2017 22:47:37 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 4 Jan 2017 22:47:37 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.20.0) with SMTP; Wed, 04 Jan 2017 17:46:29 -0500 (EST) Received: (qmail 18360 invoked from network); 4 Jan 2017 22:46:29 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Jan 2017 22:46:29 -0000 Received: from [192.168.1.111] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 35FC7EC8B12; Wed, 4 Jan 2017 14:46:17 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: I've submitted llvm bugzilla report 31538 on clang 3.9.1 not supporting the mfpmr and mtpmr instructions used in dev/hwpmc/hwpmc_e500.c Message-Id: <282B1B1D-9345-4BEA-AC30-DF7D75F8C026@dsl-only.net> Date: Wed, 4 Jan 2017 14:46:16 -0800 To: FreeBSD Toolchain , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2017 23:46:19 -0000 I have submitted to llvm (matching up with FreeBSD bugzilla 214904): Bug 31538 - FreeBSD head (12) buildkernel based on clang FreeBSD's 3.9.1 = stops for mfpmr and mtpmr instructions not being supported (used in = dev/hwpmc/hwpmc_e500.c ) This report likely should be added to the depends on list in: Bug 25780 - [META] Using Clang as the FreeBSD/ppc system compiler but I leave that to someone with official FreeBSD status to judge and answer. As for FreeBSD bugzilla 214904 I recently added a note to the patch attachment that it is an incomplete patch and the person that provided it reports not having time to do more for the mfpmr and mtpmr instructions (such as handling the instruction scheduling issues). So as stands the patch basically allows more explorations for finding other issues by allowing a normal buildkernel to complete relative to this issue. (I do not have a e500 involved in my powerpc family related testing.) =3D=3D=3D Mark Millard markmi at dsl-only.net