- Notifications
You must be signed in to change notification settings - Fork405
Open
Description
I'm seeing these warnings(error actually on some compiler variants) using a gcc based aarch64 toolchain with cmake:
/home/buildroot/buildroot/output/build/xnnpack-d7f398ee5e135ef4f7045802eea973cc6cb26c6c/src/u8-vclamp/u8-vclamp-neon-u64.c:Infunction ‘xnn_u8_vclamp_ukernel__neon_u64’:/home/buildroot/buildroot/output/build/xnnpack-d7f398ee5e135ef4f7045802eea973cc6cb26c6c/src/u8-vclamp/u8-vclamp-neon-u64.c:24:47:warning:passingargument1of ‘vld1q_dup_u8’fromincompatiblepointertype [-Wincompatible-pointer-types]constuint8x16_tvoutput_max=vld1q_dup_u8(¶ms->scalar.max); ^Infileincludedfrom /home/buildroot/buildroot/output/build/xnnpack-d7f398ee5e135ef4f7045802eea973cc6cb26c6c/src/u8-vclamp/u8-vclamp-neon-u64.c:8:0:/home/buildroot/buildroot/output/per-package/xnnpack/host/opt/ext-toolchain/lib/gcc/aarch64-linux-gnu/7.3.1/include/arm_neon.h:17429:1:note:expected ‘constuint8_t* {akaconstunsignedchar*}’butargumentisoftype ‘constuint32_t* {akaconstunsignedint*}’vld1q_dup_u8 (constuint8_t*__a) ^~~~~~~~~~~~/home/buildroot/buildroot/output/build/xnnpack-d7f398ee5e135ef4f7045802eea973cc6cb26c6c/src/u8-vclamp/u8-vclamp-neon-u64.c:25:47:warning:passingargument1of ‘vld1q_dup_u8’fromincompatiblepointertype [-Wincompatible-pointer-types]constuint8x16_tvoutput_min=vld1q_dup_u8(¶ms->scalar.min); ^Infileincludedfrom /home/buildroot/buildroot/output/build/xnnpack-d7f398ee5e135ef4f7045802eea973cc6cb26c6c/src/u8-vclamp/u8-vclamp-neon-u64.c:8:0:/home/buildroot/buildroot/output/per-package/xnnpack/host/opt/ext-toolchain/lib/gcc/aarch64-linux-gnu/7.3.1/include/arm_neon.h:17429:1:note:expected ‘constuint8_t* {akaconstunsignedchar*}’butargumentisoftype ‘constuint32_t* {akaconstunsignedint*}’vld1q_dup_u8 (constuint8_t*__a) ^~~~~~~~~~~~/home/buildroot/buildroot/output/build/xnnpack-d7f398ee5e135ef4f7045802eea973cc6cb26c6c/src/u8-maxpool/u8-maxpool-9p8x-minmax-neon-c16.c:Infunction ‘xnn_u8_maxpool_minmax_ukernel_9p8x__neon_c16’:/home/buildroot/buildroot/output/build/xnnpack-d7f398ee5e135ef4f7045802eea973cc6cb26c6c/src/u8-maxpool/u8-maxpool-9p8x-minmax-neon-c16.c:31:47:warning:passingargument1of ‘vld1q_dup_u8’fromincompatiblepointertype [-Wincompatible-pointer-types]constuint8x16_tvoutput_max=vld1q_dup_u8(¶ms->scalar.max); ^Infileincludedfrom /home/buildroot/buildroot/output/build/xnnpack-d7f398ee5e135ef4f7045802eea973cc6cb26c6c/src/u8-maxpool/u8-maxpool-9p8x-minmax-neon-c16.c:11:0:/home/buildroot/buildroot/output/per-package/xnnpack/host/opt/ext-toolchain/lib/gcc/aarch64-linux-gnu/7.3.1/include/arm_neon.h:17429:1:note:expected ‘constuint8_t* {akaconstunsignedchar*}’butargumentisoftype ‘constuint32_t* {akaconstunsignedint*}’vld1q_dup_u8 (constuint8_t*__a) ^~~~~~~~~~~~/home/buildroot/buildroot/output/build/xnnpack-d7f398ee5e135ef4f7045802eea973cc6cb26c6c/src/u8-maxpool/u8-maxpool-9p8x-minmax-neon-c16.c:32:47:warning:passingargument1of ‘vld1q_dup_u8’fromincompatiblepointertype [-Wincompatible-pointer-types]constuint8x16_tvoutput_min=vld1q_dup_u8(¶ms->scalar.min); ^Infileincludedfrom /home/buildroot/buildroot/output/build/xnnpack-d7f398ee5e135ef4f7045802eea973cc6cb26c6c/src/u8-maxpool/u8-maxpool-9p8x-minmax-neon-c16.c:11:0:/home/buildroot/buildroot/output/per-package/xnnpack/host/opt/ext-toolchain/lib/gcc/aarch64-linux-gnu/7.3.1/include/arm_neon.h:17429:1:note:expected ‘constuint8_t* {akaconstunsignedchar*}’butargumentisoftype ‘constuint32_t* {akaconstunsignedint*}’vld1q_dup_u8 (constuint8_t*__a) ^~~~~~~~~~~~
Metadata
Metadata
Assignees
Labels
No labels