Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Nov 2015 20:21:27 +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-rGVlRXfqsZ@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 #9 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Nov  3 20:21:02 UTC 2015
New revision: 400714
URL: https://svnweb.freebsd.org/changeset/ports/400714

Log:
  MFH: r400578 (slightly reworded), r400697

  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 on some CPUs but runtime
  detection on FreeBSD is unavailable. aarch64 always has NEON.
  So, detect NEON via compiler defines:

    # make.conf: force NEON for armv6 architecture (newer boards)
    CFLAGS+=    -march=armv7-a

  PR:        201273 (ping)
  Approved by:    ports-secteam (feld)

Changes:
_U  branches/2015Q4/
  branches/2015Q4/multimedia/openh264/Makefile
  branches/2015Q4/multimedia/openh264/files/patch-build_arch.mk
  branches/2015Q4/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-rGVlRXfqsZ>