Date: Wed, 07 Jan 2015 13:49:23 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196591] multimedia/libx264: fails to build on armv6 with clang3.5.0 Message-ID: <bug-196591-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: mikael.urankar@gmail.com CC: sbruno@FreeBSD.org Flags: maintainer-feedback?(koobs@FreeBSD.org) Assignee: koobs@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@FreeBSD.org> --- Auto-assigned to maintainer koobs@FreeBSD.org -- 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-196591-13>