Netflix / vmaf

Perceptual video quality assessment based on multi-method fusion.
Other
4.68k stars 757 forks source link

nijia failed to build libvmaf #851

Closed reginalluna closed 3 years ago

reginalluna commented 3 years ago

Hi, I had tried many times to build libvmaf under the conda environment. But, it still doesn't work. Could anyone help with this? I'm an artist and not that familiar with programming.

When I ran ninja -vC build

Then I got the result:

ninja: Entering directory 'build'
[1/141] /usr/bin/xxd --include src/vmaf_v0.6.1.json src/vmaf_v0.6.1.json.c
[2/141] /usr/bin/xxd --include src/vmaf_v0.6.1neg.json src/vmaf_v0.6.1neg.json.c
[3/141] /usr/bin/xxd --include src/vmaf_4k_v0.6.1.json src/vmaf_4k_v0.6.1.json.c
[4/141] cc -Isrc/src@@libvmaf_cpu@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_cpu@sta/cpu.c.o' -MF 'src/src@@libvmaf_cpu@sta/cpu.c.o.d' -o 'src/src@@libvmaf_cpu@sta/cpu.c.o' -c ../src/cpu.c
[5/141] cc -Isrc/src@@libvmaf_cpu@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_cpu@sta/x86_cpu.c.o' -MF 'src/src@@libvmaf_cpu@sta/x86_cpu.c.o.d' -o 'src/src@@libvmaf_cpu@sta/x86_cpu.c.o' -c ../src/x86/cpu.c
[6/141] /usr/bin/xxd --include src/vmaf_b_v0.6.3.json src/vmaf_b_v0.6.3.json.c
[7/141] /usr/bin/nasm -f elf64 -I /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/src/ -I /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/build/src/ -MQ src/src@@libvmaf_cpu@sta/cpuid.obj -MF src/src@@libvmaf_cpu@sta/cpuid.obj.ndep ../src/x86/cpuid.asm -o src/src@@libvmaf_cpu@sta/cpuid.obj
[8/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_picture_copy.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_picture_copy.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_picture_copy.c.o' -c ../src/feature/picture_copy.c
[9/141] rm -f src/liblibvmaf_cpu.a && gcc-ar csrD src/liblibvmaf_cpu.a 'src/src@@libvmaf_cpu@sta/cpuid.obj' 'src/src@@libvmaf_cpu@sta/cpu.c.o' 'src/src@@libvmaf_cpu@sta/x86_cpu.c.o'
[10/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_alias.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_alias.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_alias.c.o' -c ../src/feature/alias.c
[11/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_feature_name.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_feature_name.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_feature_name.c.o' -c ../src/feature/feature_name.c
[12/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_feature_extractor.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_feature_extractor.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_feature_extractor.c.o' -c ../src/feature/feature_extractor.c
../src/feature/feature_extractor.c: In function ‘get_fex_list_entry’:
../src/feature/feature_extractor.c:288:9: warning: unused variable ‘err’ [-Wunused-variable]
     int err = vmaf_dictionary_copy(&opts_dict, &entry.opts_dict);
         ^~~
[13/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_integer_psnr.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_integer_psnr.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_integer_psnr.c.o' -c ../src/feature/integer_psnr.c
[14/141] cc -Isrc/src@@x86_avx2@sta -Isrc -I../src -Isrc/./ -I../src/./ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -mavx -mavx2 -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@x86_avx2@sta/feature_x86_adm_avx2.c.o' -MF 'src/src@@x86_avx2@sta/feature_x86_adm_avx2.c.o.d' -o 'src/src@@x86_avx2@sta/feature_x86_adm_avx2.c.o' -c ../src/feature/x86/adm_avx2.c
[15/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_feature_collector.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_feature_collector.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_feature_collector.c.o' -c ../src/feature/feature_collector.c
../src/feature/feature_collector.c: In function ‘vmaf_feature_collector_append_templated’:
../src/feature/feature_collector.c:298:38: warning: passing argument 1 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
                                      ^~~~~~~~~~~~
In file included from ../src/feature/feature_collector.c:26:0:
../src/feature/feature_name.h:24:7: note: expected ‘char *’ but argument is of type ‘const char *’
 char *vmaf_feature_name(char *name, char *key, double val,
       ^~~~~~~~~~~~~~~~~
../src/feature/feature_collector.c:298:52: warning: passing argument 2 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
                                                    ^~~
In file included from ../src/feature/feature_collector.c:26:0:
../src/feature/feature_name.h:24:7: note: expected ‘char *’ but argument is of type ‘const char *’
 char *vmaf_feature_name(char *name, char *key, double val,
       ^~~~~~~~~~~~~~~~~
[16/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_third_party_xiph_psnr_hvs.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_third_party_xiph_psnr_hvs.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_third_party_xiph_psnr_hvs.c.o' -c ../src/feature/third_party/xiph/psnr_hvs.c
[17/141] cc -Isrc/src@@x86_avx2@sta -Isrc -I../src -Isrc/./ -I../src/./ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -mavx -mavx2 -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@x86_avx2@sta/feature_x86_motion_avx2.c.o' -MF 'src/src@@x86_avx2@sta/feature_x86_motion_avx2.c.o.d' -o 'src/src@@x86_avx2@sta/feature_x86_motion_avx2.c.o' -c ../src/feature/x86/motion_avx2.c
In file included from ../src/feature/x86/motion_avx2.c:23:0:
../src/feature/integer_motion.h: In function ‘edge_16’:
../src/feature/integer_motion.h:36:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (unsigned k = 0; k < filter_width; ++k) {
                            ^
../src/feature/integer_motion.h:37:36: warning: signed and unsigned type in conditional expression [-Wsign-compare]
         int i_tap = horizontal ? i : i - radius + k;
                                    ^
../src/feature/integer_motion.h:38:49: warning: signed and unsigned type in conditional expression [-Wsign-compare]
         int j_tap = horizontal ? j - radius + k : j;
                                                 ^
../src/feature/x86/motion_avx2.c: In function ‘x_convolution_16_avx2’:
../src/feature/x86/motion_avx2.c:118:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (unsigned k = 0; k < filter_width; ++k) {
                                    ^
../src/feature/x86/motion_avx2.c:35:15: warning: unused variable ‘tmpdst’ [-Wunused-variable]
     uint16_t *tmpdst = dst;
               ^~~~~~
[18/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_float_ssim.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_float_ssim.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_float_ssim.c.o' -c ../src/feature/float_ssim.c
[19/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_common_alignment.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_common_alignment.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_common_alignment.c.o' -c ../src/feature/common/alignment.c
[20/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_float_ms_ssim.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_float_ms_ssim.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_float_ms_ssim.c.o' -c ../src/feature/float_ms_ssim.c
[21/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_ciede.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_ciede.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_ciede.c.o' -c ../src/feature/ciede.c
[22/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_iqa_decimate.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_iqa_decimate.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_iqa_decimate.c.o' -c ../src/feature/iqa/decimate.c
[23/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_integer_motion.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_integer_motion.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_integer_motion.c.o' -c ../src/feature/integer_motion.c
In file included from ../src/feature/integer_motion.c:27:0:
../src/feature/integer_motion.h: In function ‘edge_16’:
../src/feature/integer_motion.h:36:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (unsigned k = 0; k < filter_width; ++k) {
                            ^
../src/feature/integer_motion.h:37:36: warning: signed and unsigned type in conditional expression [-Wsign-compare]
         int i_tap = horizontal ? i : i - radius + k;
                                    ^
../src/feature/integer_motion.h:38:49: warning: signed and unsigned type in conditional expression [-Wsign-compare]
         int j_tap = horizontal ? j - radius + k : j;
                                                 ^
../src/feature/integer_motion.c: In function ‘x_convolution_16’:
../src/feature/integer_motion.c:94:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (unsigned k = 0; k < filter_width; ++k) {
                                    ^
../src/feature/integer_motion.c: In function ‘y_convolution_16’:
../src/feature/integer_motion.c:137:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (unsigned k = 0; k < filter_width; ++k) {
                                    ^
../src/feature/integer_motion.c: In function ‘edge_8’:
../src/feature/integer_motion.c:163:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (unsigned k = 0; k < filter_width; ++k) {
                            ^
../src/feature/integer_motion.c: In function ‘y_convolution_8’:
../src/feature/integer_motion.c:203:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (unsigned k = 0; k < filter_width; ++k) {
                                    ^
[24/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_ssim.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_ssim.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_ssim.c.o' -c ../src/feature/ssim.c
[25/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_ms_ssim.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_ms_ssim.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_ms_ssim.c.o' -c ../src/feature/ms_ssim.c
[26/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_iqa_math_utils.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_iqa_math_utils.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_iqa_math_utils.c.o' -c ../src/feature/iqa/math_utils.c
[27/141] cc -Itest/test@@test_model@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_model@exe/.._src_log.c.o' -MF 'test/test@@test_model@exe/.._src_log.c.o.d' -o 'test/test@@test_model@exe/.._src_log.c.o' -c ../src/log.c
[28/141] cc -Itools/tools@@vmaf@exe -Itools -I../tools -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pedantic -DOC_NEW_STYLE_INCLUDES -DHAVE_STRSEP  -MD -MQ 'tools/tools@@vmaf@exe/vidinput.c.o' -MF 'tools/tools@@vmaf@exe/vidinput.c.o.d' -o 'tools/tools@@vmaf@exe/vidinput.c.o' -c ../tools/vidinput.c
../tools/vidinput.c: In function ‘raw_input_open’:
../tools/vidinput.c:40:15: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
     _vid->vtbl=&YUV_INPUT_VTBL;
               ^
[29/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_iqa_ssim_tools.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_iqa_ssim_tools.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_iqa_ssim_tools.c.o' -c ../src/feature/iqa/ssim_tools.c
[30/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_integer_vif.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_integer_vif.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_integer_vif.c.o' -c ../src/feature/integer_vif.c
[31/141] cc -Itools/tools@@vmaf@exe -Itools -I../tools -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pedantic -DOC_NEW_STYLE_INCLUDES -DHAVE_STRSEP  -MD -MQ 'tools/tools@@vmaf@exe/yuv_input.c.o' -MF 'tools/tools@@vmaf@exe/yuv_input.c.o.d' -o 'tools/tools@@vmaf@exe/yuv_input.c.o' -c ../tools/yuv_input.c
[32/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_iqa_convolve.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_iqa_convolve.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_iqa_convolve.c.o' -c ../src/feature/iqa/convolve.c
../src/feature/iqa/convolve.c: In function ‘KBND_SYMMETRIC’:
../src/feature/iqa/convolve.c:41:74: warning: unused parameter ‘bnd_const’ [-Wunused-parameter]
 float KBND_SYMMETRIC(const float *img, int w, int h, int x, int y, float bnd_const)
                                                                          ^~~~~~~~~
../src/feature/iqa/convolve.c: In function ‘KBND_REPLICATE’:
../src/feature/iqa/convolve.c:50:74: warning: unused parameter ‘bnd_const’ [-Wunused-parameter]
 float KBND_REPLICATE(const float *img, int w, int h, int x, int y, float bnd_const)
                                                                          ^~~~~~~~~
[33/141] cc -Itest/test@@test_context@exe -Itest -I../test -Iinclude -I../include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_context@exe/test.c.o' -MF 'test/test@@test_context@exe/test.c.o.d' -o 'test/test@@test_context@exe/test.c.o' -c ../test/test.c
[34/141] cc -Itest/test@@test_context@exe -Itest -I../test -Iinclude -I../include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_context@exe/test_context.c.o' -MF 'test/test@@test_context@exe/test_context.c.o.d' -o 'test/test@@test_context@exe/test_context.c.o' -c ../test/test_context.c
[35/141] /home/regina/anaconda3/envs/zed/bin/python3 /home/regina/anaconda3/envs/zed/bin/meson --internal vcstagger ../include/vcs_version.h.in include/vcs_version.h 2.1.1 /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/include @VCS_TAG@ '(.*)' /usr/bin/git --git-dir /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/../.git describe --tags --long --match '?.*.*' --always
[36/141] cc -Itools/tools@@vmaf@exe -Itools -I../tools -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pedantic -DOC_NEW_STYLE_INCLUDES -DHAVE_STRSEP  -MD -MQ 'tools/tools@@vmaf@exe/vmaf.c.o' -MF 'tools/tools@@vmaf@exe/vmaf.c.o.d' -o 'tools/tools@@vmaf@exe/vmaf.c.o' -c ../tools/vmaf.c
[37/141] cc -Itest/test@@test_picture@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_picture@exe/test.c.o' -MF 'test/test@@test_picture@exe/test.c.o.d' -o 'test/test@@test_picture@exe/test.c.o' -c ../test/test.c
[38/141] cc -Itools/tools@@vmafossexec@exe -Itools -I../tools -Iinclude -I../include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'tools/tools@@vmafossexec@exe/read_frame.c.o' -MF 'tools/tools@@vmafossexec@exe/read_frame.c.o.d' -o 'tools/tools@@vmafossexec@exe/read_frame.c.o' -c ../tools/read_frame.c
[39/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/meson-generated_.._vmaf_v0.6.1.json.c.o' -MF 'src/src@@vmaf@sha/meson-generated_.._vmaf_v0.6.1.json.c.o.d' -o 'src/src@@vmaf@sha/meson-generated_.._vmaf_v0.6.1.json.c.o' -c src/vmaf_v0.6.1.json.c
[40/141] cc -Itools/tools@@vmaf@exe -Itools -I../tools -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pedantic -DOC_NEW_STYLE_INCLUDES -DHAVE_STRSEP  -MD -MQ 'tools/tools@@vmaf@exe/cli_parse.c.o' -MF 'tools/tools@@vmaf@exe/cli_parse.c.o.d' -o 'tools/tools@@vmaf@exe/cli_parse.c.o' -c ../tools/cli_parse.c
[41/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/meson-generated_.._vmaf_v0.6.1neg.json.c.o' -MF 'src/src@@vmaf@sha/meson-generated_.._vmaf_v0.6.1neg.json.c.o.d' -o 'src/src@@vmaf@sha/meson-generated_.._vmaf_v0.6.1neg.json.c.o' -c src/vmaf_v0.6.1neg.json.c
[42/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/meson-generated_.._vmaf_4k_v0.6.1.json.c.o' -MF 'src/src@@vmaf@sha/meson-generated_.._vmaf_4k_v0.6.1.json.c.o.d' -o 'src/src@@vmaf@sha/meson-generated_.._vmaf_4k_v0.6.1.json.c.o' -c src/vmaf_4k_v0.6.1.json.c
[43/141] cc -Isrc/src@@x86_avx2@sta -Isrc -I../src -Isrc/./ -I../src/./ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -mavx -mavx2 -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@x86_avx2@sta/feature_x86_vif_avx2.c.o' -MF 'src/src@@x86_avx2@sta/feature_x86_vif_avx2.c.o.d' -o 'src/src@@x86_avx2@sta/feature_x86_vif_avx2.c.o' -c ../src/feature/x86/vif_avx2.c
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_8_avx2’:
../src/feature/x86/vif_avx2.c:77:0: warning: ignoring #pragma loop  [-Wunknown-pragmas]
 #pragma loop(ivdep)

../src/feature/x86/vif_avx2.c:100:77: warning: unused variable ‘sg8’ [-Wunused-variable]
                 s25, s26, s27, s28, sg0, sg1, sg2, sg3, sg4, sg5, sg6, sg7, sg8;
                                                                             ^~~
../src/feature/x86/vif_avx2.c:100:32: warning: unused variable ‘s28’ [-Wunused-variable]
                 s25, s26, s27, s28, sg0, sg1, sg2, sg3, sg4, sg5, sg6, sg7, sg8;
                                ^~~
../src/feature/x86/vif_avx2.c:99:53: warning: unused variable ‘s8’ [-Wunused-variable]
             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s20, s21, s22, s23, s24,
                                                     ^~
../src/feature/x86/vif_avx2.c:98:32: warning: unused variable ‘g28’ [-Wunused-variable]
                 g25, g26, g27, g28;
                                ^~~
../src/feature/x86/vif_avx2.c:97:53: warning: unused variable ‘g8’ [-Wunused-variable]
             __m256i g0, g1, g2, g3, g4, g5, g6, g7, g8, g20, g21, g22, g23, g24,
                                                     ^~
../src/feature/x86/vif_avx2.c:83:21: warning: variable ‘accum_ref_lo’ set but not used [-Wunused-but-set-variable]
             __m256i accum_ref_lo, accum_ref_hi, accum_dis_lo, accum_dis_hi,
                     ^~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:710:21: warning: variable ‘refdislo’ set but not used [-Wunused-but-set-variable]
             __m256i refdislo, refdishi, mu2lo, mu2hi, mu1lo, mu1hi;
                     ^~~~~~~~
../src/feature/x86/vif_avx2.c:1108:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check))); // 4
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1110:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 1))); // 8
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1112:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 2))); // 4
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1114:17: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 (__m128 *)(buf.tmp.ref + jj_check + 3))); // 8  //12
                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1121:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 4)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1123:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 5)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1125:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 6)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1127:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 7)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1139:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 8)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1141:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 9)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1143:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 10)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1145:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 11)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1157:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 12)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1159:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 13)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1161:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 14)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1163:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 15)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1175:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 16)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1177:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 17)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1179:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 18)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1181:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 19)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1190:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 20)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1194:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1196:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 1)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1198:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 2)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1200:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 3)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1207:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 4)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1209:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 5)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1211:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 6)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1213:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 7)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1225:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 8)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1227:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 9)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1229:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 10)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1231:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 11)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1243:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 12)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1245:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 13)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1247:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 14)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1249:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 15)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1261:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 16)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1263:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 17)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1265:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 18)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1267:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 19)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1275:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 20)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1279:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1281:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 1)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1283:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 2)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1285:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 3)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1292:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 4)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1294:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 5)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1296:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 6)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1298:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 7)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1310:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 8)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1312:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 9)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1314:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 10)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1316:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 11)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1328:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 12)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1330:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 13)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1332:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 14)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1334:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 15)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1347:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 16)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1349:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 17)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1351:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 18)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1353:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 19)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1362:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 20)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:36:13: warning: unused variable ‘f0’ [-Wunused-variable]
     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, fc0, fc1, fc2, fc3, fc4,
             ^~
