From owner-freebsd-ports@freebsd.org Fri May 12 02:16:11 2017 Return-Path: Delivered-To: freebsd-ports@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 52B19D680CA for ; Fri, 12 May 2017 02:16:11 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 362061144 for ; Fri, 12 May 2017 02:16:11 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: by mailman.ysv.freebsd.org (Postfix) id 357B6D680BD; Fri, 12 May 2017 02:16:11 +0000 (UTC) Delivered-To: ports@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 3525BD680BB for ; Fri, 12 May 2017 02:16:11 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-6.reflexion.net [208.70.210.6]) (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 ED56B1143 for ; Fri, 12 May 2017 02:16:10 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 32657 invoked from network); 12 May 2017 02:19:35 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 12 May 2017 02:19:35 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.0) with SMTP; Thu, 11 May 2017 22:16:08 -0400 (EDT) Received: (qmail 3339 invoked from network); 12 May 2017 02:16:08 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 12 May 2017 02:16:08 -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 E2E4DEC7B46; Thu, 11 May 2017 19:16:07 -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: <20170512014441.GA77264@www.zefox.net> Date: Thu, 11 May 2017 19:16:07 -0700 Cc: ports@freebsd.org, freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <85B88765-A708-414B-A465-14A044196D3D@dsl-only.net> References: <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> <80B1CCCF-A151-40B8-87D5-CADD513CFAAD@dsl-only.net> <20170512014441.GA77264@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2017 02:16:11 -0000 On 2017-May-11, at 6:44 PM, bob prohaska wrote: > On Thu, May 11, 2017 at 01:53:33PM -0700, Mark Millard wrote: >>=20 >> 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). >>=20 > If someone can tell me how to capture that information I'll gladly do = it;=20 > at this stage I do not know how. >=20 > The files referenced in the error message have been placed at > http://www.zefox.net/~fbsd/rpi2/firefox/assembler_failure/ > along with a transcript of stdout/stderr in make.log The (long) line for processing filter_ar_fast_q12_armv7.S was about 19 lines back from the first filter_ar_fast_q12_armv7.S error message in that make.log: (copy/paste may have split the line into multiple below) /usr/bin/cc -std=3Dgnu99 -o filter_ar_fast_q12_armv7.o -DNDEBUG = -DTRIMMED=3D1 -D_FILE_OFFSET_BITS=3D64 -DCHROMIUM_BUILD = -DUSE_LIBJPEG_TURBO=3D1 -DUSE_NSS=3D1 -DGTK_DISABLE_SINGLE_INCLUDES=3D1 = -DENABLE_REMOTING=3D1 -DENABLE_WEBRTC=3D1 -DENABLE_CONFIGURATION_POLICY = -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_GPU=3D1 = -DENABLE_EGLIMAGE=3D1 -DUSE_SKIA=3D1 -DENABLE_TASK_MANAGER=3D1 = -DENABLE_WEB_INTENTS=3D1 -DENABLE_EXTENSIONS=3D1 = -DENABLE_PLUGIN_INSTALLATION=3D1 -DENABLE_PROTECTOR_SERVICE=3D1 = -DENABLE_SESSION_SERVICE=3D1 -DENABLE_THEMES=3D1 -DENABLE_BACKGROUND=3D1 = -DENABLE_AUTOMATION=3D1 -DENABLE_PRINTING=3D1 = -DENABLE_CAPTIVE_PORTAL_DETECTION=3D1 -DWEBRTC_RESTRICT_LOGGING = -DWEBRTC_MOZILLA_BUILD -DEXPAT_RELATIVE_PATH -DWEBRTC_ARCH_ARM = -DWEBRTC_ARCH_ARM_V7 -DWEBRTC_BUILD_NEON_LIBS -DWEBRTC_DETECT_NEON = -DWEBRTC_BSD -DWEBRTC_THREAD_RR -DWEBRTC_POSIX = -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -D__STDC_FORMAT_MACROS = -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DSTATIC_EXPORTABLE_JS_API = -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -fPIC = -Wa,--noexecstack -include = /usr/ports/www/firefox/work/firefox-53.0.2/obj-armv6-unknown-freebsd12.0/m= ozilla-config.h -DMOZILLA_CLIENT = -I/usr/ports/www/firefox/work/firefox-53.0.2/media/webrtc/trunk = -I/usr/ports/www/firefox/work/firefox-53.0.2/media/webrtc/trunk/webrtc/com= mon_audio/resampler/include = -I/usr/ports/www/firefox/work/firefox-53.0.2/media/webrtc/trunk/webrtc/com= mon_audio/signal_processing/include = -I/usr/ports/www/firefox/work/firefox-53.0.2/obj-armv6-unknown-freebsd12.0= /ipc/ipdl/_ipdlheaders = -I/usr/ports/www/firefox/work/firefox-53.0.2/ipc/chromium/src = -I/usr/ports/www/firefox/work/firefox-53.0.2/ipc/glue -c = /usr/ports/www/firefox/work/firefox-53.0.2/media/webrtc/trunk/webrtc/commo= n_audio/signal_processing/filter_ar_fast_q12_armv7.S As I guessed the string "-mcpu=3Dcortex-a7" does not appear in the command. But it does indicate that /usr/bin/cc is being used to get to the assembler --which I did not guess. If I guessed right about part of the rule.mk that processed the .S file then the implication would be that: AS=3D/usr/bin/cc So it might be that having ASFLAGS contain -mcpu=3Dcortex-a7 might propagate through to the underlying assembler processing in a way to allow the sbfx instructions by telling it the type of cpu to target. =3D=3D=3D Mark Millard markmi at dsl-only.net