[vlc-devel] [PATCH v2 15/17] apple: build: build gas-preprocessor for armv7
martin at martin.st
Wed Apr 29 23:25:03 CEST 2020
On Wed, 29 Apr 2020, Alexandre Janniaux wrote:
> ffmpeg cannot build without gas-preprocessor on armv7 for iOS.
> extras/package/apple/build.sh | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
That doesn't seem right to me - it should definitely be buildable without
it - I just tried with latest ffmpeg master.
The last nontrivial features that ffmpeg's arm asm used were implemented
in Clang 5 (corresponding to Xcode 9.3). After that, ffmpeg's arm assembly
happened to use a few minor features that Clang doesn't support (or which
it does support, but not when targeting Darwin). Depending on what version
of ffmpeg you build, you might need to backport the following commits:
If it still fails after making sure you have those fixes, please let me
know what errors you are getting.
So with modern Clang versions, you should never really need
gas-preprocessor for ios targets any longer - with minor touchups to the
assembly in some cases. (So the only modern target that really needs
gas-preprocessor is MSVC toolchains with armasm/armasm64.)
More information about the vlc-devel