../src/feature/x86/vif_avx2.c:29:20: warning: unused variable ‘fwidth_v’ [-Wunused-variable]
     const unsigned fwidth_v = 18;
                    ^~~~~~~~
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_16_avx2’:
../src/feature/x86/vif_avx2.c:1427:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 4; j = j + 16) {
                                ^
../src/feature/x86/vif_avx2.c:1452:32: warning: unused variable ‘fcoeff’ [-Wunused-variable]
                 const uint16_t fcoeff = vif_filt[fi];
                                ^~~~~~
../src/feature/x86/vif_avx2.c:1433:21: warning: unused variable ‘mask1’ [-Wunused-variable]
             __m256i mask1 = _mm256_set_epi8(15, 14, 11, 10, 7, 6, 3, 2, 13, 12,
                     ^~~~~
../src/feature/x86/vif_avx2.c:1432:22: warning: unused variable ‘accum_ref_dis’ [-Wunused-variable]
             uint64_t accum_ref_dis = 0;
                      ^~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1431:22: warning: unused variable ‘accum_dis’ [-Wunused-variable]
             uint64_t accum_dis = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1430:22: warning: unused variable ‘accum_ref’ [-Wunused-variable]
             uint64_t accum_ref = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1429:22: warning: unused variable ‘accum_mu2’ [-Wunused-variable]
             uint32_t accum_mu2 = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1428:22: warning: unused variable ‘accum_mu1’ [-Wunused-variable]
             uint32_t accum_mu1 = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1656:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 3; j = j + 8) {
                                ^
../src/feature/x86/vif_avx2.c:1661:0: warning: ignoring #pragma unroll  [-Wunknown-pragmas]
 #pragma unroll(4)

../src/feature/x86/vif_avx2.c:1659:21: warning: unused variable ‘accumdl’ [-Wunused-variable]
             __m256i accumdl, accumrlo, accumdlo, accumrhi, accumdhi;
                     ^~~~~~~
../src/feature/x86/vif_avx2.c:1696:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 3; j = j + 8) {
                                ^
../src/feature/x86/vif_avx2.c:1709:0: warning: ignoring #pragma unroll  [-Wunknown-pragmas]
 #pragma unroll(2)

../src/feature/x86/vif_avx2.c:1710:51: warning: operation on ‘fj’ may be undefined [-Wsequence-point]
             for (unsigned fj = 0; fj < fwidth; fj = ++fj, jj_check = jj + fj) {
                                                ~~~^~~~~~
../src/feature/x86/vif_avx2.c:1713:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check)));
                                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1716:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 4)));
                                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1720:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check)));
                                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1723:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 4)));
                                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1727:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check)));
                                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1731:21: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     (__m128 *)(buf.tmp.ref_dis + jj_check + 4)));
                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1701:22: warning: unused variable ‘accum_ref_dis’ [-Wunused-variable]
             uint64_t accum_ref_dis = 0;
                      ^~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1700:22: warning: unused variable ‘accum_dis’ [-Wunused-variable]
             uint64_t accum_dis = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1699:22: warning: unused variable ‘accum_ref’ [-Wunused-variable]
             uint64_t accum_ref = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1698:22: warning: unused variable ‘accum_mu2’ [-Wunused-variable]
             uint32_t accum_mu2 = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1697:22: warning: unused variable ‘accum_mu1’ [-Wunused-variable]
             uint32_t accum_mu1 = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_rd_8_avx2’:
