Summary: | multimedia/gstreamer1-libav: fails to build with FFMPEG=OFF on aarch64: gas-preprocessor.pl is missing from distfile | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-multimedia (Nobody) <multimedia> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | linimon, mikael | ||||
Priority: | --- | Keywords: | needs-qa, regression | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(multimedia) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 231406 | ||||||
Attachments: |
|
Description
Jan Beich
2018-11-11 13:13:32 UTC
According to configure from libav gas-preprocessor.pl may also be used on arm* and powerpc with altivec. - Builds fine on aarch64 after ports r484697: https://ptpb.pw/G7Kn - Still an issue for bundled ffmpeg Created attachment 199145 [details]
patch
(In reply to Jan Beich from comment #2) I'm testing the attached patch, it builds fine on aarch64. I've just launched a build on armv7 and it's building llvm :/ Comment on attachment 199145 [details] patch aarch64 is indeed fixed, armv6 is green but build failed on 13.0 armv7 (clang 7.0.1): https://ptpb.pw/IHaC Looks like Clang assembler doesn't grok .gn directive: $ echo 'x .dn d2.f32' | clang -c -x assembler - -o /dev/null -target armv7-unknown-freebsd13.0-gnueabihf <stdin>:1:7: error: unexpected token in argument list x .dn d2.f32 ^ https://sourceware.org/binutils/docs/as/ARM-Directives.html Doh, upstream has a fix. https://trac.ffmpeg.org/ticket/6904 https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/f33f72847043 $ git describe --contains f33f72847043 n4.0~204 Comment on attachment 199145 [details] patch >+ freebsd) >++ enable section_data_rel_ro What is this for? Builds fine without: 11.2 aarch64: https://ptpb.pw/awjz 11.2 armv6: https://ptpb.pw/LFNH 13.0 aarch64: https://ptpb.pw/cfHn 13.0 armv7: https://ptpb.pw/IBVs I didn't test 12.0 or 13.0 armv6 though but the results are unlikely to differ. (In reply to Jan Beich from comment #7) I wanted to remove LLD UNSAFE A commit references this bug: Author: jbeich Date: Sun Nov 11 19:49:22 UTC 2018 New revision: 484762 URL: https://svnweb.freebsd.org/changeset/ports/484762 Log: multimedia/gstreamer1-libav: unbreak FFMPEG=OFF on aarch64 after r483887 - Drop GNU as(1) dependency as it's no longer required PR: 233137 Submitted by: Mika?l Urankar (based on) Changes: head/multimedia/gstreamer1-libav/Makefile head/multimedia/gstreamer1-libav/files/patch-clang-neon (In reply to mikael.urankar from comment #8) OK. I've dropped that change to remain consistent with multimedia/ffmpeg. |