Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2015 14:24:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 201273] multimedia/openh264 fails to build on armv6
Message-ID:  <bug-201273-21738-5YVuECpBaU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201273-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201273-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201273

--- Comment #7 from commit-hook@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201273-21738-5YVuECpBaU>