../src/feature/x86/vif_avx2.c:1850:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 4; j = j + 16) {
                                ^
../src/feature/x86/vif_avx2.c:1857:76: warning: unused variable ‘sg1’ [-Wunused-variable]
             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
                                                                            ^~~
../src/feature/x86/vif_avx2.c:1857:71: warning: unused variable ‘sg0’ [-Wunused-variable]
             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
                                                                       ^~~
../src/feature/x86/vif_avx2.c:1857:66: warning: unused variable ‘s21’ [-Wunused-variable]
             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
                                                                  ^~~
../src/feature/x86/vif_avx2.c:1857:61: warning: unused variable ‘s20’ [-Wunused-variable]
             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
                                                             ^~~
../src/feature/x86/vif_avx2.c:1856:66: warning: unused variable ‘g21’ [-Wunused-variable]
             __m256i g0, g1, g2, g3, g4, g5, g6, g7, g8, g9, g20, g21;
                                                                  ^~~
../src/feature/x86/vif_avx2.c:1856:61: warning: unused variable ‘g20’ [-Wunused-variable]
             __m256i g0, g1, g2, g3, g4, g5, g6, g7, g8, g9, g20, g21;
                                                             ^~~
../src/feature/x86/vif_avx2.c:2004:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 3; j = j + 8) {
                                ^
../src/feature/x86/vif_avx2.c:2007:21: warning: unused variable ‘accumdl’ [-Wunused-variable]
             __m256i accumdl, accumrlo, accumdlo, accumrhi, accumdhi;
                     ^~~~~~~
../src/feature/x86/vif_avx2.c:1805:45: warning: unused variable ‘f8’ [-Wunused-variable]
     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
                                             ^~
../src/feature/x86/vif_avx2.c:1805:41: warning: unused variable ‘f7’ [-Wunused-variable]
     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
                                         ^~
../src/feature/x86/vif_avx2.c:1805:37: warning: unused variable ‘f6’ [-Wunused-variable]
     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
                                     ^~
../src/feature/x86/vif_avx2.c:1805:33: warning: unused variable ‘f5’ [-Wunused-variable]
     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
                                 ^~
../src/feature/x86/vif_avx2.c:1796:9: warning: unused variable ‘fwidth_x’ [-Wunused-variable]
     int fwidth_x = (fwidth % 2 == 0) ? fwidth : fwidth + 1;
         ^~~~~~~~
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_rd_16_avx2’:
../src/feature/x86/vif_avx2.c:2221:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 4; j = j + 16) {
                                ^
../src/feature/x86/vif_avx2.c:2228:32: warning: unused variable ‘fcoeff’ [-Wunused-variable]
                 const uint16_t fcoeff = vif_filt[fi];
                                ^~~~~~
../src/feature/x86/vif_avx2.c:2295:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 3; j = j + 8) {
                                ^
../src/feature/x86/vif_avx2.c:2301:29: warning: unused variable ‘dis’ [-Wunused-variable]
             const uint16_t *dis = (uint16_t *)buf.dis;
                             ^~~
../src/feature/x86/vif_avx2.c:2300:29: warning: unused variable ‘ref’ [-Wunused-variable]
             const uint16_t *ref = (uint16_t *)buf.tmp.ref_convol;
                             ^~~
../src/feature/x86/vif_avx2.c:2298:21: warning: unused variable ‘accumdl’ [-Wunused-variable]
             __m256i accumdl, accumrlo, accumdlo, accumrhi, accumdhi;
                     ^~~~~~~
../src/feature/x86/vif_avx2.c:2205:13: warning: unused variable ‘mask2’ [-Wunused-variable]
     __m256i mask2 = _mm256_set_epi32(7, 5, 3, 1, 6, 4, 2, 0);
             ^~~~~
[44/141] cc -Itools/tools@@vmaf@exe -Itools -I../tools -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pedantic -DOC_NEW_STYLE_INCLUDES -DHAVE_STRSEP  -MD -MQ 'tools/tools@@vmaf@exe/y4m_input.c.o' -MF 'tools/tools@@vmaf@exe/y4m_input.c.o.d' -o 'tools/tools@@vmaf@exe/y4m_input.c.o' -c ../tools/y4m_input.c
[45/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/model.c.o' -MF 'src/src@@vmaf@sha/model.c.o.d' -o 'src/src@@vmaf@sha/model.c.o' -c ../src/model.c
../src/model.c: In function ‘vmaf_model_feature_overload’:
../src/model.c:167:35: warning: passing argument 2 of ‘vmaf_dictionary_merge’ from incompatible pointer type [-Wincompatible-pointer-types]
                                   &opts_dict, 0);
                                   ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../src/dict.h:50:17: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 VmafDictionary *vmaf_dictionary_merge(VmafDictionary **dict_a,
                 ^~~~~~~~~~~~~~~~~~~~~
../src/model.c:175:33: warning: passing argument 1 of ‘vmaf_dictionary_free’ from incompatible pointer type [-Wincompatible-pointer-types]
     err |= vmaf_dictionary_free(&opts_dict);
                                 ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../src/dict.h:56:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_free(VmafDictionary **dict);
     ^~~~~~~~~~~~~~~~~~~~
../src/model.c: In function ‘vmaf_model_collection_append’:
../src/model.c:214:16: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         memset(mc->name, 0, name_sz);
                ^~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/model.c:1:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘void *’ but argument is of type ‘const char *’
 __NTH (memset (void *__dest, int __ch, size_t __len))
 ^
../src/model.c:215:17: warning: passing argument 1 of ‘strncpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         strncpy(mc->name, model->name, name_sz - 1);
                 ^~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/model.c:1:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
 ^
../src/model.c: In function ‘vmaf_model_collection_destroy’:
../src/model.c:246:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(model_collection->name);
          ^~~~~~~~~~~~~~~~
In file included from ../src/model.c:2:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/model.c: In function ‘vmaf_model_collection_feature_overload’:
../src/model.c:307:34: warning: passing argument 1 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
                                  ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../src/dict.h:48:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
     ^~~~~~~~~~~~~~~~~~~~
../src/model.c:307:46: warning: passing argument 2 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
                                              ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../src/dict.h:48:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
     ^~~~~~~~~~~~~~~~~~~~
[46/141] cc -Isrc/src@@x86_avx2@sta -Isrc -I../src -Isrc/./ -I../src/./ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -mavx -mavx2 -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@x86_avx2@sta/feature_common_convolution_avx.c.o' -MF 'src/src@@x86_avx2@sta/feature_common_convolution_avx.c.o.d' -o 'src/src@@x86_avx2@sta/feature_common_convolution_avx.c.o' -c ../src/feature/common/convolution_avx.c
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_17’:
../src/feature/common/convolution_avx.c:224:100: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                    ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_9’:
../src/feature/common/convolution_avx.c:347:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                   ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_5’:
../src/feature/common/convolution_avx.c:412:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                   ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_17’:
../src/feature/common/convolution_avx.c:571:100: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                    ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_9’:
../src/feature/common/convolution_avx.c:691:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                   ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_5’:
../src/feature/common/convolution_avx.c:756:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                   ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_17’:
../src/feature/common/convolution_avx.c:997:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                       ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_9’:
../src/feature/common/convolution_avx.c:1137:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_5’:
../src/feature/common/convolution_avx.c:1211:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_17’:
../src/feature/common/convolution_avx.c:1384:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                       ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_9’:
../src/feature/common/convolution_avx.c:1521:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_5’:
../src/feature/common/convolution_avx.c:1595:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_17’:
../src/feature/common/convolution_avx.c:1850:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
                                                                                                       ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_9’:
../src/feature/common/convolution_avx.c:2007:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_5’:
../src/feature/common/convolution_avx.c:2090:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_17’:
../src/feature/common/convolution_avx.c:2278:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
                                                                                                       ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_9’:
../src/feature/common/convolution_avx.c:2433:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_5’:
../src/feature/common/convolution_avx.c:2517:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
                                                                                                      ^~~~~~~~~~~~
[47/141] c++ -Itools/tools@@vmafossexec@exe -Itools -I../tools -Iinclude -I../include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'tools/tools@@vmafossexec@exe/main.cpp.o' -MF 'tools/tools@@vmafossexec@exe/main.cpp.o.d' -o 'tools/tools@@vmafossexec@exe/main.cpp.o' -c ../tools/main.cpp
../tools/main.cpp: In function ‘int run_wrapper(char*, int, int, char*, char*, char*, char*, char*, bool, bool, bool, bool, bool, bool, bool, char*, int, int, bool)’:
../tools/main.cpp:195:11: warning: ‘int compute_vmaf(double*, char*, int, int, int (*)(float*, float*, float*, int, void*), void*, char*, char*, char*, int, int, int, int, int, int, int, char*, int, int, int)’ is deprecated [-Wdeprecated-declarations]
     ret = compute_vmaf(&score, fmt, width, height, read_frame, s, model_path, log_path, log_fmt,
           ^~~~~~~~~~~~
In file included from ../include/libvmaf/libvmaf.h:25:0,
                 from ../tools/main.cpp:30:
../include/libvmaf/compute_vmaf.h:66:5: note: declared here
 int compute_vmaf(double* vmaf_score, char* fmt, int width, int height, int (*read_frame)(float *ref_data, float *main_data, float *temp_data, int stride_byte, void *user_data),
     ^~~~~~~~~~~~
../tools/main.cpp:197:92: warning: ‘int compute_vmaf(double*, char*, int, int, int (*)(float*, float*, float*, int, void*), void*, char*, char*, char*, int, int, int, int, int, int, int, char*, int, int, int)’ is deprecated [-Wdeprecated-declarations]
                        do_ms_ssim, pool_method, n_thread, n_subsample, enable_conf_interval);
                                                                                            ^
In file included from ../include/libvmaf/libvmaf.h:25:0,
                 from ../tools/main.cpp:30:
../include/libvmaf/compute_vmaf.h:66:5: note: declared here
 int compute_vmaf(double* vmaf_score, char* fmt, int width, int height, int (*read_frame)(float *ref_data, float *main_data, float *temp_data, int stride_byte, void *user_data),
     ^~~~~~~~~~~~
[48/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/libvmaf.c.o' -MF 'src/src@@vmaf@sha/libvmaf.c.o.d' -o 'src/src@@vmaf@sha/libvmaf.c.o' -c ../src/libvmaf.c
../src/libvmaf.c: In function ‘vmaf_use_feature’:
../src/libvmaf.c:136:36: warning: passing argument 1 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
         err = vmaf_dictionary_copy(&opts_dict, &d);
                                    ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/libvmaf.c:31:
../src/dict.h:48:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
     ^~~~~~~~~~~~~~~~~~~~
../src/libvmaf.c:138:36: warning: passing argument 1 of ‘vmaf_dictionary_free’ from incompatible pointer type [-Wincompatible-pointer-types]
         err = vmaf_dictionary_free(&opts_dict);
                                    ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/libvmaf.c:31:
../src/dict.h:56:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_free(VmafDictionary **dict);
     ^~~~~~~~~~~~~~~~~~~~
[49/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/predict.c.o' -MF 'src/src@@vmaf@sha/predict.c.o.d' -o 'src/src@@vmaf@sha/predict.c.o' -c ../src/predict.c
../src/predict.c: In function ‘vmaf_predict_score_at_index’:
../src/predict.c:128:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
             key = model->feature[i].opts_dict->entry[0].key;
                 ^
../src/predict.c: In function ‘vmaf_bootstrap_predict_score_at_index’:
../src/predict.c:269:12: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     memset(name, 0, name_sz);
            ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘void *’ but argument is of type ‘const char *’
 __NTH (memset (void *__dest, int __ch, size_t __len))
 ^
../src/predict.c:271:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_bagging);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c:275:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_stddev);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c:279:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_lo);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c:283:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_hi);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c: In function ‘vmaf_predict_score_at_index’:
../src/predict.c:132:15: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         char *feature_name =
               ^~~~~~~~~~~~
[50/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/picture.c.o' -MF 'src/src@@vmaf@sha/picture.c.o.d' -o 'src/src@@vmaf@sha/picture.c.o' -c ../src/picture.c
[51/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/mem.c.o' -MF 'src/src@@vmaf@sha/mem.c.o.d' -o 'src/src@@vmaf@sha/mem.c.o' -c ../src/mem.c
[52/141] rm -f src/libx86_avx2.a && gcc-ar csrD src/libx86_avx2.a 'src/src@@x86_avx2@sta/feature_common_convolution_avx.c.o' 'src/src@@x86_avx2@sta/feature_x86_motion_avx2.c.o' 'src/src@@x86_avx2@sta/feature_x86_vif_avx2.c.o' 'src/src@@x86_avx2@sta/feature_x86_adm_avx2.c.o'
[53/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/fex_ctx_vector.c.o' -MF 'src/src@@vmaf@sha/fex_ctx_vector.c.o.d' -o 'src/src@@vmaf@sha/fex_ctx_vector.c.o' -c ../src/fex_ctx_vector.c
[54/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/thread_pool.c.o' -MF 'src/src@@vmaf@sha/thread_pool.c.o.d' -o 'src/src@@vmaf@sha/thread_pool.c.o' -c ../src/thread_pool.c
[55/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/compute_vmaf.c.o' -MF 'src/src@@vmaf@sha/compute_vmaf.c.o.d' -o 'src/src@@vmaf@sha/compute_vmaf.c.o' -c ../src/compute_vmaf.c
[56/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/opt.c.o' -MF 'src/src@@vmaf@sha/opt.c.o.d' -o 'src/src@@vmaf@sha/opt.c.o' -c ../src/opt.c
[57/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/ref.c.o' -MF 'src/src@@vmaf@sha/ref.c.o.d' -o 'src/src@@vmaf@sha/ref.c.o' -c ../src/ref.c
[58/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/output.c.o' -MF 'src/src@@vmaf@sha/output.c.o.d' -o 'src/src@@vmaf@sha/output.c.o' -c ../src/output.c
[59/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/log.c.o' -MF 'src/src@@vmaf@sha/log.c.o.d' -o 'src/src@@vmaf@sha/log.c.o' -c ../src/log.c
[60/141] cc -Itest/test@@test_picture@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_picture@exe/test_picture.c.o' -MF 'test/test@@test_picture@exe/test_picture.c.o.d' -o 'test/test@@test_picture@exe/test_picture.c.o' -c ../test/test_picture.c
[61/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/dict.c.o' -MF 'src/src@@vmaf@sha/dict.c.o.d' -o 'src/src@@vmaf@sha/dict.c.o' -c ../src/dict.c
../src/dict.c: In function ‘vmaf_dictionary_set’:
../src/dict.c:65:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     VmafDictionaryEntry *existing_entry = vmaf_dictionary_get(&d, key, 0);
                                           ^~~~~~~~~~~~~~~~~~~
../src/dict.c:86:14: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         free(existing_entry->val);
              ^~~~~~~~~~~~~~
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c:104:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(val_copy);
          ^~~~~~~~
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c: In function ‘vmaf_dictionary_free’:
../src/dict.c:131:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].key) free(d->entry[i].key);
                                  ^
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c:132:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].val) free(d->entry[i].val);
                                  ^
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
[62/141] cc -Itest/test@@test_picture@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_picture@exe/.._src_picture.c.o' -MF 'test/test@@test_picture@exe/.._src_picture.c.o.d' -o 'test/test@@test_picture@exe/.._src_picture.c.o' -c ../src/picture.c
[63/141] cc -Itest/test@@test_picture@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_picture@exe/.._src_mem.c.o' -MF 'test/test@@test_picture@exe/.._src_mem.c.o.d' -o 'test/test@@test_picture@exe/.._src_mem.c.o' -c ../src/mem.c
[64/141] cc -Itest/test@@test_picture@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_picture@exe/.._src_ref.c.o' -MF 'test/test@@test_picture@exe/.._src_ref.c.o.d' -o 'test/test@@test_picture@exe/.._src_ref.c.o' -c ../src/ref.c
[65/141] cc -Itest/test@@test_feature_collector@exe -Itest -I../test -Iinclude -I../include -I../test/../src/feature/ -Itest/../src -I../test/../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature_collector@exe/test.c.o' -MF 'test/test@@test_feature_collector@exe/test.c.o.d' -o 'test/test@@test_feature_collector@exe/test.c.o' -c ../test/test.c
[66/141] cc -Itest/test@@test_log@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_log@exe/test.c.o' -MF 'test/test@@test_log@exe/test.c.o.d' -o 'test/test@@test_log@exe/test.c.o' -c ../test/test.c
[67/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/read_json_model.c.o' -MF 'src/src@@vmaf@sha/read_json_model.c.o.d' -o 'src/src@@vmaf@sha/read_json_model.c.o' -c ../src/read_json_model.c
../src/read_json_model.c: In function ‘model_collection_parse’:
../src/read_json_model.c:445:21: warning: passing argument 1 of ‘sprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
             sprintf(c.name, "%s_%04d", name, ++i);
                     ^
In file included from /usr/include/features.h:424:0,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
                 from ../include/libvmaf/model.h:22,
                 from ../src/read_json_model.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:31:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
 ^
../src/read_json_model.c:452:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(name);
          ^~~~
In file included from ../src/read_json_model.c:25:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
[68/141] cc -Itest/test@@test_feature_collector@exe -Itest -I../test -Iinclude -I../include -I../test/../src/feature/ -Itest/../src -I../test/../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature_collector@exe/.._src_log.c.o' -MF 'test/test@@test_feature_collector@exe/.._src_log.c.o.d' -o 'test/test@@test_feature_collector@exe/.._src_log.c.o' -c ../src/log.c
[69/141] cc  -o test/test_picture 'test/test@@test_picture@exe/test.c.o' 'test/test@@test_picture@exe/test_picture.c.o' 'test/test@@test_picture@exe/.._src_picture.c.o' 'test/test@@test_picture@exe/.._src_mem.c.o' 'test/test@@test_picture@exe/.._src_ref.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1  
[70/141] cc -Itest/test@@test_log@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_log@exe/test_log.c.o' -MF 'test/test@@test_log@exe/test_log.c.o.d' -o 'test/test@@test_log@exe/test_log.c.o' -c ../test/test_log.c
[71/141] cc -Itest/test@@test_log@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_log@exe/.._src_log.c.o' -MF 'test/test@@test_log@exe/.._src_log.c.o.d' -o 'test/test@@test_log@exe/.._src_log.c.o' -c ../src/log.c
[72/141] cc -Itest/test@@test_thread_pool@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread  -MD -MQ 'test/test@@test_thread_pool@exe/test.c.o' -MF 'test/test@@test_thread_pool@exe/test.c.o.d' -o 'test/test@@test_thread_pool@exe/test.c.o' -c ../test/test.c
[73/141] cc -Itest/test@@test_thread_pool@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread  -MD -MQ 'test/test@@test_thread_pool@exe/test_thread_pool.c.o' -MF 'test/test@@test_thread_pool@exe/test_thread_pool.c.o.d' -o 'test/test@@test_thread_pool@exe/test_thread_pool.c.o' -c ../test/test_thread_pool.c
[74/141] cc -Itest/test@@test_feature_collector@exe -Itest -I../test -Iinclude -I../include -I../test/../src/feature/ -Itest/../src -I../test/../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature_collector@exe/test_feature_collector.c.o' -MF 'test/test@@test_feature_collector@exe/test_feature_collector.c.o.d' -o 'test/test@@test_feature_collector@exe/test_feature_collector.c.o' -c ../test/test_feature_collector.c
In file included from ../test/test_feature_collector.c:20:0:
../test/../src/feature/feature_collector.c: In function ‘vmaf_feature_collector_append_templated’:
../test/../src/feature/feature_collector.c:298:38: warning: passing argument 1 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
                                      ^~~~~~~~~~~~
In file included from ../test/../src/feature/feature_collector.c:26:0,
                 from ../test/test_feature_collector.c:20:
../test/../src/feature/feature_name.h:24:7: note: expected ‘char *’ but argument is of type ‘const char *’
 char *vmaf_feature_name(char *name, char *key, double val,
       ^~~~~~~~~~~~~~~~~
In file included from ../test/test_feature_collector.c:20:0:
../test/../src/feature/feature_collector.c:298:52: warning: passing argument 2 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
                                                    ^~~
In file included from ../test/../src/feature/feature_collector.c:26:0,
                 from ../test/test_feature_collector.c:20:
../test/../src/feature/feature_name.h:24:7: note: expected ‘char *’ but argument is of type ‘const char *’
 char *vmaf_feature_name(char *name, char *key, double val,
       ^~~~~~~~~~~~~~~~~
[75/141] cc  -o test/test_log 'test/test@@test_log@exe/test.c.o' 'test/test@@test_log@exe/test_log.c.o' 'test/test@@test_log@exe/.._src_log.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1  
[76/141] cc -Itest/test@@test_thread_pool@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread  -MD -MQ 'test/test@@test_thread_pool@exe/.._src_thread_pool.c.o' -MF 'test/test@@test_thread_pool@exe/.._src_thread_pool.c.o.d' -o 'test/test@@test_thread_pool@exe/.._src_thread_pool.c.o' -c ../src/thread_pool.c
[77/141] cc -Itest/test@@test_model@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_v0.6.1.json.c.o' -MF 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_v0.6.1.json.c.o.d' -o 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_v0.6.1.json.c.o' -c src/vmaf_v0.6.1.json.c
[78/141] cc -Itest/test@@test_model@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_v0.6.1neg.json.c.o' -MF 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_v0.6.1neg.json.c.o.d' -o 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_v0.6.1neg.json.c.o' -c src/vmaf_v0.6.1neg.json.c
[79/141] cc -Itest/test@@test_model@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_model@exe/test.c.o' -MF 'test/test@@test_model@exe/test.c.o.d' -o 'test/test@@test_model@exe/test.c.o' -c ../test/test.c
[80/141] cc -Itest/test@@test_model@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_4k_v0.6.1.json.c.o' -MF 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_4k_v0.6.1.json.c.o.d' -o 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_4k_v0.6.1.json.c.o' -c src/vmaf_4k_v0.6.1.json.c
[81/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/pdjson.c.o' -MF 'src/src@@vmaf@sha/pdjson.c.o.d' -o 'src/src@@vmaf@sha/pdjson.c.o' -c ../src/pdjson.c
[82/141] cc  -o test/test_thread_pool 'test/test@@test_thread_pool@exe/test.c.o' 'test/test@@test_thread_pool@exe/test_thread_pool.c.o' 'test/test@@test_thread_pool@exe/.._src_thread_pool.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -pthread  
[83/141] cc -Itest/test@@test_model@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_model@exe/.._src_dict.c.o' -MF 'test/test@@test_model@exe/.._src_dict.c.o.d' -o 'test/test@@test_model@exe/.._src_dict.c.o' -c ../src/dict.c
../src/dict.c: In function ‘vmaf_dictionary_set’:
../src/dict.c:65:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     VmafDictionaryEntry *existing_entry = vmaf_dictionary_get(&d, key, 0);
                                           ^~~~~~~~~~~~~~~~~~~
../src/dict.c:86:14: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         free(existing_entry->val);
              ^~~~~~~~~~~~~~
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c:104:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(val_copy);
          ^~~~~~~~
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c: In function ‘vmaf_dictionary_free’:
../src/dict.c:131:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].key) free(d->entry[i].key);
                                  ^
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c:132:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].val) free(d->entry[i].val);
                                  ^
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
[84/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_v0.6.1.json.c.o' -MF 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_v0.6.1.json.c.o.d' -o 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_v0.6.1.json.c.o' -c src/vmaf_v0.6.1.json.c
[85/141] cc -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/meson-generated_.._vmaf_b_v0.6.3.json.c.o' -MF 'src/src@@vmaf@sha/meson-generated_.._vmaf_b_v0.6.3.json.c.o.d' -o 'src/src@@vmaf@sha/meson-generated_.._vmaf_b_v0.6.3.json.c.o' -c src/vmaf_b_v0.6.3.json.c
[86/141] cc -Itest/test@@test_model@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_model@exe/test_model.c.o' -MF 'test/test@@test_model@exe/test_model.c.o.d' -o 'test/test@@test_model@exe/test_model.c.o' -c ../test/test_model.c
In file included from ../test/test_model.c:23:0:
../test/../src/model.c: In function ‘vmaf_model_feature_overload’:
../test/../src/model.c:167:35: warning: passing argument 2 of ‘vmaf_dictionary_merge’ from incompatible pointer type [-Wincompatible-pointer-types]
                                   &opts_dict, 0);
                                   ^
In file included from ../test/../src/feature/feature_extractor.h:26:0,
                 from ../test/../src/model.c:10,
                 from ../test/test_model.c:23:
../test/../src/dict.h:50:17: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 VmafDictionary *vmaf_dictionary_merge(VmafDictionary **dict_a,
                 ^~~~~~~~~~~~~~~~~~~~~
In file included from ../test/test_model.c:23:0:
../test/../src/model.c:175:33: warning: passing argument 1 of ‘vmaf_dictionary_free’ from incompatible pointer type [-Wincompatible-pointer-types]
     err |= vmaf_dictionary_free(&opts_dict);
                                 ^
In file included from ../test/../src/feature/feature_extractor.h:26:0,
                 from ../test/../src/model.c:10,
                 from ../test/test_model.c:23:
../test/../src/dict.h:56:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_free(VmafDictionary **dict);
     ^~~~~~~~~~~~~~~~~~~~
In file included from ../test/test_model.c:23:0:
../test/../src/model.c: In function ‘vmaf_model_collection_append’:
../test/../src/model.c:214:16: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         memset(mc->name, 0, name_sz);
                ^~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
                 from ../test/test_model.c:19:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘void *’ but argument is of type ‘const char *’
 __NTH (memset (void *__dest, int __ch, size_t __len))
 ^
In file included from ../test/test_model.c:23:0:
../test/../src/model.c:215:17: warning: passing argument 1 of ‘strncpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         strncpy(mc->name, model->name, name_sz - 1);
                 ^~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
                 from ../test/test_model.c:19:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
 ^
In file included from ../test/test_model.c:23:0:
../test/../src/model.c: In function ‘vmaf_model_collection_destroy’:
../test/../src/model.c:246:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(model_collection->name);
          ^~~~~~~~~~~~~~~~
In file included from ../test/../src/model.c:2:0,
                 from ../test/test_model.c:23:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
In file included from ../test/test_model.c:23:0:
../test/../src/model.c: In function ‘vmaf_model_collection_feature_overload’:
../test/../src/model.c:307:34: warning: passing argument 1 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
                                  ^
In file included from ../test/../src/feature/feature_extractor.h:26:0,
                 from ../test/../src/model.c:10,
                 from ../test/test_model.c:23:
../test/../src/dict.h:48:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
     ^~~~~~~~~~~~~~~~~~~~
In file included from ../test/test_model.c:23:0:
../test/../src/model.c:307:46: warning: passing argument 2 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
                                              ^
In file included from ../test/../src/feature/feature_extractor.h:26:0,
                 from ../test/../src/model.c:10,
                 from ../test/test_model.c:23:
../test/../src/dict.h:48:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
     ^~~~~~~~~~~~~~~~~~~~
../test/test_model.c: In function ‘model_compare’:
../test/test_model.c:35:32: warning: self-comparison always evaluates to false [-Wtautological-compare]
     err += model_a->n_features != model_a->n_features;
                                ^~
[87/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_v0.6.1neg.json.c.o' -MF 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_v0.6.1neg.json.c.o.d' -o 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_v0.6.1neg.json.c.o' -c src/vmaf_v0.6.1neg.json.c
[88/141] cc -Itest/test@@test_model@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_model@exe/.._src_read_json_model.c.o' -MF 'test/test@@test_model@exe/.._src_read_json_model.c.o.d' -o 'test/test@@test_model@exe/.._src_read_json_model.c.o' -c ../src/read_json_model.c
../src/read_json_model.c: In function ‘model_collection_parse’:
../src/read_json_model.c:445:21: warning: passing argument 1 of ‘sprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
             sprintf(c.name, "%s_%04d", name, ++i);
                     ^
In file included from /usr/include/features.h:424:0,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
                 from ../include/libvmaf/model.h:22,
                 from ../src/read_json_model.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:31:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
 ^
../src/read_json_model.c:452:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(name);
          ^~~~
In file included from ../src/read_json_model.c:25:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
[89/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_4k_v0.6.1.json.c.o' -MF 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_4k_v0.6.1.json.c.o.d' -o 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_4k_v0.6.1.json.c.o' -c src/vmaf_4k_v0.6.1.json.c
[90/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/test.c.o' -MF 'test/test@@test_predict@exe/test.c.o.d' -o 'test/test@@test_predict@exe/test.c.o' -c ../test/test.c
[91/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/test_predict.c.o' -MF 'test/test@@test_predict@exe/test_predict.c.o.d' -o 'test/test@@test_predict@exe/test_predict.c.o' -c ../test/test_predict.c
[92/141] cc -Itest/test@@test_model@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_model@exe/.._src_pdjson.c.o' -MF 'test/test@@test_model@exe/.._src_pdjson.c.o.d' -o 'test/test@@test_model@exe/.._src_pdjson.c.o' -c ../src/pdjson.c
[93/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/.._src_feature_alias.c.o' -MF 'test/test@@test_predict@exe/.._src_feature_alias.c.o.d' -o 'test/test@@test_predict@exe/.._src_feature_alias.c.o' -c ../src/feature/alias.c
[94/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/.._src_predict.c.o' -MF 'test/test@@test_predict@exe/.._src_predict.c.o.d' -o 'test/test@@test_predict@exe/.._src_predict.c.o' -c ../src/predict.c
../src/predict.c: In function ‘vmaf_predict_score_at_index’:
../src/predict.c:128:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
             key = model->feature[i].opts_dict->entry[0].key;
                 ^
../src/predict.c: In function ‘vmaf_bootstrap_predict_score_at_index’:
../src/predict.c:269:12: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     memset(name, 0, name_sz);
            ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘void *’ but argument is of type ‘const char *’
 __NTH (memset (void *__dest, int __ch, size_t __len))
 ^
../src/predict.c:271:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_bagging);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c:275:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_stddev);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c:279:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_lo);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c:283:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_hi);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c: In function ‘vmaf_predict_score_at_index’:
../src/predict.c:132:15: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         char *feature_name =
               ^~~~~~~~~~~~
[95/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/.._src_dict.c.o' -MF 'test/test@@test_predict@exe/.._src_dict.c.o.d' -o 'test/test@@test_predict@exe/.._src_dict.c.o' -c ../src/dict.c
../src/dict.c: In function ‘vmaf_dictionary_set’:
../src/dict.c:65:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     VmafDictionaryEntry *existing_entry = vmaf_dictionary_get(&d, key, 0);
                                           ^~~~~~~~~~~~~~~~~~~
../src/dict.c:86:14: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         free(existing_entry->val);
              ^~~~~~~~~~~~~~
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c:104:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(val_copy);
          ^~~~~~~~
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c: In function ‘vmaf_dictionary_free’:
../src/dict.c:131:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].key) free(d->entry[i].key);
                                  ^
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c:132:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].val) free(d->entry[i].val);
                                  ^
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
[96/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/.._src_feature_feature_collector.c.o' -MF 'test/test@@test_predict@exe/.._src_feature_feature_collector.c.o.d' -o 'test/test@@test_predict@exe/.._src_feature_feature_collector.c.o' -c ../src/feature/feature_collector.c
../src/feature/feature_collector.c: In function ‘aggregate_vector_append’:
../src/feature/feature_collector.c:65:23: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
         memset(metric + initial_size, 0, initial_size);
                       ^
../src/feature/feature_collector.c: In function ‘feature_vector_append’:
../src/feature/feature_collector.c:182:22: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
         memset(score + initial_size, 0, initial_size);
                      ^
../src/feature/feature_collector.c: In function ‘vmaf_feature_collector_append_templated’:
../src/feature/feature_collector.c:298:38: warning: passing argument 1 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
                                      ^~~~~~~~~~~~
In file included from ../src/feature/feature_collector.c:26:0:
../src/feature/feature_name.h:24:7: note: expected ‘char *’ but argument is of type ‘const char *’
 char *vmaf_feature_name(char *name, char *key, double val,
       ^~~~~~~~~~~~~~~~~
../src/feature/feature_collector.c:298:52: warning: passing argument 2 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
                                                    ^~~
In file included from ../src/feature/feature_collector.c:26:0:
../src/feature/feature_name.h:24:7: note: expected ‘char *’ but argument is of type ‘const char *’
 char *vmaf_feature_name(char *name, char *key, double val,
       ^~~~~~~~~~~~~~~~~
[97/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/.._src_log.c.o' -MF 'test/test@@test_predict@exe/.._src_log.c.o.d' -o 'test/test@@test_predict@exe/.._src_log.c.o' -c ../src/log.c
[98/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/.._src_model.c.o' -MF 'test/test@@test_predict@exe/.._src_model.c.o.d' -o 'test/test@@test_predict@exe/.._src_model.c.o' -c ../src/model.c
../src/model.c: In function ‘vmaf_model_feature_overload’:
../src/model.c:167:35: warning: passing argument 2 of ‘vmaf_dictionary_merge’ from incompatible pointer type [-Wincompatible-pointer-types]
                                   &opts_dict, 0);
                                   ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../test/../src/dict.h:50:17: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 VmafDictionary *vmaf_dictionary_merge(VmafDictionary **dict_a,
                 ^~~~~~~~~~~~~~~~~~~~~
../src/model.c:175:33: warning: passing argument 1 of ‘vmaf_dictionary_free’ from incompatible pointer type [-Wincompatible-pointer-types]
     err |= vmaf_dictionary_free(&opts_dict);
                                 ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../test/../src/dict.h:56:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_free(VmafDictionary **dict);
     ^~~~~~~~~~~~~~~~~~~~
../src/model.c: In function ‘vmaf_model_collection_append’:
../src/model.c:214:16: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         memset(mc->name, 0, name_sz);
                ^~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/model.c:1:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘void *’ but argument is of type ‘const char *’
 __NTH (memset (void *__dest, int __ch, size_t __len))
 ^
../src/model.c:215:17: warning: passing argument 1 of ‘strncpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         strncpy(mc->name, model->name, name_sz - 1);
                 ^~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/model.c:1:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
 ^
../src/model.c: In function ‘vmaf_model_collection_destroy’:
../src/model.c:246:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(model_collection->name);
          ^~~~~~~~~~~~~~~~
In file included from ../src/model.c:2:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/model.c: In function ‘vmaf_model_collection_feature_overload’:
../src/model.c:307:34: warning: passing argument 1 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
                                  ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../test/../src/dict.h:48:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
     ^~~~~~~~~~~~~~~~~~~~
../src/model.c:307:46: warning: passing argument 2 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
                                              ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../test/../src/dict.h:48:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
     ^~~~~~~~~~~~~~~~~~~~
[99/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/.._src_feature_feature_name.c.o' -MF 'test/test@@test_predict@exe/.._src_feature_feature_name.c.o.d' -o 'test/test@@test_predict@exe/.._src_feature_feature_name.c.o' -c ../src/feature/feature_name.c
[100/141] cc -Itest/test@@test_feature_extractor@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature_extractor@exe/test.c.o' -MF 'test/test@@test_feature_extractor@exe/test.c.o.d' -o 'test/test@@test_feature_extractor@exe/test.c.o' -c ../test/test.c
[101/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/.._src_read_json_model.c.o' -MF 'test/test@@test_predict@exe/.._src_read_json_model.c.o.d' -o 'test/test@@test_predict@exe/.._src_read_json_model.c.o' -c ../src/read_json_model.c
../src/read_json_model.c: In function ‘model_collection_parse’:
../src/read_json_model.c:445:21: warning: passing argument 1 of ‘sprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
             sprintf(c.name, "%s_%04d", name, ++i);
                     ^
In file included from /usr/include/features.h:424:0,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
                 from ../include/libvmaf/model.h:22,
                 from ../src/read_json_model.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:31:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
 ^
../src/read_json_model.c:452:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(name);
          ^~~~
In file included from ../src/read_json_model.c:25:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
[102/141] cc -Itest/test@@test_model@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_b_v0.6.3.json.c.o' -MF 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_b_v0.6.3.json.c.o.d' -o 'test/test@@test_model@exe/meson-generated_.._.._src_vmaf_b_v0.6.3.json.c.o' -c src/vmaf_b_v0.6.3.json.c
[103/141] cc -Itest/test@@test_feature_extractor@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature_extractor@exe/.._src_mem.c.o' -MF 'test/test@@test_feature_extractor@exe/.._src_mem.c.o.d' -o 'test/test@@test_feature_extractor@exe/.._src_mem.c.o' -c ../src/mem.c
[104/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/.._src_feature_feature_extractor.c.o' -MF 'test/test@@test_predict@exe/.._src_feature_feature_extractor.c.o.d' -o 'test/test@@test_predict@exe/.._src_feature_feature_extractor.c.o' -c ../src/feature/feature_extractor.c
../src/feature/feature_extractor.c: In function ‘get_fex_list_entry’:
../src/feature/feature_extractor.c:288:9: warning: unused variable ‘err’ [-Wunused-variable]
     int err = vmaf_dictionary_copy(&opts_dict, &entry.opts_dict);
         ^~~
[105/141] cc -Itest/test@@test_feature_extractor@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature_extractor@exe/test_feature_extractor.c.o' -MF 'test/test@@test_feature_extractor@exe/test_feature_extractor.c.o.d' -o 'test/test@@test_feature_extractor@exe/test_feature_extractor.c.o' -c ../test/test_feature_extractor.c
[106/141] cc -Isrc/src@@libvmaf_feature@sta -Isrc -I../src -Isrc/../include -I../src/../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -fPIC  -MD -MQ 'src/src@@libvmaf_feature@sta/feature_integer_adm.c.o' -MF 'src/src@@libvmaf_feature@sta/feature_integer_adm.c.o.d' -o 'src/src@@libvmaf_feature@sta/feature_integer_adm.c.o' -c ../src/feature/integer_adm.c
[107/141] cc -Itest/test@@test_feature_extractor@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature_extractor@exe/.._src_picture.c.o' -MF 'test/test@@test_feature_extractor@exe/.._src_picture.c.o.d' -o 'test/test@@test_feature_extractor@exe/.._src_picture.c.o' -c ../src/picture.c
[108/141] cc -Itest/test@@test_feature_extractor@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature_extractor@exe/.._src_ref.c.o' -MF 'test/test@@test_feature_extractor@exe/.._src_ref.c.o.d' -o 'test/test@@test_feature_extractor@exe/.._src_ref.c.o' -c ../src/ref.c
[109/141] rm -f src/liblibvmaf_feature.a && gcc-ar csrD src/liblibvmaf_feature.a 'src/src@@libvmaf_feature@sta/feature_picture_copy.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_psnr.c.o' 'src/src@@libvmaf_feature@sta/feature_third_party_xiph_psnr_hvs.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_extractor.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_name.c.o' 'src/src@@libvmaf_feature@sta/feature_alias.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_adm.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_collector.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_motion.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_vif.c.o' 'src/src@@libvmaf_feature@sta/feature_ciede.c.o' 'src/src@@libvmaf_feature@sta/feature_common_alignment.c.o' 'src/src@@libvmaf_feature@sta/feature_float_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_float_ms_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_ms_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_decimate.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_ssim_tools.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_math_utils.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_convolve.c.o'
[110/141] cc -Itest/test@@test_feature_extractor@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature_extractor@exe/.._src_opt.c.o' -MF 'test/test@@test_feature_extractor@exe/.._src_opt.c.o.d' -o 'test/test@@test_feature_extractor@exe/.._src_opt.c.o' -c ../src/opt.c
[111/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/.._src_pdjson.c.o' -MF 'test/test@@test_predict@exe/.._src_pdjson.c.o.d' -o 'test/test@@test_predict@exe/.._src_pdjson.c.o' -c ../src/pdjson.c
[112/141] cc -Itest/test@@test_feature_extractor@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature_extractor@exe/.._src_log.c.o' -MF 'test/test@@test_feature_extractor@exe/.._src_log.c.o.d' -o 'test/test@@test_feature_extractor@exe/.._src_log.c.o' -c ../src/log.c
[113/141] cc -Itest/test@@test_dict@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_dict@exe/test.c.o' -MF 'test/test@@test_dict@exe/test.c.o.d' -o 'test/test@@test_dict@exe/test.c.o' -c ../test/test.c
[114/141] cc -Itest/test@@test_feature_extractor@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature_extractor@exe/.._src_dict.c.o' -MF 'test/test@@test_feature_extractor@exe/.._src_dict.c.o.d' -o 'test/test@@test_feature_extractor@exe/.._src_dict.c.o' -c ../src/dict.c
../src/dict.c: In function ‘vmaf_dictionary_set’:
../src/dict.c:65:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     VmafDictionaryEntry *existing_entry = vmaf_dictionary_get(&d, key, 0);
                                           ^~~~~~~~~~~~~~~~~~~
../src/dict.c:86:14: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         free(existing_entry->val);
              ^~~~~~~~~~~~~~
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c:104:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(val_copy);
          ^~~~~~~~
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c: In function ‘vmaf_dictionary_free’:
../src/dict.c:131:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].key) free(d->entry[i].key);
                                  ^
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c:132:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].val) free(d->entry[i].val);
                                  ^
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
[115/141] cc -Itest/test@@test_cpu@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_cpu@exe/test.c.o' -MF 'test/test@@test_cpu@exe/test.c.o.d' -o 'test/test@@test_cpu@exe/test.c.o' -c ../test/test.c
[116/141] cc -Itest/test@@test_cpu@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_cpu@exe/test_cpu.c.o' -MF 'test/test@@test_cpu@exe/test_cpu.c.o.d' -o 'test/test@@test_cpu@exe/test_cpu.c.o' -c ../test/test_cpu.c
[117/141] cc -Itest/test@@test_ref@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_ref@exe/test_ref.c.o' -MF 'test/test@@test_ref@exe/test_ref.c.o.d' -o 'test/test@@test_ref@exe/test_ref.c.o' -c ../test/test_ref.c
[118/141] cc -Itest/test@@test_ref@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_ref@exe/test.c.o' -MF 'test/test@@test_ref@exe/test.c.o.d' -o 'test/test@@test_ref@exe/test.c.o' -c ../test/test.c
[119/141] cc -Itest/test@@test_feature@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature@exe/test.c.o' -MF 'test/test@@test_feature@exe/test.c.o.d' -o 'test/test@@test_feature@exe/test.c.o' -c ../test/test.c
[120/141] cc -Itest/test@@test_ref@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_ref@exe/.._src_ref.c.o' -MF 'test/test@@test_ref@exe/.._src_ref.c.o.d' -o 'test/test@@test_ref@exe/.._src_ref.c.o' -c ../src/ref.c
[121/141] cc  -o test/test_cpu 'test/test@@test_cpu@exe/test.c.o' 'test/test@@test_cpu@exe/test_cpu.c.o' 'src/src@@libvmaf_cpu@sta/cpu.c.o' 'src/src@@libvmaf_cpu@sta/x86_cpu.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1  
FAILED: test/test_cpu 
cc  -o test/test_cpu 'test/test@@test_cpu@exe/test.c.o' 'test/test@@test_cpu@exe/test_cpu.c.o' 'src/src@@libvmaf_cpu@sta/cpu.c.o' 'src/src@@libvmaf_cpu@sta/x86_cpu.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1  
src/src@@libvmaf_cpu@sta/x86_cpu.c.o: In function `vmaf_get_cpu_flags_x86':
cpu.c:(.text+0x3d): undefined reference to `vmaf_cpu_cpuid'
cpu.c:(.text+0x7b): undefined reference to `vmaf_cpu_cpuid'
cpu.c:(.text+0xb2): undefined reference to `vmaf_cpu_xgetbv'
cpu.c:(.text+0xdc): undefined reference to `vmaf_cpu_cpuid'
collect2: error: ld returned 1 exit status
[122/141] cc  -o test/test_feature_extractor 'test/test@@test_feature_extractor@exe/test.c.o' 'test/test@@test_feature_extractor@exe/test_feature_extractor.c.o' 'test/test@@test_feature_extractor@exe/.._src_mem.c.o' 'test/test@@test_feature_extractor@exe/.._src_picture.c.o' 'test/test@@test_feature_extractor@exe/.._src_ref.c.o' 'test/test@@test_feature_extractor@exe/.._src_dict.c.o' 'test/test@@test_feature_extractor@exe/.._src_opt.c.o' 'test/test@@test_feature_extractor@exe/.._src_log.c.o' 'src/src@@x86_avx2@sta/feature_common_convolution_avx.c.o' 'src/src@@x86_avx2@sta/feature_x86_motion_avx2.c.o' 'src/src@@x86_avx2@sta/feature_x86_vif_avx2.c.o' 'src/src@@x86_avx2@sta/feature_x86_adm_avx2.c.o' 'src/src@@libvmaf_feature@sta/feature_picture_copy.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_psnr.c.o' 'src/src@@libvmaf_feature@sta/feature_third_party_xiph_psnr_hvs.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_extractor.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_name.c.o' 'src/src@@libvmaf_feature@sta/feature_alias.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_adm.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_collector.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_motion.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_vif.c.o' 'src/src@@libvmaf_feature@sta/feature_ciede.c.o' 'src/src@@libvmaf_feature@sta/feature_common_alignment.c.o' 'src/src@@libvmaf_feature@sta/feature_float_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_float_ms_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_ms_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_decimate.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_ssim_tools.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_math_utils.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_convolve.c.o' 'src/src@@libvmaf_cpu@sta/cpu.c.o' 'src/src@@libvmaf_cpu@sta/x86_cpu.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -Wl,--start-group -lm -Wl,--end-group  
FAILED: test/test_feature_extractor 
cc  -o test/test_feature_extractor 'test/test@@test_feature_extractor@exe/test.c.o' 'test/test@@test_feature_extractor@exe/test_feature_extractor.c.o' 'test/test@@test_feature_extractor@exe/.._src_mem.c.o' 'test/test@@test_feature_extractor@exe/.._src_picture.c.o' 'test/test@@test_feature_extractor@exe/.._src_ref.c.o' 'test/test@@test_feature_extractor@exe/.._src_dict.c.o' 'test/test@@test_feature_extractor@exe/.._src_opt.c.o' 'test/test@@test_feature_extractor@exe/.._src_log.c.o' 'src/src@@x86_avx2@sta/feature_common_convolution_avx.c.o' 'src/src@@x86_avx2@sta/feature_x86_motion_avx2.c.o' 'src/src@@x86_avx2@sta/feature_x86_vif_avx2.c.o' 'src/src@@x86_avx2@sta/feature_x86_adm_avx2.c.o' 'src/src@@libvmaf_feature@sta/feature_picture_copy.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_psnr.c.o' 'src/src@@libvmaf_feature@sta/feature_third_party_xiph_psnr_hvs.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_extractor.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_name.c.o' 'src/src@@libvmaf_feature@sta/feature_alias.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_adm.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_collector.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_motion.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_vif.c.o' 'src/src@@libvmaf_feature@sta/feature_ciede.c.o' 'src/src@@libvmaf_feature@sta/feature_common_alignment.c.o' 'src/src@@libvmaf_feature@sta/feature_float_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_float_ms_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_ms_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_decimate.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_ssim_tools.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_math_utils.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_convolve.c.o' 'src/src@@libvmaf_cpu@sta/cpu.c.o' 'src/src@@libvmaf_cpu@sta/x86_cpu.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -Wl,--start-group -lm -Wl,--end-group  
src/src@@libvmaf_cpu@sta/x86_cpu.c.o: In function `vmaf_get_cpu_flags_x86':
cpu.c:(.text+0x3d): undefined reference to `vmaf_cpu_cpuid'
cpu.c:(.text+0x7b): undefined reference to `vmaf_cpu_cpuid'
cpu.c:(.text+0xb2): undefined reference to `vmaf_cpu_xgetbv'
cpu.c:(.text+0xdc): undefined reference to `vmaf_cpu_cpuid'
collect2: error: ld returned 1 exit status
[123/141] cc -Itest/test@@test_feature@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature@exe/test_feature.c.o' -MF 'test/test@@test_feature@exe/test_feature.c.o.d' -o 'test/test@@test_feature@exe/test_feature.c.o' -c ../test/test_feature.c
[124/141] cc -Itest/test@@test_feature@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_feature@exe/.._src_feature_feature_name.c.o' -MF 'test/test@@test_feature@exe/.._src_feature_feature_name.c.o.d' -o 'test/test@@test_feature@exe/.._src_feature_feature_name.c.o' -c ../src/feature/feature_name.c
[125/141] cc  -o test/test_ref 'test/test@@test_ref@exe/test.c.o' 'test/test@@test_ref@exe/test_ref.c.o' 'test/test@@test_ref@exe/.._src_ref.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1  
[126/141] cc -Itest/test@@test_dict@exe -Itest -I../test -Iinclude -I../include -Itest/../src/ -I../test/../src/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE  -MD -MQ 'test/test@@test_dict@exe/test_dict.c.o' -MF 'test/test@@test_dict@exe/test_dict.c.o.d' -o 'test/test@@test_dict@exe/test_dict.c.o' -c ../test/test_dict.c
In file included from ../test/test_dict.c:22:0:
../test/../src/dict.c: In function ‘vmaf_dictionary_set’:
../test/../src/dict.c:65:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     VmafDictionaryEntry *existing_entry = vmaf_dictionary_get(&d, key, 0);
                                           ^~~~~~~~~~~~~~~~~~~
../test/../src/dict.c:86:14: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         free(existing_entry->val);
              ^~~~~~~~~~~~~~
In file included from ../test/../src/dict.c:3:0,
                 from ../test/test_dict.c:22:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
In file included from ../test/test_dict.c:22:0:
../test/../src/dict.c:104:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(val_copy);
          ^~~~~~~~
In file included from ../test/../src/dict.c:3:0,
                 from ../test/test_dict.c:22:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
In file included from ../test/test_dict.c:22:0:
../test/../src/dict.c: In function ‘vmaf_dictionary_free’:
../test/../src/dict.c:131:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].key) free(d->entry[i].key);
                                  ^
In file included from ../test/../src/dict.c:3:0,
                 from ../test/test_dict.c:22:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
In file included from ../test/test_dict.c:22:0:
../test/../src/dict.c:132:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].val) free(d->entry[i].val);
                                  ^
In file included from ../test/../src/dict.c:3:0,
                 from ../test/test_dict.c:22:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
[127/141] cc -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O3 -D_GNU_SOURCE -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_b_v0.6.3.json.c.o' -MF 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_b_v0.6.3.json.c.o.d' -o 'test/test@@test_predict@exe/meson-generated_.._.._src_vmaf_b_v0.6.3.json.c.o' -c src/vmaf_b_v0.6.3.json.c
[128/141] c++ -Isrc/src@@vmaf@sha -Isrc -I../src -Iinclude -I../include -Isrc/./ -I../src/./ -I../src/./feature/ -I../src/./feature/common -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -fPIC -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'src/src@@vmaf@sha/svm.cpp.o' -MF 'src/src@@vmaf@sha/svm.cpp.o.d' -o 'src/src@@vmaf@sha/svm.cpp.o' -c ../src/svm.cpp
[129/141] c++ -Itest/test@@test_model@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_model@exe/.._src_svm.cpp.o' -MF 'test/test@@test_model@exe/.._src_svm.cpp.o.d' -o 'test/test@@test_model@exe/.._src_svm.cpp.o' -c ../src/svm.cpp
[130/141] c++ -Itest/test@@test_predict@exe -Itest -I../test -Iinclude -I../include -Itest/../src -I../test/../src -Isrc -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++11 -O3 -pthread -pedantic -DOC_NEW_STYLE_INCLUDES  -MD -MQ 'test/test@@test_predict@exe/.._src_svm.cpp.o' -MF 'test/test@@test_predict@exe/.._src_svm.cpp.o.d' -o 'test/test@@test_predict@exe/.._src_svm.cpp.o' -c ../src/svm.cpp
ninja: build stopped: subcommand failed.
reginalluna commented 3 years ago

Here's the info listed in meson-log.text

Build started at 2021-03-29T11:07:07.829187
Main binary: /home/regina/anaconda3/envs/zed/bin/python3
Python system: Linux
The Meson build system
Version: 0.47.0
Source dir: /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf
Build dir: /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/build
Build type: native build
Project name: libvmaf
Project version: 2.1.1
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/build/meson-private/sanitycheckc.c -o /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/build/meson-private/sanitycheckc.exe
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/build/meson-private/sanitycheckc.exe
Native C compiler: cc (gcc 6.5.0 "cc (Ubuntu 6.5.0-2ubuntu1~18.04) 6.5.0 20181026")
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/build/meson-private/sanitycheckcpp.cc -o /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/build/meson-private/sanitycheckcpp.exe
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/build/meson-private/sanitycheckcpp.exe
Native C++ compiler: c++ (gcc 6.5.0 "c++ (Ubuntu 6.5.0-2ubuntu1~18.04) 6.5.0 20181026")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Running compile:
Working directory:  /tmp/tmps9wfenhn
Command line:  cc /tmp/tmps9wfenhn/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmps9wfenhn/output.obj -O0 -std=c11 

Code:

        #include <stdatomic.h>
Compiler stdout:

Compiler stderr:

Check usable header "stdatomic.h": YES
Configuring version.h using configuration
Running compile:
Working directory:  /tmp/tmpecg4m_zv
Command line:  cc /tmp/tmpecg4m_zv/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpecg4m_zv/output.obj -O0 

Code:
 #ifdef __cplusplus
        extern "C" {
        #endif
        void meson_uscore_prefix () {}
        #ifdef __cplusplus
        }
        #endif

Compiler stdout:

Compiler stderr:

Program nasm found: YES (/home/regina/bin/nasm)
Running command: /home/regina/bin/nasm -v
--- stdout ---
NASM version 2.15.05 compiled on Mar 29 2021

--- stderr ---

Configuring config.asm using configuration
Program xxd found: YES (/usr/bin/xxd)
Configuring config.h using configuration
Dependency threads found: YES
Running compile:
Working directory:  /tmp/tmpih9grg3f
Command line:  cc /tmp/tmpih9grg3f/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpih9grg3f/output.exe -O0 -Wl,--start-group -lm -Wl,--end-group 

Code:
 int main(int argc, char **argv) { return 0; }
Compiler stdout:

Compiler stderr:

Library m found: YES
Running compile:
Working directory:  /tmp/tmpliszwup9
Command line:  cc /tmp/tmpliszwup9/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpliszwup9/output.exe -O0 -std=c11 

Code:

        #define strsep meson_disable_define_of_strsep

        #include <limits.h>
        #undef strsep

        #ifdef __cplusplus
        extern "C"
        #endif
        char strsep ();

        #if defined __stub_strsep || defined __stub___strsep
        fail fail fail this function is not going to work
        #endif

        int main () {
          return strsep ();
        }
Compiler stdout:

Compiler stderr:

Checking for function "strsep": YES
Program doxygen found: YES (/usr/bin/doxygen)
Configuring Doxyfile using configuration
Adding test "test_picture".
Adding test "test_feature_collector".
Adding test "test_thread_pool".
Adding test "test_model".
Adding test "test_predict".
Adding test "test_feature_extractor".
Adding test "test_dict".
Adding test "test_cpu".
Adding test "test_ref".
Adding test "test_feature".
Build targets in project: 25
Found ninja-1.8.2 at /usr/bin/ninja
reginalluna commented 3 years ago

@1480c1 Hi, do you mind taking a look at this issue? Thank you.

1480c1 commented 3 years ago

What commands did you run other than ninja?

reginalluna commented 3 years ago

What commands did you run other than ninja?

I tried to run ninja and ninja -vC build.

1480c1 commented 3 years ago

You should have run meson beforehand as that is what generates the file that ninja needs, remove the build directory and run

meson build --buildtype release
ninja -C build
reginalluna commented 3 years ago

You should have run meson beforehand as that is what generates the file that ninja needs, remove the build directory and run

meson build --buildtype release
ninja -C build

yes, I did meson build --buildtype release before running ninja;

when I ran ninja -C build; and the program stopped here:

[5/18] Generating vcs_version.h with a custom command.
ninja: build stopped: subcommand failed.

. So, I don't know how to fix this.

1480c1 commented 3 years ago

Try removing build and run

meson build --buildtype release -Denable_tests=false
ninja -C build

instead

reginalluna commented 3 years ago

Try removing build and run

meson build --buildtype release -Denable_tests=false
ninja -C build

instead

Thank you. But, it still doesn't work. Here's what I got. T T

ninja: Entering directory `build'
[14/66] Compiling C object 'src/src@@l...re@sta/feature_feature_extractor.c.o'.
../src/feature/feature_extractor.c: In function ‘get_fex_list_entry’:
../src/feature/feature_extractor.c:288:9: warning: unused variable ‘err’ [-Wunused-variable]
     int err = vmaf_dictionary_copy(&opts_dict, &entry.opts_dict);
         ^~~
[15/66] Compiling C object 'src/src@@x...avx2@sta/feature_x86_motion_avx2.c.o'.
In file included from ../src/feature/x86/motion_avx2.c:23:0:
../src/feature/integer_motion.h: In function ‘edge_16’:
../src/feature/integer_motion.h:36:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (unsigned k = 0; k < filter_width; ++k) {
                            ^
../src/feature/integer_motion.h:37:36: warning: signed and unsigned type in conditional expression [-Wsign-compare]
         int i_tap = horizontal ? i : i - radius + k;
                                    ^
../src/feature/integer_motion.h:38:49: warning: signed and unsigned type in conditional expression [-Wsign-compare]
         int j_tap = horizontal ? j - radius + k : j;
                                                 ^
../src/feature/x86/motion_avx2.c: In function ‘x_convolution_16_avx2’:
../src/feature/x86/motion_avx2.c:118:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (unsigned k = 0; k < filter_width; ++k) {
                                    ^
../src/feature/x86/motion_avx2.c:35:15: warning: unused variable ‘tmpdst’ [-Wunused-variable]
     uint16_t *tmpdst = dst;
               ^~~~~~
[19/66] Compiling C object 'src/src@@l...re@sta/feature_feature_collector.c.o'.
../src/feature/feature_collector.c: In function ‘vmaf_feature_collector_append_templated’:
../src/feature/feature_collector.c:298:38: warning: passing argument 1 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
                                      ^~~~~~~~~~~~
In file included from ../src/feature/feature_collector.c:26:0:
../src/feature/feature_name.h:24:7: note: expected ‘char *’ but argument is of type ‘const char *’
 char *vmaf_feature_name(char *name, char *key, double val,
       ^~~~~~~~~~~~~~~~~
../src/feature/feature_collector.c:298:52: warning: passing argument 2 of ‘vmaf_feature_name’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     feature_name = vmaf_feature_name(feature_name, key, val, &buf[0],
                                                    ^~~
In file included from ../src/feature/feature_collector.c:26:0:
../src/feature/feature_name.h:24:7: note: expected ‘char *’ but argument is of type ‘const char *’
 char *vmaf_feature_name(char *name, char *key, double val,
       ^~~~~~~~~~~~~~~~~
[30/66] Compiling C object 'src/src@@l...feature@sta/feature_iqa_convolve.c.o'.
../src/feature/iqa/convolve.c: In function ‘KBND_SYMMETRIC’:
../src/feature/iqa/convolve.c:41:74: warning: unused parameter ‘bnd_const’ [-Wunused-parameter]
 float KBND_SYMMETRIC(const float *img, int w, int h, int x, int y, float bnd_const)
                                                                          ^~~~~~~~~
../src/feature/iqa/convolve.c: In function ‘KBND_REPLICATE’:
../src/feature/iqa/convolve.c:50:74: warning: unused parameter ‘bnd_const’ [-Wunused-parameter]
 float KBND_REPLICATE(const float *img, int w, int h, int x, int y, float bnd_const)
                                                                          ^~~~~~~~~
[32/66] Compiling C object 'src/src@@l...ature@sta/feature_integer_motion.c.o'.
In file included from ../src/feature/integer_motion.c:27:0:
../src/feature/integer_motion.h: In function ‘edge_16’:
../src/feature/integer_motion.h:36:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (unsigned k = 0; k < filter_width; ++k) {
                            ^
../src/feature/integer_motion.h:37:36: warning: signed and unsigned type in conditional expression [-Wsign-compare]
         int i_tap = horizontal ? i : i - radius + k;
                                    ^
../src/feature/integer_motion.h:38:49: warning: signed and unsigned type in conditional expression [-Wsign-compare]
         int j_tap = horizontal ? j - radius + k : j;
                                                 ^
../src/feature/integer_motion.c: In function ‘x_convolution_16’:
../src/feature/integer_motion.c:94:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (unsigned k = 0; k < filter_width; ++k) {
                                    ^
../src/feature/integer_motion.c: In function ‘y_convolution_16’:
../src/feature/integer_motion.c:137:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (unsigned k = 0; k < filter_width; ++k) {
                                    ^
../src/feature/integer_motion.c: In function ‘edge_8’:
../src/feature/integer_motion.c:163:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (unsigned k = 0; k < filter_width; ++k) {
                            ^
../src/feature/integer_motion.c: In function ‘y_convolution_8’:
../src/feature/integer_motion.c:203:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (unsigned k = 0; k < filter_width; ++k) {
                                    ^
[34/66] Compiling C object 'src/src@@vmaf@sha/model.c.o'.
../src/model.c: In function ‘vmaf_model_feature_overload’:
../src/model.c:167:35: warning: passing argument 2 of ‘vmaf_dictionary_merge’ from incompatible pointer type [-Wincompatible-pointer-types]
                                   &opts_dict, 0);
                                   ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../src/dict.h:50:17: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 VmafDictionary *vmaf_dictionary_merge(VmafDictionary **dict_a,
                 ^~~~~~~~~~~~~~~~~~~~~
../src/model.c:175:33: warning: passing argument 1 of ‘vmaf_dictionary_free’ from incompatible pointer type [-Wincompatible-pointer-types]
     err |= vmaf_dictionary_free(&opts_dict);
                                 ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../src/dict.h:56:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_free(VmafDictionary **dict);
     ^~~~~~~~~~~~~~~~~~~~
../src/model.c: In function ‘vmaf_model_collection_append’:
../src/model.c:214:16: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         memset(mc->name, 0, name_sz);
                ^~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/model.c:1:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘void *’ but argument is of type ‘const char *’
 __NTH (memset (void *__dest, int __ch, size_t __len))
 ^
../src/model.c:215:17: warning: passing argument 1 of ‘strncpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         strncpy(mc->name, model->name, name_sz - 1);
                 ^~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/model.c:1:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
 ^
../src/model.c: In function ‘vmaf_model_collection_destroy’:
../src/model.c:246:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(model_collection->name);
          ^~~~~~~~~~~~~~~~
In file included from ../src/model.c:2:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/model.c: In function ‘vmaf_model_collection_feature_overload’:
../src/model.c:307:34: warning: passing argument 1 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
                                  ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../src/dict.h:48:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
     ^~~~~~~~~~~~~~~~~~~~
../src/model.c:307:46: warning: passing argument 2 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
         if (vmaf_dictionary_copy(&opts_dict, &d)) goto exit;
                                              ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/model.c:10:
../src/dict.h:48:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
     ^~~~~~~~~~~~~~~~~~~~
[35/66] Compiling C object 'src/src@@vmaf@sha/libvmaf.c.o'.
../src/libvmaf.c: In function ‘vmaf_use_feature’:
../src/libvmaf.c:136:36: warning: passing argument 1 of ‘vmaf_dictionary_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
         err = vmaf_dictionary_copy(&opts_dict, &d);
                                    ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/libvmaf.c:31:
../src/dict.h:48:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_copy(VmafDictionary **src, VmafDictionary **dst);
     ^~~~~~~~~~~~~~~~~~~~
../src/libvmaf.c:138:36: warning: passing argument 1 of ‘vmaf_dictionary_free’ from incompatible pointer type [-Wincompatible-pointer-types]
         err = vmaf_dictionary_free(&opts_dict);
                                    ^
In file included from ../src/feature/feature_extractor.h:26:0,
                 from ../src/libvmaf.c:31:
../src/dict.h:56:5: note: expected ‘VmafDictionary ** {aka struct VmafDictionary **}’ but argument is of type ‘VmafFeatureDictionary ** {aka struct VmafFeatureDictionary **}’
 int vmaf_dictionary_free(VmafDictionary **dict);
     ^~~~~~~~~~~~~~~~~~~~
[37/66] Compiling C object 'src/src@@vmaf@sha/predict.c.o'.
../src/predict.c: In function ‘vmaf_predict_score_at_index’:
../src/predict.c:128:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
             key = model->feature[i].opts_dict->entry[0].key;
                 ^
../src/predict.c: In function ‘vmaf_bootstrap_predict_score_at_index’:
../src/predict.c:269:12: warning: passing argument 1 of ‘memset’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     memset(name, 0, name_sz);
            ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: note: expected ‘void *’ but argument is of type ‘const char *’
 __NTH (memset (void *__dest, int __ch, size_t __len))
 ^
../src/predict.c:271:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_bagging);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c:275:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_stddev);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c:279:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_lo);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c:283:14: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     snprintf(name, name_sz, "%s%s", model_collection->name, suffix_hi);
              ^~~~
In file included from /usr/include/features.h:424:0,
                 from /usr/include/errno.h:25,
                 from ../src/predict.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (snprintf (char *__restrict __s, size_t __n,
 ^
../src/predict.c: In function ‘vmaf_predict_score_at_index’:
../src/predict.c:132:15: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         char *feature_name =
               ^~~~~~~~~~~~
[42/66] Compiling C object 'src/src@@vmaf@sha/dict.c.o'.
../src/dict.c: In function ‘vmaf_dictionary_set’:
../src/dict.c:65:43: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     VmafDictionaryEntry *existing_entry = vmaf_dictionary_get(&d, key, 0);
                                           ^~~~~~~~~~~~~~~~~~~
../src/dict.c:86:14: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         free(existing_entry->val);
              ^~~~~~~~~~~~~~
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c:104:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(val_copy);
          ^~~~~~~~
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c: In function ‘vmaf_dictionary_free’:
../src/dict.c:131:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].key) free(d->entry[i].key);
                                  ^
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
../src/dict.c:132:34: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
        if (d->entry[i].val) free(d->entry[i].val);
                                  ^
In file included from ../src/dict.c:3:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
[43/66] Compiling C object 'src/src@@x86_avx2@sta/feature_x86_vif_avx2.c.o'.
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_8_avx2’:
../src/feature/x86/vif_avx2.c:77:0: warning: ignoring #pragma loop  [-Wunknown-pragmas]
 #pragma loop(ivdep)

../src/feature/x86/vif_avx2.c:100:77: warning: unused variable ‘sg8’ [-Wunused-variable]
                 s25, s26, s27, s28, sg0, sg1, sg2, sg3, sg4, sg5, sg6, sg7, sg8;
                                                                             ^~~
../src/feature/x86/vif_avx2.c:100:32: warning: unused variable ‘s28’ [-Wunused-variable]
                 s25, s26, s27, s28, sg0, sg1, sg2, sg3, sg4, sg5, sg6, sg7, sg8;
                                ^~~
../src/feature/x86/vif_avx2.c:99:53: warning: unused variable ‘s8’ [-Wunused-variable]
             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s20, s21, s22, s23, s24,
                                                     ^~
../src/feature/x86/vif_avx2.c:98:32: warning: unused variable ‘g28’ [-Wunused-variable]
                 g25, g26, g27, g28;
                                ^~~
../src/feature/x86/vif_avx2.c:97:53: warning: unused variable ‘g8’ [-Wunused-variable]
             __m256i g0, g1, g2, g3, g4, g5, g6, g7, g8, g20, g21, g22, g23, g24,
                                                     ^~
../src/feature/x86/vif_avx2.c:83:21: warning: variable ‘accum_ref_lo’ set but not used [-Wunused-but-set-variable]
             __m256i accum_ref_lo, accum_ref_hi, accum_dis_lo, accum_dis_hi,
                     ^~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:710:21: warning: variable ‘refdislo’ set but not used [-Wunused-but-set-variable]
             __m256i refdislo, refdishi, mu2lo, mu2hi, mu1lo, mu1hi;
                     ^~~~~~~~
../src/feature/x86/vif_avx2.c:1108:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check))); // 4
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1110:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 1))); // 8
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1112:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 2))); // 4
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1114:17: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 (__m128 *)(buf.tmp.ref + jj_check + 3))); // 8  //12
                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1121:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 4)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1123:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 5)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1125:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 6)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1127:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 7)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1139:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 8)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1141:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 9)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1143:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 10)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1145:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 11)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1157:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 12)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1159:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 13)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1161:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 14)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1163:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 15)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1175:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 16)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1177:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 17)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1179:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 18)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1181:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 19)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1190:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 20)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1194:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1196:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 1)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1198:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 2)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1200:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 3)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1207:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 4)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1209:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 5)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1211:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 6)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1213:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 7)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1225:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 8)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1227:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 9)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1229:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 10)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1231:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 11)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1243:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 12)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1245:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 13)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1247:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 14)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1249:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 15)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1261:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 16)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1263:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 17)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1265:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 18)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1267:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 19)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1275:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 20)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1279:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1281:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 1)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1283:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 2)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1285:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 3)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1292:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 4)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1294:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 5)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1296:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 6)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1298:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 7)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1310:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 8)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1312:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 9)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1314:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 10)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1316:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 11)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1328:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 12)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1330:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 13)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1332:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 14)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1334:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 15)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1347:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 16)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1349:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 17)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1351:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 18)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1353:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 19)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1362:33: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                 _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check + 20)));
                                 ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:36:13: warning: unused variable ‘f0’ [-Wunused-variable]
     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, fc0, fc1, fc2, fc3, fc4,
             ^~
../src/feature/x86/vif_avx2.c:29:20: warning: unused variable ‘fwidth_v’ [-Wunused-variable]
     const unsigned fwidth_v = 18;
                    ^~~~~~~~
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_16_avx2’:
../src/feature/x86/vif_avx2.c:1427:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 4; j = j + 16) {
                                ^
../src/feature/x86/vif_avx2.c:1452:32: warning: unused variable ‘fcoeff’ [-Wunused-variable]
                 const uint16_t fcoeff = vif_filt[fi];
                                ^~~~~~
../src/feature/x86/vif_avx2.c:1433:21: warning: unused variable ‘mask1’ [-Wunused-variable]
             __m256i mask1 = _mm256_set_epi8(15, 14, 11, 10, 7, 6, 3, 2, 13, 12,
                     ^~~~~
../src/feature/x86/vif_avx2.c:1432:22: warning: unused variable ‘accum_ref_dis’ [-Wunused-variable]
             uint64_t accum_ref_dis = 0;
                      ^~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1431:22: warning: unused variable ‘accum_dis’ [-Wunused-variable]
             uint64_t accum_dis = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1430:22: warning: unused variable ‘accum_ref’ [-Wunused-variable]
             uint64_t accum_ref = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1429:22: warning: unused variable ‘accum_mu2’ [-Wunused-variable]
             uint32_t accum_mu2 = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1428:22: warning: unused variable ‘accum_mu1’ [-Wunused-variable]
             uint32_t accum_mu1 = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1656:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 3; j = j + 8) {
                                ^
../src/feature/x86/vif_avx2.c:1661:0: warning: ignoring #pragma unroll  [-Wunknown-pragmas]
 #pragma unroll(4)

../src/feature/x86/vif_avx2.c:1659:21: warning: unused variable ‘accumdl’ [-Wunused-variable]
             __m256i accumdl, accumrlo, accumdlo, accumrhi, accumdhi;
                     ^~~~~~~
../src/feature/x86/vif_avx2.c:1696:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 3; j = j + 8) {
                                ^
../src/feature/x86/vif_avx2.c:1709:0: warning: ignoring #pragma unroll  [-Wunknown-pragmas]
 #pragma unroll(2)

../src/feature/x86/vif_avx2.c:1710:51: warning: operation on ‘fj’ may be undefined [-Wsequence-point]
             for (unsigned fj = 0; fj < fwidth; fj = ++fj, jj_check = jj + fj) {
                                                ~~~^~~~~~
../src/feature/x86/vif_avx2.c:1713:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check)));
                                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1716:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     _mm_loadu_si128((__m128 *)(buf.tmp.ref + jj_check + 4)));
                                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1720:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check)));
                                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1723:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     _mm_loadu_si128((__m128 *)(buf.tmp.dis + jj_check + 4)));
                                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1727:37: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     _mm_loadu_si128((__m128 *)(buf.tmp.ref_dis + jj_check)));
                                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1731:21: warning: passing argument 1 of ‘_mm_loadu_si128’ from incompatible pointer type [-Wincompatible-pointer-types]
                     (__m128 *)(buf.tmp.ref_dis + jj_check + 4)));
                     ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/xmmintrin.h:1249:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:29,
                 from ../src/feature/x86/vif_avx2.c:20:
/usr/lib/gcc/x86_64-linux-gnu/6/include/emmintrin.h:696:1: note: expected ‘const __vector(2) long long int *’ but argument is of type ‘__vector(4) float *’
 _mm_loadu_si128 (__m128i const *__P)
 ^~~~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1701:22: warning: unused variable ‘accum_ref_dis’ [-Wunused-variable]
             uint64_t accum_ref_dis = 0;
                      ^~~~~~~~~~~~~
../src/feature/x86/vif_avx2.c:1700:22: warning: unused variable ‘accum_dis’ [-Wunused-variable]
             uint64_t accum_dis = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1699:22: warning: unused variable ‘accum_ref’ [-Wunused-variable]
             uint64_t accum_ref = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1698:22: warning: unused variable ‘accum_mu2’ [-Wunused-variable]
             uint32_t accum_mu2 = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c:1697:22: warning: unused variable ‘accum_mu1’ [-Wunused-variable]
             uint32_t accum_mu1 = 0;
                      ^~~~~~~~~
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_rd_8_avx2’:
../src/feature/x86/vif_avx2.c:1850:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 4; j = j + 16) {
                                ^
../src/feature/x86/vif_avx2.c:1857:76: warning: unused variable ‘sg1’ [-Wunused-variable]
             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
                                                                            ^~~
../src/feature/x86/vif_avx2.c:1857:71: warning: unused variable ‘sg0’ [-Wunused-variable]
             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
                                                                       ^~~
../src/feature/x86/vif_avx2.c:1857:66: warning: unused variable ‘s21’ [-Wunused-variable]
             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
                                                                  ^~~
../src/feature/x86/vif_avx2.c:1857:61: warning: unused variable ‘s20’ [-Wunused-variable]
             __m256i s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s20, s21, sg0, sg1;
                                                             ^~~
../src/feature/x86/vif_avx2.c:1856:66: warning: unused variable ‘g21’ [-Wunused-variable]
             __m256i g0, g1, g2, g3, g4, g5, g6, g7, g8, g9, g20, g21;
                                                                  ^~~
../src/feature/x86/vif_avx2.c:1856:61: warning: unused variable ‘g20’ [-Wunused-variable]
             __m256i g0, g1, g2, g3, g4, g5, g6, g7, g8, g9, g20, g21;
                                                             ^~~
../src/feature/x86/vif_avx2.c:2004:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 3; j = j + 8) {
                                ^
../src/feature/x86/vif_avx2.c:2007:21: warning: unused variable ‘accumdl’ [-Wunused-variable]
             __m256i accumdl, accumrlo, accumdlo, accumrhi, accumdhi;
                     ^~~~~~~
../src/feature/x86/vif_avx2.c:1805:45: warning: unused variable ‘f8’ [-Wunused-variable]
     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
                                             ^~
../src/feature/x86/vif_avx2.c:1805:41: warning: unused variable ‘f7’ [-Wunused-variable]
     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
                                         ^~
../src/feature/x86/vif_avx2.c:1805:37: warning: unused variable ‘f6’ [-Wunused-variable]
     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
                                     ^~
../src/feature/x86/vif_avx2.c:1805:33: warning: unused variable ‘f5’ [-Wunused-variable]
     __m256i f0, f1, f2, f3, f4, f5, f6, f7, f8;
                                 ^~
../src/feature/x86/vif_avx2.c:1796:9: warning: unused variable ‘fwidth_x’ [-Wunused-variable]
     int fwidth_x = (fwidth % 2 == 0) ? fwidth : fwidth + 1;
         ^~~~~~~~
../src/feature/x86/vif_avx2.c: In function ‘vif_filter1d_rd_16_avx2’:
../src/feature/x86/vif_avx2.c:2221:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 4; j = j + 16) {
                                ^
../src/feature/x86/vif_avx2.c:2228:32: warning: unused variable ‘fcoeff’ [-Wunused-variable]
                 const uint16_t fcoeff = vif_filt[fi];
                                ^~~~~~
../src/feature/x86/vif_avx2.c:2295:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (unsigned j = 0; j < n << 3; j = j + 8) {
                                ^
../src/feature/x86/vif_avx2.c:2301:29: warning: unused variable ‘dis’ [-Wunused-variable]
             const uint16_t *dis = (uint16_t *)buf.dis;
                             ^~~
../src/feature/x86/vif_avx2.c:2300:29: warning: unused variable ‘ref’ [-Wunused-variable]
             const uint16_t *ref = (uint16_t *)buf.tmp.ref_convol;
                             ^~~
../src/feature/x86/vif_avx2.c:2298:21: warning: unused variable ‘accumdl’ [-Wunused-variable]
             __m256i accumdl, accumrlo, accumdlo, accumrhi, accumdhi;
                     ^~~~~~~
../src/feature/x86/vif_avx2.c:2205:13: warning: unused variable ‘mask2’ [-Wunused-variable]
     __m256i mask2 = _mm256_set_epi32(7, 5, 3, 1, 6, 4, 2, 0);
             ^~~~~
[48/66] Compiling C object 'tools/tools@@vmaf@exe/vidinput.c.o'.
../tools/vidinput.c: In function ‘raw_input_open’:
../tools/vidinput.c:40:15: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
     _vid->vtbl=&YUV_INPUT_VTBL;
               ^
[49/66] Compiling C object 'src/src@@vmaf@sha/read_json_model.c.o'.
../src/read_json_model.c: In function ‘model_collection_parse’:
../src/read_json_model.c:445:21: warning: passing argument 1 of ‘sprintf’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
             sprintf(c.name, "%s_%04d", name, ++i);
                     ^
In file included from /usr/include/features.h:424:0,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
                 from ../include/libvmaf/model.h:22,
                 from ../src/read_json_model.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:31:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
 __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
 ^
../src/read_json_model.c:452:10: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     free(name);
          ^~~~
In file included from ../src/read_json_model.c:25:0:
/usr/include/stdlib.h:563:13: note: expected ‘void *’ but argument is of type ‘const char *’
 extern void free (void *__ptr) __THROW;
             ^~~~
[51/66] Compiling C object 'src/src@@x...a/feature_common_convolution_avx.c.o'.
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_17’:
../src/feature/common/convolution_avx.c:224:100: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                    ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_9’:
../src/feature/common/convolution_avx.c:347:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                   ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_scanline_5’:
../src/feature/common/convolution_avx.c:412:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                   ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_17’:
../src/feature/common/convolution_avx.c:571:100: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                    ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_9’:
../src/feature/common/convolution_avx.c:691:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                   ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_scanline_5’:
../src/feature/common/convolution_avx.c:756:99: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                   ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_17’:
../src/feature/common/convolution_avx.c:997:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                       ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_9’:
../src/feature/common/convolution_avx.c:1137:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_sq_scanline_5’:
../src/feature/common/convolution_avx.c:1211:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_sq_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_17’:
../src/feature/common/convolution_avx.c:1384:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                       ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_9’:
../src/feature/common/convolution_avx.c:1521:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_sq_scanline_5’:
../src/feature/common/convolution_avx.c:1595:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_sq_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src, float * RESTRICT dst, int src_stride, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_17’:
../src/feature/common/convolution_avx.c:1850:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
                                                                                                       ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_9’:
../src/feature/common/convolution_avx.c:2007:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_h_xy_scanline_5’:
../src/feature/common/convolution_avx.c:2090:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_h_xy_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_17’:
../src/feature/common/convolution_avx.c:2278:103: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_17(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
                                                                                                       ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_9’:
../src/feature/common/convolution_avx.c:2433:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_9(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
                                                                                                      ^~~~~~~~~~~~
../src/feature/common/convolution_avx.c: In function ‘convolution_f32_avx_s_1d_v_xy_scanline_5’:
../src/feature/common/convolution_avx.c:2517:102: warning: unused parameter ‘filter_width’ [-Wunused-parameter]
 FORCE_INLINE inline void convolution_f32_avx_s_1d_v_xy_scanline_5(const float * RESTRICT filter, int filter_width, const float * RESTRICT src1, const float * RESTRICT src2, float * RESTRICT dst, int src1_stride, int src2_stride, int j_end)
                                                                                                      ^~~~~~~~~~~~
[58/66] Compiling C++ object 'tools/tools@@vmafossexec@exe/main.cpp.o'.
../tools/main.cpp: In function ‘int run_wrapper(char*, int, int, char*, char*, char*, char*, char*, bool, bool, bool, bool, bool, bool, bool, char*, int, int, bool)’:
../tools/main.cpp:195:11: warning: ‘int compute_vmaf(double*, char*, int, int, int (*)(float*, float*, float*, int, void*), void*, char*, char*, char*, int, int, int, int, int, int, int, char*, int, int, int)’ is deprecated [-Wdeprecated-declarations]
     ret = compute_vmaf(&score, fmt, width, height, read_frame, s, model_path, log_path, log_fmt,
           ^~~~~~~~~~~~
In file included from ../include/libvmaf/libvmaf.h:25:0,
                 from ../tools/main.cpp:30:
../include/libvmaf/compute_vmaf.h:66:5: note: declared here
 int compute_vmaf(double* vmaf_score, char* fmt, int width, int height, int (*read_frame)(float *ref_data, float *main_data, float *temp_data, int stride_byte, void *user_data),
     ^~~~~~~~~~~~
../tools/main.cpp:197:92: warning: ‘int compute_vmaf(double*, char*, int, int, int (*)(float*, float*, float*, int, void*), void*, char*, char*, char*, int, int, int, int, int, int, int, char*, int, int, int)’ is deprecated [-Wdeprecated-declarations]
                        do_ms_ssim, pool_method, n_thread, n_subsample, enable_conf_interval);
                                                                                            ^
In file included from ../include/libvmaf/libvmaf.h:25:0,
                 from ../tools/main.cpp:30:
../include/libvmaf/compute_vmaf.h:66:5: note: declared here
 int compute_vmaf(double* vmaf_score, char* fmt, int width, int height, int (*read_frame)(float *ref_data, float *main_data, float *temp_data, int stride_byte, void *user_data),
     ^~~~~~~~~~~~
[64/66] Linking target tools/vmafossexec.
FAILED: tools/vmafossexec 
c++  -o tools/vmafossexec 'tools/tools@@vmafossexec@exe/main.cpp.o' 'tools/tools@@vmafossexec@exe/read_frame.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -Wl,--start-group src/libvmaf.a -lm -Wl,--end-group  
src/libvmaf.a(x86_cpu.c.o): In function `vmaf_get_cpu_flags_x86':
cpu.c:(.text+0x3d): undefined reference to `vmaf_cpu_cpuid'
cpu.c:(.text+0x7b): undefined reference to `vmaf_cpu_cpuid'
cpu.c:(.text+0xb2): undefined reference to `vmaf_cpu_xgetbv'
cpu.c:(.text+0xdc): undefined reference to `vmaf_cpu_cpuid'
src/libvmaf.a(thread_pool.c.o): In function `vmaf_thread_pool_create':
thread_pool.c:(.text+0x1cf): undefined reference to `pthread_create'
thread_pool.c:(.text+0x1d8): undefined reference to `pthread_detach'
collect2: error: ld returned 1 exit status
[65/66] Linking target src/libvmaf.so.1.1.1.
FAILED: src/libvmaf.so.1.1.1 
c++  -o src/libvmaf.so.1.1.1 'src/src@@vmaf@sha/meson-generated_.._vmaf_v0.6.1.json.c.o' 'src/src@@vmaf@sha/meson-generated_.._vmaf_b_v0.6.3.json.c.o' 'src/src@@vmaf@sha/meson-generated_.._vmaf_v0.6.1neg.json.c.o' 'src/src@@vmaf@sha/meson-generated_.._vmaf_4k_v0.6.1.json.c.o' 'src/src@@vmaf@sha/libvmaf.c.o' 'src/src@@vmaf@sha/compute_vmaf.c.o' 'src/src@@vmaf@sha/predict.c.o' 'src/src@@vmaf@sha/model.c.o' 'src/src@@vmaf@sha/svm.cpp.o' 'src/src@@vmaf@sha/picture.c.o' 'src/src@@vmaf@sha/mem.c.o' 'src/src@@vmaf@sha/output.c.o' 'src/src@@vmaf@sha/fex_ctx_vector.c.o' 'src/src@@vmaf@sha/thread_pool.c.o' 'src/src@@vmaf@sha/dict.c.o' 'src/src@@vmaf@sha/opt.c.o' 'src/src@@vmaf@sha/ref.c.o' 'src/src@@vmaf@sha/read_json_model.c.o' 'src/src@@vmaf@sha/pdjson.c.o' 'src/src@@vmaf@sha/log.c.o' 'src/src@@x86_avx2@sta/feature_common_convolution_avx.c.o' 'src/src@@x86_avx2@sta/feature_x86_motion_avx2.c.o' 'src/src@@x86_avx2@sta/feature_x86_vif_avx2.c.o' 'src/src@@x86_avx2@sta/feature_x86_adm_avx2.c.o' 'src/src@@libvmaf_feature@sta/feature_picture_copy.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_psnr.c.o' 'src/src@@libvmaf_feature@sta/feature_third_party_xiph_psnr_hvs.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_extractor.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_name.c.o' 'src/src@@libvmaf_feature@sta/feature_alias.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_adm.c.o' 'src/src@@libvmaf_feature@sta/feature_feature_collector.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_motion.c.o' 'src/src@@libvmaf_feature@sta/feature_integer_vif.c.o' 'src/src@@libvmaf_feature@sta/feature_ciede.c.o' 'src/src@@libvmaf_feature@sta/feature_common_alignment.c.o' 'src/src@@libvmaf_feature@sta/feature_float_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_float_ms_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_ms_ssim.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_decimate.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_ssim_tools.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_math_utils.c.o' 'src/src@@libvmaf_feature@sta/feature_iqa_convolve.c.o' 'src/src@@libvmaf_cpu@sta/cpu.c.o' 'src/src@@libvmaf_cpu@sta/x86_cpu.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libvmaf.so.1 -pthread -lm -Wl,--end-group  
src/src@@libvmaf_cpu@sta/x86_cpu.c.o: In function `vmaf_get_cpu_flags_x86':
cpu.c:(.text+0x3d): undefined reference to `vmaf_cpu_cpuid'
cpu.c:(.text+0x7b): undefined reference to `vmaf_cpu_cpuid'
cpu.c:(.text+0xb2): undefined reference to `vmaf_cpu_xgetbv'
cpu.c:(.text+0xdc): undefined reference to `vmaf_cpu_cpuid'
collect2: error: ld returned 1 exit status
[66/66] Linking target tools/vmaf.
FAILED: tools/vmaf 
c++  -o tools/vmaf 'tools/tools@@vmaf@exe/vmaf.c.o' 'tools/tools@@vmaf@exe/cli_parse.c.o' 'tools/tools@@vmaf@exe/y4m_input.c.o' 'tools/tools@@vmaf@exe/vidinput.c.o' 'tools/tools@@vmaf@exe/yuv_input.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -Wl,--start-group src/libvmaf.a -lm -Wl,--end-group  
src/libvmaf.a(thread_pool.c.o): In function `vmaf_thread_pool_create':
thread_pool.c:(.text+0x1cf): undefined reference to `pthread_create'
thread_pool.c:(.text+0x1d8): undefined reference to `pthread_detach'
src/libvmaf.a(x86_cpu.c.o): In function `vmaf_get_cpu_flags_x86':
cpu.c:(.text+0x3d): undefined reference to `vmaf_cpu_cpuid'
cpu.c:(.text+0x7b): undefined reference to `vmaf_cpu_cpuid'
cpu.c:(.text+0xb2): undefined reference to `vmaf_cpu_xgetbv'
cpu.c:(.text+0xdc): undefined reference to `vmaf_cpu_cpuid'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
1480c1 commented 3 years ago

@kylophone I see cpuid.asm being compiled in there, but since it seems it doesn't want to link it, maybe something is wrong with that version of meson

@reginalluna run

meson build --buildtype release -Denable_asm=false -Denable_tests=false
ninja -C build

this time

reginalluna commented 3 years ago

@kylophone I see cpuid.asm being compiled in there, but since it seems it doesn't want to link it, maybe something is wrong with that version of meson

@reginalluna run

meson build --buildtype release -Denable_asm=false -Denable_tests=false
ninja -C build

this time

Thank you again. I used meson=0.45.0 yesterday, and it didn't work so I upgraded it to meson=0.47.0 and the meson build works on this version.

It still has the issue, I got this this time:

[58/59] Linking target tools/vmafossexec.
FAILED: tools/vmafossexec 
c++  -o tools/vmafossexec 'tools/tools@@vmafossexec@exe/main.cpp.o' 'tools/tools@@vmafossexec@exe/read_frame.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -Wl,--start-group src/libvmaf.a -lm -Wl,--end-group  
src/libvmaf.a(thread_pool.c.o): In function `vmaf_thread_pool_create':
thread_pool.c:(.text+0x1cf): undefined reference to `pthread_create'
thread_pool.c:(.text+0x1d8): undefined reference to `pthread_detach'
collect2: error: ld returned 1 exit status
[59/59] Linking target tools/vmaf.
FAILED: tools/vmaf 
c++  -o tools/vmaf 'tools/tools@@vmaf@exe/vmaf.c.o' 'tools/tools@@vmaf@exe/cli_parse.c.o' 'tools/tools@@vmaf@exe/y4m_input.c.o' 'tools/tools@@vmaf@exe/vidinput.c.o' 'tools/tools@@vmaf@exe/yuv_input.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -Wl,--start-group src/libvmaf.a -lm -Wl,--end-group  
src/libvmaf.a(thread_pool.c.o): In function `vmaf_thread_pool_create':
thread_pool.c:(.text+0x1cf): undefined reference to `pthread_create'
thread_pool.c:(.text+0x1d8): undefined reference to `pthread_detach'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
1480c1 commented 3 years ago

Make sure you have the libc6-dev package installed

reginalluna commented 3 years ago

Make sure you have the libc6-dev package installed

Yes, I just double-checked. I have the libc6-dev package installed.

libc6-dev is already the newest version (2.27-3ubuntu1.4)
reginalluna commented 3 years ago

Make sure you have the libc6-dev package installed

I fixed the issue using

CXXFLAGS=-pthread  meson build --buildtype release -Denable_asm=false -Denable_tests=false

ninja -C build

sudo ninja -C build install

Solution for the issue (https://sourceforge.net/p/meson/wiki/Quick%20guide/?version=1)

thread_pool.c:(.text+0x1cf): undefined reference to `pthread_create'
thread_pool.c:(.text+0x1d8): undefined reference to `pthread_detach'
reginalluna commented 3 years ago

@1480c1 Hi, just want to make sure that I really fixed the issue. After running the commands I listed above, then I got the result which I pasted below. Does it mean that I got the installation of libvmaf successful?

ninja: Entering directory `build'
[1/2] Installing files.
Installing src/libvmaf.so.1.1.1 to /usr/local/lib/x86_64-linux-gnu
Installing src/libvmaf.a to /usr/local/lib/x86_64-linux-gnu
Installing tools/vmaf to /usr/local/bin
Installing /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/include/libvmaf/libvmaf.h to /usr/local/include/libvmaf
Installing /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/include/libvmaf/compute_vmaf.h to /usr/local/include/libvmaf
Installing /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/include/libvmaf/feature.h to /usr/local/include/libvmaf
Installing /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/include/libvmaf/model.h to /usr/local/include/libvmaf
Installing /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/include/libvmaf/picture.h to /usr/local/include/libvmaf
Installing /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/build/include/libvmaf/version.h to /usr/local/include/libvmaf
Installing /home/regina/ffmpeg_sources/vmaf_netflix_github/vmaf/libvmaf/build/meson-private/libvmaf.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
1480c1 commented 3 years ago

Yes

reginalluna commented 3 years ago

Yes

Thank you so so so so so much!!!!!!