While building libvpx for aTalk, found error when doing arm64-v8a build; all other ABI build are OK.
** BUILD STARTED: libvpx (v1.13.1) for arm64-v8a **
**********************************************
### Use NDK=/opt/android/android-ndk-r18b
### Use ANDROID_API=21
### Install directory: PREFIX=/home/cmeng/workspace/android/atalk-android/aTalk/jni/static_library_built/libvpx/../../vpx/android/arm64-v8a
**********************************************
....
[DEP] vpx_dsp/loopfilter.c.d
[DEP] vpx_dsp/arm/vpx_convolve_neon_i8mm.c.d
[DEP] vpx_dsp/arm/vpx_convolve8_neon_i8mm.c.d
clang70: error: the clang compiler does not support '-march=armv8.2-a+dotprod+i8mm'
[DEP] vpx_dsp/arm/vpx_convolve_neon_dotprod.c.d
[DEP] vpx_dsp/arm/vpx_convolve8_neon_dotprod.c.d
[DEP] vpx_dsp/arm/vpx_convolve_neon.c.d
[DEP] vpx_dsp/arm/vpx_convolve_avg_neon.c.d
[DEP] vpx_dsp/arm/vpx_convolve8_neon.c.d
[DEP] vpx_dsp/arm/vpx_convolve_copy_neon.c.d
[DEP] vpx_dsp/arm/vpx_scaled_convolve8_neon.c.d
[DEP] vpx_dsp/arm/highbd_vpx_convolve_neon.c.d
[DEP] vpx_dsp/arm/highbd_vpx_convolve8_neon.c.d
clang70: error: the clang compiler does not support '-march=armv8.2-a+dotprod+i8mm'
[DEP] vpx_dsp/arm/highbd_vpx_convolve_avg_neon.c.d
[DEP] vpx_dsp/arm/highbd_vpx_convolve_copy_neon.c.d
[DEP] vpx_dsp/vpx_convolve.c.d
[DEP] vpx_dsp/arm/intrapred_neon.c.d
....
[CC] vpx_dsp/loopfilter.c.o
clang70: error: the clang compiler does not support '-march=armv8.2-a+dotprod+i8mm'
make[1]: *** [vpx_dsp/arm/vpx_convolve8_neon_i8mm.c.o] Error 1
make[1]: *** Waiting for unfinished jobs....
clang70: error: the clang compiler does not support '-march=armv8.2-a+dotprod+i8mm'
make[1]: *** [vpx_dsp/arm/vpx_convolve_neon_i8mm.c.o] Error 1
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:74:12: warning: implicit declaration of function 'convolve8_4_sdot' [-Wimplicit-function-declaration]
d0 = convolve8_4_sdot(s0, filters, correction, range_limit, perm_tbl);
^
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:74:10: error: assigning to 'int16x4_t' (vector of 4 'int16_t' values) from incompatible type 'int'
d0 = convolve8_4_sdot(s0, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:75:10: error: assigning to 'int16x4_t' (vector of 4 'int16_t' values) from incompatible type 'int'
d1 = convolve8_4_sdot(s1, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:76:10: error: assigning to 'int16x4_t' (vector of 4 'int16_t' values) from incompatible type 'int'
d2 = convolve8_4_sdot(s2, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:77:10: error: assigning to 'int16x4_t' (vector of 4 'int16_t' values) from incompatible type 'int'
d3 = convolve8_4_sdot(s3, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:93:10: warning: implicit declaration of function 'convolve8_4_sdot' [-Wimplicit-function-declaration]
d0 = convolve8_4_sdot(s0, filters, correction, range_limit, perm_tbl);
^
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:93:8: error: assigning to 'int16x4_t' (vector of 4 'int16_t' values) from incompatible type 'int'
d0 = convolve8_4_sdot(s0, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:94:8: error: assigning to 'int16x4_t' (vector of 4 'int16_t' values) from incompatible type 'int'
d1 = convolve8_4_sdot(s1, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:95:8: error: assigning to 'int16x4_t' (vector of 4 'int16_t' values) from incompatible type 'int'
d2 = convolve8_4_sdot(s2, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:115:14: warning: implicit declaration of function 'convolve8_8_sdot' [-Wimplicit-function-declaration]
d0 = convolve8_8_sdot(s0, filters, correction, range_limit, perm_tbl);
^
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:115:12: error: assigning to 'uint8x8_t' (vector of 8 'uint8_t' values) from incompatible type 'int'
d0 = convolve8_8_sdot(s0, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:116:12: error: assigning to 'uint8x8_t' (vector of 8 'uint8_t' values) from incompatible type 'int'
d1 = convolve8_8_sdot(s1, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:117:12: error: assigning to 'uint8x8_t' (vector of 8 'uint8_t' values) from incompatible type 'int'
d2 = convolve8_8_sdot(s2, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:118:12: error: assigning to 'uint8x8_t' (vector of 8 'uint8_t' values) from incompatible type 'int'
d3 = convolve8_8_sdot(s3, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:139:12: warning: implicit declaration of function 'convolve8_8_sdot' [-Wimplicit-function-declaration]
d0 = convolve8_8_sdot(s0, filters, correction, range_limit, perm_tbl);
^
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:139:10: error: assigning to 'uint8x8_t' (vector of 8 'uint8_t' values) from incompatible type 'int'
d0 = convolve8_8_sdot(s0, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:140:10: error: assigning to 'uint8x8_t' (vector of 8 'uint8_t' values) from incompatible type 'int'
d1 = convolve8_8_sdot(s1, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:141:10: error: assigning to 'uint8x8_t' (vector of 8 'uint8_t' values) from incompatible type 'int'
d2 = convolve8_8_sdot(s2, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:43:6: warning: no previous prototype for function 'vpx_convolve8_2d_horiz_neon_dotprod' [-Wmissing-prototypes]
void vpx_convolve8_2d_horiz_neon_dotprod(const uint8_t *src,
^
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:181:12: warning: implicit declaration of function 'convolve8_4_sdot' [-Wimplicit-function-declaration]
t0 = convolve8_4_sdot(s0, filters, correction, range_limit, perm_tbl);
^
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:181:10: error: assigning to 'int16x4_t' (vector of 4 'int16_t' values) from incompatible type 'int'
t0 = convolve8_4_sdot(s0, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:182:10: error: assigning to 'int16x4_t' (vector of 4 'int16_t' values) from incompatible type 'int'
t1 = convolve8_4_sdot(s1, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:183:10: error: assigning to 'int16x4_t' (vector of 4 'int16_t' values) from incompatible type 'int'
t2 = convolve8_4_sdot(s2, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:184:10: error: assigning to 'int16x4_t' (vector of 4 'int16_t' values) from incompatible type 'int'
t3 = convolve8_4_sdot(s3, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:209:14: warning: implicit declaration of function 'convolve8_8_sdot' [-Wimplicit-function-declaration]
d0 = convolve8_8_sdot(s0, filters, correction, range_limit, perm_tbl);
^
vpx_dsp/arm/vpx_convolve8_neon_dotprod.c:209:12: error: assigning to 'uint8x8_t' (vector of 8 'uint8_t' values) from incompatible type 'int'
d0 = convolve8_8_sdot(s0, filters, correction, range_limit, perm_tbl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
7 warnings and 20 errors generated.
make[1]: *** [vpx_dsp/arm/vpx_convolve8_neon_dotprod.c.o] Error 1
vpx_dsp/arm/vpx_convolve_neon_dotprod.c:34:3: warning: implicit declaration of function 'vpx_convolve8_2d_horiz_neon_dotprod' [-Wimplicit-function-declaration]
vpx_convolve8_2d_horiz_neon_dotprod(src - src_stride * 3, src_stride, temp, w,
^
vpx_dsp/arm/vpx_convolve_neon_dotprod.c:54:3: warning: implicit declaration of function 'vpx_convolve8_2d_horiz_neon_dotprod' [-Wimplicit-function-declaration]
vpx_convolve8_2d_horiz_neon_dotprod(src - src_stride * 3, src_stride, temp, w,
^
2 warnings generated.
make: *** [.DEFAULT] Error 2
~/workspace/android/atalk-android/aTalk/jni/static_library_built/libvpx
** BUILD COMPLETED: libvpx for arm64-v8a **