From owner-freebsd-arm@freebsd.org Thu Nov 30 07:52:21 2017 Return-Path: Delivered-To: freebsd-arm@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 A37A6DFBC91 for ; Thu, 30 Nov 2017 07:52:21 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 878BE7A13B for ; Thu, 30 Nov 2017 07:52:21 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: by mailman.ysv.freebsd.org (Postfix) id 86C7CDFBC90; Thu, 30 Nov 2017 07:52:21 +0000 (UTC) Delivered-To: arm@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 84A01DFBC8F for ; Thu, 30 Nov 2017 07:52:21 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-164.reflexion.net [208.70.210.164]) (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 358427A137 for ; Thu, 30 Nov 2017 07:52:17 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 14807 invoked from network); 30 Nov 2017 07:52:11 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 30 Nov 2017 07:52:11 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Thu, 30 Nov 2017 02:52:11 -0500 (EST) Received: (qmail 25312 invoked from network); 30 Nov 2017 07:52:11 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 30 Nov 2017 07:52:11 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 44012EC9316; Wed, 29 Nov 2017 23:52:10 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r455173 - in head: multimedia/ffmpeg multimedia/libass net/asterisk13 net/freerdp x11/rxvt-unicode From: Mark Millard In-Reply-To: Date: Wed, 29 Nov 2017 23:52:09 -0800 Cc: Mark Linimon , svn-ports-head@freebsd.org, arm@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <201711300702.vAU72oII050996@repo.freebsd.org> To: Jan Beich X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2017 07:52:21 -0000 On 2017-Nov-29, at 11:35 PM, Jan Beich wrote: > Mark Linimon writes: >=20 >> Author: linimon >> Date: Thu Nov 30 07:02:49 2017 >> New Revision: 455173 >> URL: https://svnweb.freebsd.org/changeset/ports/455173 >>=20 >> Log: >> For ports that set particular flags/options for armv6, also set them >> for armv7. > [...] >> Modified: head/multimedia/ffmpeg/Makefile >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >> --- head/multimedia/ffmpeg/Makefile Thu Nov 30 07:01:14 2017 = (r455172) >> +++ head/multimedia/ffmpeg/Makefile Thu Nov 30 07:02:49 2017 = (r455173) >> @@ -54,6 +54,7 @@ OPTIONS_GROUP_LICENSE=3D GPL3 NONFREE >>=20 >> OPTIONS_DEFINE_amd64=3D MMX SSE >> OPTIONS_DEFINE_armv6=3D VFP NEON >> +OPTIONS_DEFINE_armv7=3D VFP NEON >=20 > Are you sure about disabling VFP and NEON by default? If so bump = PORTREVISION. > Otherwise, back this part out. >=20 > $ cc -v > FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on = LLVM 5.0.0svn) > Target: armv7-unknown-freebsd12.0-gnueabihf > Thread model: posix > InstalledDir: /nxb-bin/usr/bin >=20 > $ cc -dM -E -&1 | fgrep -i -e vfp -e neon > #define __ARM_NEON 1 > #define __ARM_NEON_FP 0x4 > #define __ARM_NEON__ 1 > #define __ARM_PCS_VFP 1 > #define __ARM_VFPV3__ 1 > #define __VFP_FP__ 1 >=20 >> +CONFIGURE_ARGS_armv7=3D --disable-fast-unaligned >=20 > Can anyone on arm@ list confirm bug 200609 affects armv7 as well? > I'd prefer to avoid the pessimization otherwise. I'm unsure of the detailed current status but there was a time when the save/restore of VFP/NEON was not working across context switches of at least some kinds. Bugzilla 217611 was for signal delivery (fixed) but I'm not sure that was all there was to it: There are some notes there about struct fpreg as well. Also did head -r324660 (and prior work) get its MFC? There is no commit-hook entry for the MFC listed in bugzilla 217611. =3D=3D=3D Mark Millard markmi at dsl-only.net