[vlc-devel] [PATCH] contrib: Fix ARMv6 compilation

Edward Wang edward.c.wang at compdigitec.com
Wed Jun 13 01:25:11 CEST 2012


On Tuesday, June 12, 2012, Måns Rullgård <mans at mansr.com> wrote:
> Edward Wang <edward.c.wang at compdigitec.com> writes:
>
>> The contrib flags got messed up in
>> d61052a0987d751ecda0b763c900f834f3358612. This led to VFP instructions
>> being used on non-NEON devices,
>
> Most ARMv6 devices have VFP, so that should not be a problem.  Which
> exact chip are you using?
The same one I used for my Android VLC codec benchmarks:

Motorola XT300 - Android 2.1, 500 Mhz, 256 MB, rooted with busybox,
Qualcomm MSM7225 (ARM1136EJ-S core, ARMv6TEJ architecture, no NEON
extensions)
>
>>  contrib/src/main.mak |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/contrib/src/main.mak b/contrib/src/main.mak
>> index efdc426..5bb45ab 100644
>> --- a/contrib/src/main.mak
>> +++ b/contrib/src/main.mak
>> @@ -111,7 +111,7 @@ ifdef HAVE_TEGRA2
>>      ANDROID_CPU_FLAGS = -mfpu=vfpv3-d16 -mcpu=cortex-a9
>>  else
>>      ANDROID_ABI = armeabi
>> -    ANDROID_CPU_FLAGS = -mcpu=arm1136jf-s -mfpu=vfp
>> +    ANDROID_CPU_FLAGS = -march=armv6j -mtune=arm1136j-s -msoft-float
>
>
I will be working on this: http://trac.videolan.org/vlc/ticket/6931
> --
> Måns Rullgård
> mans at mansr.com
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120612/8fe76ed3/attachment.html>


More information about the vlc-devel mailing list