[vlc-devel] [PATCH v2 15/17] apple: build: build gas-preprocessor for armv7
ajanni at videolabs.io
Thu Apr 30 10:04:42 CEST 2020
Thanks for review,
I tried removing gas-preprocessor and there was issues with
png (which were solvable) and ffmpeg failed with
WARNING: GNU assembler not found, install gas-preprocessor".
I haven't look into ffmpeg directly to be honest, but thank
you for the information relative to gas-preprocessor.
I'll take a look into the commits you gave, but in the mean
time is it harmful to enable gas-preprocessor until this issue
is fixed? It would allow enabling the armv7 CI and ensure only
this change is needed in the long run.
If so, I'll change the commit message to mention this.
On Thu, Apr 30, 2020 at 12:25:03AM +0300, Martin Storsjö wrote:
> 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.)
> // Martin
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel