ARM-software / ComputeLibrary

The Compute Library is a set of computer vision and machine learning functions optimised for both Arm CPUs and GPUs using SIMD technologies.
2.87k stars 782 forks source link

Compile errors for accessing members on native aarch64 (v22.02 - master) #961

Closed cbalint13 closed 2 years ago

cbalint13 commented 2 years ago

Latest master gives following errors about accessing members on aarch64 target:

/usr/bin/ld: build/src/core/NEON/kernels/arm_conv/depthwise/depthwise_u8s8u8q.os: in function `bool arm_conv::depthwise::(anonymous namespace)::strategy_requires_unravelled_bias_and_quant_params<arm_conv::depthwise::a64_u8s8u8q_nhwc_5x5_s1_output2x2_mla_depthfirst>()':
/builddir/build/BUILD/arm-compute-library/src/core/NEON/kernels/arm_conv/depthwise/depthwise_depthfirst_quantized.hpp:103: undefined reference to `arm_conv::depthwise::a64_u8s8u8q_nhwc_5x5_s1_output2x2_mla_depthfirst::pack_parameters'
/usr/bin/ld: /builddir/build/BUILD/arm-compute-library/src/core/NEON/kernels/arm_conv/depthwise/depthwise_depthfirst_quantized.hpp:103: undefined reference to `arm_conv::depthwise::a64_u8s8u8q_nhwc_5x5_s1_output2x2_mla_depthfirst::pack_parameters'
/usr/bin/ld: build/src/core/NEON/kernels/arm_conv/depthwise/depthwise_u8s8u8q.os: in function `bool arm_conv::depthwise::(anonymous namespace)::strategy_requires_unravelled_bias_and_quant_params<arm_conv::depthwise::a64_u8s8u8q_nhwc_3x3_s2_output2x2_mla_depthfirst>()':
/builddir/build/BUILD/arm-compute-library/src/core/NEON/kernels/arm_conv/depthwise/depthwise_depthfirst_quantized.hpp:103: undefined reference to `arm_conv::depthwise::a64_u8s8u8q_nhwc_3x3_s2_output2x2_mla_depthfirst::pack_parameters'
/usr/bin/ld: /builddir/build/BUILD/arm-compute-library/src/core/NEON/kernels/arm_conv/depthwise/depthwise_depthfirst_quantized.hpp:103: undefined reference to 

For full details see: builder-live.log.gz

For same conditions previous builds are fine: https://copr.fedorainfracloud.org/coprs/rezso/ML/package/arm-compute-library

There is a small fix as #962 for x86_64 but this very issue still persists on aarch64 natives.

morgolock commented 2 years ago

Hi @cbalint13

Could you please provide more details about the toolchain you are using and the command you used to compile the library?

Make sure you use main branch instead of master for 22.05 and any future releases:

Starting from this release (22.05), 'master' branch will no longer be used, it has been replaced by 'main'. Please update your clone jobs accordingly.

Hope this helps.

cbalint13 commented 2 years ago

Hi @cbalint13

Could you please provide more details about the toolchain you are using and the command you used to compile the library?

Make sure you use main branch instead of master for 22.05 and any future releases:

Starting from this release (22.05), 'master' branch will no longer be used, it has been replaced by 'main'. Please update your clone jobs accordingly.

Hope this helps.