[FFmpeg-trac] #6324(ffmpeg:new): Cannot compile ffmpeg 3.3 and latest master for arm64 for iOS
FFmpeg
trac at avcodec.org
Sat Apr 15 22:08:08 EEST 2017
#6324: Cannot compile ffmpeg 3.3 and latest master for arm64 for iOS
--------------------------------+--------------------------------------
Reporter: ioeir2 | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: git-master
Keywords: ios | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+--------------------------------------
Summary of the bug:
Cannot compile ffmpeg 3.3 and latest master for arm64 for iOS. Getting
error when compiling neon code for arm64 and armv7. However armv7, x86_64
and i386 targets can be compiled without any issues.
At the same time it is still possible to compile arm64 on ffmpeg 3.2.4.
Errors:
{{{
src/libavcodec/aarch64/h264dsp_init_aarch64.c:90:40: warning: incompatible
pointer types assigning to 'h264_biweight_func' (aka 'void
(*)(unsigned char *, unsigned char *, long, int, int, int, int,
int)') from
'void (uint8_t *, uint8_t *, int, int, int, int, int, int)' (aka
'void (unsigned char *, unsigned char *, int, int, int, int, int,
int)') [-Wincompatible-pointer-types]
c->biweight_h264_pixels_tab[2] = ff_biweight_h264_pixels_4_neon;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
AS libavcodec/aarch64/h264idct_neon.o
CC libavcodec/aarch64/h264pred_init.o
AS libavcodec/aarch64/h264pred_neon.o
CC libavcodec/aarch64/h264qpel_init_aarch64.o
AS libavcodec/aarch64/h264qpel_neon.o
CC libavcodec/aarch64/hpeldsp_init_aarch64.o
AS libavcodec/aarch64/hpeldsp_neon.o
CC libavcodec/aarch64/idctdsp_init_aarch64.o
AS libavcodec/aarch64/mdct_neon.o
AS libavcodec/aarch64/simple_idct_neon.o
<instantiation>:1:14: error: invalid operand for instruction
smull v7.4S, ., v0.H[1]
^
<instantiation>:11:9: note: while in macro instantiation
idct_col4_top v24 v25 v26 v27 14
^
/var/folders/3c/bksvjzx55n9f9x1lm7fp2v500000gn/T/simple_idct_neon-
6ce3ab.s:234:1: note: while in macro instantiation
declare_idct_col4_neon 1 4H
^
<instantiation>:2:23: error: invalid operand for instruction
smull v16.4S, ., v0.H[5]
^
}}}
Versions:
Xcode 8.3.1
ffmpeg version 3.3 or latest master (April 15, 2017)
gas-preprocessor.pl latest from https://git.libav.org/?p=gas-
preprocessor.git;a=tree
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6324>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list