From owner-freebsd-arm@freebsd.org Thu May 11 20:53:37 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 2D1EFD68DF9 for ; Thu, 11 May 2017 20:53:37 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-7.reflexion.net [208.70.210.7]) (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 CA6D1174E for ; Thu, 11 May 2017 20:53:36 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 1677 invoked from network); 11 May 2017 20:53:34 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 11 May 2017 20:53:34 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.0) with SMTP; Thu, 11 May 2017 16:53:35 -0400 (EDT) Received: (qmail 32295 invoked from network); 11 May 2017 20:53:34 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 11 May 2017 20:53:34 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 1A700EC8697; Thu, 11 May 2017 13:53:34 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: www/firefox on RPI2: error: instruction requires: armv6t2 From: Mark Millard In-Reply-To: <3C56C526-24E4-45D4-B202-562BD7CB22C2@dsl-only.net> Date: Thu, 11 May 2017 13:53:33 -0700 Cc: ports@freebsd.org, freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <80B1CCCF-A151-40B8-87D5-CADD513CFAAD@dsl-only.net> References: <80D06D70-8534-456C-A66F-CDD4CE0D5811@FreeBSD.org> <7306a091-1350-d6cb-b329-c56f2d80c0bf@freebsd.org> <20170508161511.GA64826@www.zefox.net> <20170508233241.GA65262@www.zefox.net> <20170509230236.GA69546@www.zefox.net> <20170510151019.GA70628@www.zefox.net> <20170511033754.GA74153@www.zefox.net> <3C56C526-24E4-45D4-B202-562BD7CB22C2@dsl-only.net> To: bob prohaska X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2017 20:53:37 -0000 On 2017-May-10, at 10:31 PM, Mark Millard = wrote: > On 2017-May-10, at 8:37 PM, bob prohaska wrote: >=20 >> With freebsd at=20 >> FreeBSD www.zefox.com 12.0-CURRENT FreeBSD 12.0-CURRENT #50 r318138: = Wed May 10 10:30:51 PDT 2017 = bob@www.zefox.com:/usr/obj/usr/src/sys/RPI2 arm >>=20 >> ports at=20 >> Revision: 440570 >>=20 >> and using=20 >> root@www:/usr/ports/www/firefox # make CFLAGS=3D'-mcpu=3Dcortex-a7' = -DBATCH > make.log & >>=20 >> the compilation seems to halt with >> = /usr/ports/www/firefox/work/firefox-53.0.2/media/webrtc/trunk/webrtc/commo= n_audio/signal_processing/filter_ar_fast_q12_armv7.S:88:3: error: = instruction requires: armv6t2 >> sbfx r11, r6, #12, #16 >> ^ It would help others help you if the assembler or compiler command that specifically generated this error message was also included in the text that you quote. Then we could see what the command was and what options had been supplied to it (and so what had not been supplied as well). To some extent is is for folks that might not build firefox or even X11 but still might be of some help with if they could see the extra context. But folks that do build firefox might also compare their context's details to your context's details and might report on differences that helped them. >> = /usr/ports/www/firefox/work/firefox-53.0.2/media/webrtc/trunk/webrtc/commo= n_audio/signal_processing/filter_ar_fast_q12_armv7.S:99:3: error: = instruction requires: armv6t2 >> sbfx r11, r6, #12, #16 >> ^ >> = /usr/ports/www/firefox/work/firefox-53.0.2/media/webrtc/trunk/webrtc/commo= n_audio/signal_processing/filter_ar_fast_q12_armv7.S:142:3: error: = instruction requires: armv6t2 >> sbfx r8, r6, #12, #16 >> ^ >> gmake[6]: *** = [/usr/ports/www/firefox/work/firefox-53.0.2/config/rules.mk:989: = filter_ar_fast_q12_armv7.o] Error 1 >>=20 >> I'm told this is likely caused by CFLAGS=3D'-mcpu=3Dcortex-a7', = which is >> needed to avoid a "NEON not enabled" error earlier in the compile. >=20 >=20 > If the .S files (assembler source files) are used via the > likes of (from looking at some vintage of config/rules.mk > on the web): >=20 > $(SOBJS): >=20 > $(REPORT_BUILD) > $(AS) -o $@ $(DEFINES) $(ASFLAGS) $($(notdir $<)_FLAGS) = $(LOCAL_INCLUDES) -c $< >=20 > then the -mcpu=3Dcortex-a7 is likely not involved. >=20 > Instead such a context would suggest needing to supply > some option in ASFLAGS for the $(ASFLAGS) expansion, an > option appropriate to whatever the assembler command is > [expansion of $(AS)]. =3D=3D=3D Mark Millard markmi at dsl-only.net