cisco / thor

Thor Video Codec
BSD 2-Clause "Simplified" License
697 stars 101 forks source link

Compilation fails on ARM with gcc 4.6.1 #5

Open tmatth opened 9 years ago

tmatth commented 9 years ago

Compilation errors on OMAP4 Panda board w/ ARMv7 Processor rev 2 (v7l):

common/common_kernels.c: In function ‘get_inter_prediction_luma_inner’:
common/common_kernels.c:197:7: error: incompatible type for argument 1 of ‘v128_unpacklo_u8_s16’
common/simd/v128_intrinsics.h:129:18: note: expected ‘v128’ but argument is of type ‘v64’
common/common_kernels.c:198:7: error: incompatible type for argument 1 of ‘v128_unpacklo_u8_s16’
common/simd/v128_intrinsics.h:129:18: note: expected ‘v128’ but argument is of type ‘v64’
common/common_kernels.c:199:7: error: incompatible type for argument 1 of ‘v128_unpacklo_u8_s16’
common/simd/v128_intrinsics.h:129:18: note: expected ‘v128’ but argument is of type ‘v64’
common/common_kernels.c:201:7: error: incompatible type for argument 1 of ‘v128_unpacklo_u8_s16’
common/simd/v128_intrinsics.h:129:18: note: expected ‘v128’ but argument is of type ‘v64’
common/common_kernels.c:202:7: error: incompatible type for argument 1 of ‘v128_unpacklo_u8_s16’
common/simd/v128_intrinsics.h:129:18: note: expected ‘v128’ but argument is of type ‘v64’
common/common_kernels.c:203:7: error: incompatible type for argument 1 of ‘v128_unpacklo_u8_s16’
common/simd/v128_intrinsics.h:129:18: note: expected ‘v128’ but argument is of type ‘v64’
common/common_kernels.c: In function ‘get_inter_prediction_luma_centre’:
common/common_kernels.c:337:7: error: incompatible type for argument 2 of ‘v64_add_16’
common/simd/v64_intrinsics.h:72:17: note: expected ‘v64’ but argument is of type ‘v128’
make: *** [common/common_kernels.o] Error 1

Can also be reproduced with gcc 4.6.3