[Bug 201273] multimedia/openh264 fails to build on armv6
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Oct 31 14:24:51 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201273
--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:
Author: jbeich
Date: Sat Oct 31 14:24:16 UTC 2015
New revision: 400578
URL: https://svnweb.freebsd.org/changeset/ports/400578
Log:
multimedia/openh264: unbreak build on aarch64
/nxb-bin/usr/bin/cc -O2 -pipe -I/usr/local/include/gmp-api
-fno-strict-aliasing -DHAVE_NEON_AARCH64 -fPIC -DGENERATED_VERSION_HEADER
-I./codec/common/arm64/ -I./codec/api/svc -I./codec/common/inc -c -o
codec/common/arm64/copy_mb_aarch64_neon.o
codec/common/arm64/copy_mb_aarch64_neon.S
<instantiation>:4:1: error: unknown directive
.func WelsCopy8x8_AArch64_neon
^
codec/common/arm64/copy_mb_aarch64_neon.S:186:1: note: while in macro
instantiation
WELS_ASM_AARCH64_FUNC_BEGIN WelsCopy8x8_AArch64_neon
^
<instantiation>:2:1: error: unknown directive
.endfunc
^
codec/common/arm64/copy_mb_aarch64_neon.S:196:1: note: while in macro
instantiation
WELS_ASM_AARCH64_FUNC_END
^
[...]
Backout r394430 as armv6 can do NEON but not runtime detection on
FreeBSD while armv8 always has NEON. So, use devel/binutils and detect
NEON via compiler defines e.g.,
# To enable NEON on armv6 put the following into make.conf
CFLAGS+= -march=armv7-a
PR: 201273 (ping)
MFH: 2015Q4
Changes:
head/multimedia/openh264/Makefile
head/multimedia/openh264/files/patch-build_arch.mk
head/multimedia/openh264/files/patch-codec_common_src_cpu.cpp
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gecko
mailing list