[Bug 196591] multimedia/libx264: fails to build on armv6 with clang3.5.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 7 13:49:24 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196591
Bug ID: 196591
Summary: multimedia/libx264: fails to build on armv6 with
clang3.5.0
Product: Ports & Packages
Version: Latest
Hardware: arm
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: koobs at FreeBSD.org
Reporter: mikael.urankar at gmail.com
CC: sbruno at FreeBSD.org
Flags: maintainer-feedback?(koobs at FreeBSD.org)
Assignee: koobs at FreeBSD.org
Created attachment 151457
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151457&action=edit
import upstream patches for clang350
Hi,
Clang enabled the integrated assembler by default and it breaks the libx264
build:
/nxb-bin/usr/bin/cc -O -pipe -fno-strict-aliasing -mcpu=arm1136jf-s -Wall -I.
-I. -I/usr/local/include -std=gnu99 -c -DSTACK_ALIGNMENT=16 -DPIC
-DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8 -o common/arm/cpu-a.o common/arm/cpu-a.S
<instantiation>:6:9: error: unknown directive
.func x264_cpu_neon_test
^
common/arm/cpu-a.S:33:1: note: while in macro instantiation
function x264_cpu_neon_test
The problem is fixed upstream:
http://git.videolan.org/?p=x264.git;a=patch;h=d72760401cb0602b8bf86037988e66cdc810681c
http://git.videolan.org/?p=x264.git;a=patch;h=feec4a478bfdfb4426268b2ee79bac473b97488c
To apply the patch:
cd /usr/ports/multimedia/libx264 ; patch < /path/to/patch
find /usr/ports/multimedia/libx264/files -name "*.orig" -delete
failure log:
http://chips.ysv.freebsd.org/data/11armv6-11armv6/2015-01-07_01h29m17s/logs/errors/libx264-0.142.2455_1.log
with patch log:
http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/libx264-0.142.2455_1.log
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer koobs at FreeBSD.org
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list