From owner-freebsd-gecko@freebsd.org Tue Aug 11 16:07:07 2015 Return-Path: Delivered-To: freebsd-gecko@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 2A47A99FC80 for ; Tue, 11 Aug 2015 16:07:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 0F4EF1B0D for ; Tue, 11 Aug 2015 16:07:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0E39E99FC7F; Tue, 11 Aug 2015 16:07:07 +0000 (UTC) Delivered-To: gecko@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 0DCB699FC7E for ; Tue, 11 Aug 2015 16:07:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 D3DF61B0B for ; Tue, 11 Aug 2015 16:07:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7BG76DS013119 for ; Tue, 11 Aug 2015 16:07:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 201273] multimedia/openh264 fails to build on armv6 Date: Tue, 11 Aug 2015 16:07:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2015 16:07:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201273 --- Comment #1 from Jan Beich --- Comment on attachment 158258 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D158258 armv6 fix >--- Makefile (revision 390884) >+++ Makefile (working copy) >@@ -44,8 +44,12 @@ >=20 > .include >=20 >+.if ${ARCH} =3D=3D "armv6" >+CFLAGS+=3D -no-integrated-as What is this for? All *.S files are conditionalized by HAVE_NEON. Not to mention the flag is Clang-specific, so would break GCC build. >+.endif >+ > .if ! ${PORT_OPTIONS:MDEBUG} >-. if ${ARCH} =3D=3D amd64 || ${ARCH} =3D=3D arm || ${ARCH} =3D=3D i386 >+. if ${ARCH} =3D=3D amd64 || ${ARCH} =3D=3D arm || ${ARCH} =3D=3D armv6 |= | ${ARCH} =3D=3D i386 My fault. nasm is only used on x86. arm and arm64 use cc(1). I'll remove arm from there to avoid confusion. > BUILD_DEPENDS+=3D nasm:${PORTSDIR}/devel/nasm > . endif > .endif > >--- files/patch-build_arch.mk (revision 0) >+++ files/patch-build_arch.mk (working copy) >@@ -0,0 +1,10 @@ >+--- build/arch.mk.orig 2015-07-01 17:00:32 UTC >++++ build/arch.mk >+@@ -5,7 +5,6 @@ ifneq ($(filter-out arm64, $(filter arm% >+ ifeq ($(USE_ASM), Yes) >+ ASM_ARCH =3D arm >+ ASMFLAGS +=3D -I$(SRC_PATH)codec/common/arm/ >+-CFLAGS +=3D -DHAVE_NEON Does FreeBSD not support NEON at all or only on armv6? If the latter try replacing ifneq ($(filter-out arm64, $(filter arm%, $(ARCH))),) with ifneq ($(filter-out armv6 arm64, $(filter arm%, $(ARCH))),) --=20 You are receiving this mail because: You are the assignee for the bug.=