[vlc-devel] [Android] aom compile failed

Steve Lhomme robux4 at ycbcr.xyz
Mon Oct 22 11:06:12 CEST 2018


On 21/10/2018 01:36, Diego Fernando Nieto via vlc-devel wrote:
>
> Subject:
> [Android] aom compile failed
> From:
> Diego Fernando Nieto <diegofn at me.com>
> Date:
> 21/10/2018 01:36
> To:
> Mailing list for VLC media player developers <vlc-devel at videolan.org>
>
> To:
> Mailing list for VLC media player developers <vlc-devel at videolan.org>
>
>
> Hello everyone,
>
> Since two weeks ago, I tried to compile the VLC for armv7 but I get 
> the following error while compile the contrib tree.
> https://pastebin.com/wM6WxPwK
>
> As you can see, the aom scripts does not detect armv7 platform, 
> however I change the rules.mak to force it, and again I receive this 
> error.
>
> diff --git a/contrib/src/aom/rules.mak b/contrib/src/aom/rules.mak
> index d5c18b52d9..f846ed003b 100644
> --- a/contrib/src/aom/rules.mak
> +++ b/contrib/src/aom/rules.mak
> @@ -45,7 +45,6 @@ ifndef HAVE_WIN32
>  AOM_CONF += -DCONFIG_PIC=1
>  endif
> -ifdef HAVE_WIN32

It seems you have two patches in one: tweak the ARM compilation for all 
platforms and enable NEON. The former seem to solve your problem (so 
probably fine). Enabling NEON may not be necessary. And if it is, it 
needs to be checked if this flag also works for Windows builds.

>  ifneq ($(filter arm aarch64, $(ARCH)),)
>  # These targets don't have runtime cpu detection.
>  AOM_CONF += -DCONFIG_RUNTIME_CPU_DETECT=0
> @@ -53,8 +52,7 @@ endif
>  ifeq ($(ARCH),arm)
>  # armv7, not just plain arm
>  AOM_CONF += -DAOM_TARGET_CPU=armv7
> -AOM_CONF += -DAOM_ADS2GAS_REQUIRED=1 
> -DAOM_ADS2GAS=../build/make/ads2gas.pl 
> -DAOM_ADS2GAS_OPTS="-thumb;-noelf" -DAOM_GAS_EXT=S
> -endif
> +AOM_CONF += -DAOM_ADS2GAS_REQUIRED=1 
> -DAOM_ADS2GAS=../build/make/ads2gas.pl 
> -DAOM_ADS2GAS_OPTS="-thumb;-noelf" -DAOM_GAS_EXT=S -DHAVE_NEON=1
>  endif
>  ifdef HAVE_IOS
>
> Can anyone help me with this issue?
>
> Thanks for all and I am happy to be contact with you again.
>
> Best regards
>
>
> Diego Fernando Nieto
> @diegofn
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list