compile bare_metal error with ACL ver.17.09
Hi all,
I'm new to ACL. I cloned the newest ACL ver.17.09 and want to compile with bare_metal, here is my build command :
$ scons Werror=1 -j2 debug=0 neon=1 cppthreads=0 openmp=0 opencl=0 os=bare_metal arch=armv7a
complier version is gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2 downloaded from launchpad
I encountered compile error as below :
./arm_compute/core/Helpers.inl:127:13: error: 'void arm_compute::execute_window_loop(const arm_compute::Window&, L&&, Ts&& ...) [with L = {anonymous}::convolver_1x1<T1, T2, stridex>::convolve(const arm_compute::Window&, unsigned int, unsigned int, const arm_compute::ITensor*, const arm_compute::ITensor*, arm_compute::ITensor*, const arm_compute::PadStrideInfo&) [with T1 = short int; T2 = long int; unsigned int stridex = 2u]::<lambda(const arm_compute::Coordinates&)>; Ts = {arm_compute::Iterator&, arm_compute::Iterator&}]', declared using local type '{anonymous}::convolver_1x1<T1, T2, stridex>::convolve(const arm_compute::Window&, unsigned int, unsigned int, const arm_compute::ITensor*, const arm_compute::ITensor*, arm_compute::ITensor*, const arm_compute::PadStrideInfo&) [with T1 = short int; T2 = long int; unsigned int stridex = 2u]::<lambda(const arm_compute::Coordinates&)>', is used but never defined [-Werror=permissive]
./arm_compute/core/Helpers.inl:127:13: error: 'void arm_compute::execute_window_loop(const arm_compute::Window&, L&&, Ts&& ...) [with L = {anonymous}::convolver_1x1<T1, T2, stridex>::convolve(const arm_compute::Window&, unsigned int, unsigned int, const arm_compute::ITensor*, const arm_compute::ITensor*, arm_compute::ITensor*, const arm_compute::PadStrideInfo&) [with T1 = short int; T2 = long int; unsigned int stridex = 3u]::<lambda(const arm_compute::Coordinates&)>; Ts = {arm_compute::Iterator&, arm_compute::Iterator&}]', declared using local type '{anonymous}::convolver_1x1<T1, T2, stridex>::convolve(const arm_compute::Window&, unsigned int, unsigned int, const arm_compute::ITensor*, const arm_compute::ITensor*, arm_compute::ITensor*, const arm_compute::PadStrideInfo&) [with T1 = short int; T2 = long int; unsigned int stridex = 3u]::<lambda(const arm_compute::Coordinates&)>', is used but never defined [-Werror=permissive]
cc1plus: all warnings being treated as errors
scons: *** [build/src/core/NEON/kernels/NEDirectConvolutionLayerKernel.o] Error 1
scons: building terminated because of errors.
Could someone kindly guide me how to solve the compile issue? Thanks in advance.
Regards, MSTFC
There is currently a bug when building for bare metal with armv7a. It's going to be fixed in the maintenance release.
Understood. Looking forward seeing the release soon.
The problem should be fixed. Reopen if needed.