MNN icon indicating copy to clipboard operation
MNN copied to clipboard

Building failed for Raspi OS Bookworm 32 bit

Open tarush-001 opened this issue 1 year ago • 5 comments

平台(如果交叉编译请再附上交叉编译目标平台):

Platform(Include target platform as well if cross-compiling): Raspberry pi OS 32 bit(bookworm)

Github版本:

Github Version:

直接下载ZIP包请提供下载日期以及压缩包注释里的git版本(可通过7z l zip包路径命令并在输出信息中搜索Comment 获得,形如Comment = bc80b11110cd440aacdabbf59658d630527a7f2b)。 git clone请提供 git commit 第一行的commit id

Provide date (or better yet, git revision from the comment section of the zip. Obtainable using 7z l PATH/TO/ZIP and search for Comment in the output) if downloading source as zip,otherwise provide the first commit id from the output of git commit

编译方式:

Compiling Method

请在这里粘贴cmake参数或使用的cmake脚本路径以及完整输出
Paste cmake arguments or path of the build script used here as well as the full log of the cmake proess here or pastebin
`cmake ..
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Use Threadpool, forbid openmp
-- >>>>>>>>>>>>>
-- MNN BUILD INFO:
-- 	System: Linux
-- 	Processor: aarch64
-- 	Version: 2.8.1
-- 	Metal: OFF
-- 	OpenCL: OFF
-- 	OpenGL: OFF
-- 	Vulkan: OFF
-- 	ARM82: OFF
-- 	oneDNN: OFF
-- 	TensorRT: OFF
-- 	CoreML: OFF
-- 	NNAPI: OFF
-- 	CUDA: OFF
-- 	OpenMP: OFF
-- 	BF16: 
-- 	ThreadPool: ON
-- 	Hidden: TRUE
-- 	Build Path: /home/pi/MNN/build
-- 	CUDA PROFILE: OFF
-- WIN_USE_ASM: 
-- Enabling AArch64 Assemblies
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/MNN/build
``

# 编译日志:
# Build Log:
make -j8
[  0%] Building CXX object CMakeFiles/MNNUtils.dir/source/utils/InitNet.cpp.o
[  1%] Building CXX object CMakeFiles/MNNCV.dir/source/cv/ImageProcess.cpp.o
[  1%] Building CXX object CMakeFiles/MNNMath.dir/source/math/Matrix.cpp.o
[  1%] Building CXX object CMakeFiles/MNNCore.dir/source/core/AutoTime.cpp.o
[  1%] Building CXX object CMakeFiles/checkDir.out.dir/tools/cpp/checkDir.cpp.o
[  1%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/ConvertUtils.cpp.o
[  1%] Building CXX object CMakeFiles/MNNCPU.dir/source/backend/cpu/CPUArgMax.cpp.o
[  1%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S.o
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S: Assembler messages:
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:22: Error: ARM register expected -- `mov x12,#4'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:23: Error: ARM register expected -- `mul x2,x12,x2'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:24: Error: ARM register expected -- `mul x3,x12,x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:27: Error: ARM register expected -- `cmp x4,#8'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:31: Error: ARM register expected -- `mov x12,x1'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:32: Error: bad instruction `ld1 {v0.4s},[x0],x2'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:33: Error: bad instruction `ld1 {v1.4s},[x1],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:35: Error: bad instruction `ld1 {v2.4s},[x0],x2'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:36: Error: bad instruction `ld1 {v3.4s},[x1],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:38: Error: bad instruction `fadd v0.4s,v0.4s,v1.4s'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:39: Error: bad instruction `ld1 {v16.4s},[x0],x2'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:40: Error: bad instruction `fadd v2.4s,v2.4s,v3.4s'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:42: Error: bad instruction `st1 {v0.4s},[x12],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:43: Error: bad instruction `st1 {v2.4s},[x12],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:45: Error: bad instruction `ld1 {v17.4s},[x1],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:47: Error: bad instruction `ld1 {v18.4s},[x0],x2'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:49: Error: bad instruction `fadd v16.4s,v16.4s,v17.4s'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:50: Error: bad instruction `ld1 {v19.4s},[x1],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:51: Error: bad instruction `fadd v18.4s,v18.4s,v19.4s'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:53: Error: bad instruction `ld1 {v0.4s},[x0],x2'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:54: Error: bad instruction `st1 {v16.4s},[x12],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:55: Error: bad instruction `st1 {v18.4s},[x12],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:57: Error: bad instruction `ld1 {v1.4s},[x1],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:59: Error: bad instruction `ld1 {v2.4s},[x0],x2'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:60: Error: bad instruction `ld1 {v3.4s},[x1],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:62: Error: bad instruction `fadd v0.4s,v0.4s,v1.4s'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:63: Error: bad instruction `fadd v2.4s,v2.4s,v3.4s'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:65: Error: bad instruction `st1 {v0.4s},[x12],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:66: Error: bad instruction `st1 {v2.4s},[x12],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:68: Error: bad instruction `ld1 {v16.4s},[x0],x2'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:69: Error: bad instruction `ld1 {v17.4s},[x1],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:71: Error: bad instruction `ld1 {v18.4s},[x0],x2'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:72: Error: bad instruction `ld1 {v19.4s},[x1],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:74: Error: bad instruction `fadd v16.4s,v16.4s,v17.4s'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:75: Error: bad instruction `fadd v18.4s,v18.4s,v19.4s'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:77: Error: bad instruction `st1 {v16.4s},[x12],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:78: Error: bad instruction `st1 {v18.4s},[x12],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:80: Error: ARM register expected -- `sub x4,x4,#8'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:81: Error: ARM register expected -- `cmp x4,#8'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:85: Error: ARM register expected -- `cmp x4,#0'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:89: Error: bad instruction `ld1 {v0.4s},[x0],x2'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:90: Error: bad instruction `ld1 {v1.4s},[x1]'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:92: Error: bad instruction `fadd v0.4s,v0.4s,v1.4s'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:93: Error: bad instruction `st1 {v0.4s},[x1],x3'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:95: Error: ARM register expected -- `subs x4,x4,#1'
/home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:100: Error: bad instruction `ret'
make[2]: *** [CMakeFiles/MNNARM64.dir/build.make:75: CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:342: CMakeFiles/MNNARM64.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  2%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryBatchMatMul.cpp.o
[  3%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Backend.cpp.o
[  4%] Linking CXX executable checkDir.out
[  4%] Built target checkDir.out
[  4%] Building CXX object CMakeFiles/MNNUtils.dir/source/utils/JNIHelper.cpp.o
[  4%] Building CXX object CMakeFiles/MNNCore.dir/source/core/BackendRegister.cpp.o
In file included from /home/pi/MNN/source/math/Matrix.cpp:16:
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h: In static member function ‘static void MNN::Math::Matrix::multi(MNN::Tensor*, const MNN::Tensor*, const MNN::Tensor*)’:
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:74:43: note: called from here
   74 |             float32x4_t sum3 = vdupq_n_f32(0.0);
      |                                ~~~~~~~~~~~^~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:73:43: note: called from here
   73 |             float32x4_t sum2 = vdupq_n_f32(0.0);
      |                                ~~~~~~~~~~~^~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:72:43: note: called from here
   72 |             float32x4_t sum1 = vdupq_n_f32(0.0);
      |                                ~~~~~~~~~~~^~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:71:43: note: called from here
   71 |             float32x4_t sum0 = vdupq_n_f32(0.0);
      |                                ~~~~~~~~~~~^~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch
 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:85:45: note: called from here
   85 |                 sum3             = vmlaq_f32(sum3, a0, b3);
      |                                    ~~~~~~~~~^~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch
 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:84:45: note: called from here
   84 |                 sum2             = vmlaq_f32(sum2, a0, b2);
      |                                    ~~~~~~~~~^~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch
 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:83:45: note: called from here
   83 |                 sum1             = vmlaq_f32(sum1, a0, b1);
      |                                    ~~~~~~~~~^~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch
 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:82:45: note: called from here
   82 |                 sum0             = vmlaq_f32(sum0, a0, b0);
      |                                    ~~~~~~~~~^~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:81:45: note: called from here
   81 |                 float32x4_t b3   = vld1q_f32(bLine + 12);
      |                                    ~~~~~~~~~^~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:80:45: note: called from here
   80 |                 float32x4_t b2   = vld1q_f32(bLine + 8);
      |                                    ~~~~~~~~~^~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:79:45: note: called from here
   79 |                 float32x4_t b1   = vld1q_f32(bLine + 4);
      |                                    ~~~~~~~~~^~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:78:45: note: called from here
   78 |                 float32x4_t b0   = vld1q_f32(bLine);
      |                                    ~~~~~~~~~^~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:77:47: note: called from here
   77 |                 float32x4_t a0   = vdupq_n_f32(aLine[i]);
      |                                    ~~~~~~~~~~~^~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch
11024 | vst1q_f32 (float32_t * __a, float32x4_t __b)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:90:22: note: called from here
   90 |             vst1q_f32(cLine + x + 12, sum3);
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch
11024 | vst1q_f32 (float32_t * __a, float32x4_t __b)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:89:22: note: called from here
   89 |             vst1q_f32(cLine + x + 8, sum2);
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch
11024 | vst1q_f32 (float32_t * __a, float32x4_t __b)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:88:22: note: called from here
   88 |             vst1q_f32(cLine + x + 4, sum1);
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch
11024 | vst1q_f32 (float32_t * __a, float32x4_t __b)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:87:22: note: called from here
   87 |             vst1q_f32(cLine + x, sum0);
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:95:42: note: called from here
   95 |             float32x4_t sum = vdupq_n_f32(0.0);
      |                               ~~~~~~~~~~~^~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch
 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:100:45: note: called from here
  100 |                 sum              = vmlaq_f32(sum, a4, b4);
      |                                    ~~~~~~~~~^~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:99:45: note: called from here
   99 |                 float32x4_t b4   = vld1q_f32(bLine);
      |                                    ~~~~~~~~~^~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:98:47: note: called from here
   98 |                 float32x4_t a4   = vdupq_n_f32(aLine[i]);
      |                                    ~~~~~~~~~~~^~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch
11024 | vst1q_f32 (float32_t * __a, float32x4_t __b)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:102:22: note: called from here
  102 |             vst1q_f32(cLine + x, sum);
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:74:43: note: called from here
   74 |             float32x4_t sum3 = vdupq_n_f32(0.0);
      |                                ~~~~~~~~~~~^~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:73:43: note: called from here
   73 |             float32x4_t sum2 = vdupq_n_f32(0.0);
      |                                ~~~~~~~~~~~^~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:72:43: note: called from here
   72 |             float32x4_t sum1 = vdupq_n_f32(0.0);
      |                                ~~~~~~~~~~~^~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:71:43: note: called from here
   71 |             float32x4_t sum0 = vdupq_n_f32(0.0);
      |                                ~~~~~~~~~~~^~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch
 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:85:45: note: called from here
   85 |                 sum3             = vmlaq_f32(sum3, a0, b3);
      |                                    ~~~~~~~~~^~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch
 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:84:45: note: called from here
   84 |                 sum2             = vmlaq_f32(sum2, a0, b2);
      |                                    ~~~~~~~~~^~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch
 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:83:45: note: called from here
   83 |                 sum1             = vmlaq_f32(sum1, a0, b1);
      |                                    ~~~~~~~~~^~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch
 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:82:45: note: called from here
   82 |                 sum0             = vmlaq_f32(sum0, a0, b0);
      |                                    ~~~~~~~~~^~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:81:45: note: called from here
   81 |                 float32x4_t b3   = vld1q_f32(bLine + 12);
      |                                    ~~~~~~~~~^~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:80:45: note: called from here
   80 |                 float32x4_t b2   = vld1q_f32(bLine + 8);
      |                                    ~~~~~~~~~^~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:79:45: note: called from here
   79 |                 float32x4_t b1   = vld1q_f32(bLine + 4);
      |                                    ~~~~~~~~~^~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:78:45: note: called from here
   78 |                 float32x4_t b0   = vld1q_f32(bLine);
      |                                    ~~~~~~~~~^~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:77:47: note: called from here
   77 |                 float32x4_t a0   = vdupq_n_f32(aLine[i]);
      |                                    ~~~~~~~~~~~^~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch
11024 | vst1q_f32 (float32_t * __a, float32x4_t __b)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:90:22: note: called from here
   90 |             vst1q_f32(cLine + x + 12, sum3);
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch
11024 | vst1q_f32 (float32_t * __a, float32x4_t __b)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:89:22: note: called from here
   89 |             vst1q_f32(cLine + x + 8, sum2);
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch
11024 | vst1q_f32 (float32_t * __a, float32x4_t __b)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:88:22: note: called from here
   88 |             vst1q_f32(cLine + x + 4, sum1);
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch
11024 | vst1q_f32 (float32_t * __a, float32x4_t __b)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:87:22: note: called from here
   87 |             vst1q_f32(cLine + x, sum0);
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:95:42: note: called from here
   95 |             float32x4_t sum = vdupq_n_f32(0.0);
      |                               ~~~~~~~~~~~^~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch
 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:100:45: note: called from here
  100 |                 sum              = vmlaq_f32(sum, a4, b4);
      |                                    ~~~~~~~~~^~~~~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:99:45: note: called from here
   99 |                 float32x4_t b4   = vld1q_f32(bLine);
      |                                    ~~~~~~~~~^~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
 6784 | vdupq_n_f32 (float32_t __a)
      | ^~~~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:98:47: note: called from here
   98 |                 float32x4_t a4   = vdupq_n_f32(aLine[i]);
      |                                    ~~~~~~~~~~~^~~~~~~~~~
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch
11024 | vst1q_f32 (float32_t * __a, float32x4_t __b)
      | ^~~~~~~~~
/home/pi/MNN/source/math/Matrix.cpp:102:22: note: called from here
  102 |             vst1q_f32(cLine + x, sum);
      |             ~~~~~~~~~^~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/MNNMath.dir/build.make:76: CMakeFiles/MNNMath.dir/source/math/Matrix.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:238: CMakeFiles/MNNMath.dir/all] Error 2
[  4%] Building CXX object CMakeFiles/MNNCore.dir/source/core/BufferAllocator.cpp.o
[  4%] Building CXX object CMakeFiles/MNNCV.dir/source/cv/Matrix_CV.cpp.o
[  4%] Building CXX object CMakeFiles/MNNCore.dir/source/core/ConvolutionCommon.cpp.o
[  5%] Building CXX object CMakeFiles/MNNCPU.dir/source/backend/cpu/CPUBinary.cpp.o
[  5%] Building CXX object CMakeFiles/MNNCPU.dir/source/backend/cpu/CPUBackend.cpp.o
In file included from /home/pi/MNN/source/cv/SkNx_neon.h:15,
                 from /home/pi/MNN/source/cv/SkNx.h:415,
                 from /home/pi/MNN/source/cv/Matrix_CV.cpp:13:
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h: In static member function ‘static {anonymous}::SkNx<4, float> {anonymous}::SkNx<4, float>::Load(const void*)’:
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/cv/SkNx_neon.h:177:78: note: called from here
  177 |     AI static SkNx Load(const void* ptr) { return vld1q_f32((const float*)ptr); }
      |                                                                              ^
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
10446 | vld1q_f32 (const float32_t * __a)
      | ^~~~~~~~~
/home/pi/MNN/source/cv/SkNx_neon.h:177:78: note: called from here
  177 |     AI static SkNx Load(const void* ptr) { return vld1q_f32((const float*)ptr); }
      |                                                                              ^
make[2]: *** [CMakeFiles/MNNCV.dir/build.make:90: CMakeFiles/MNNCV.dir/source/cv/Matrix_CV.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:212: CMakeFiles/MNNCV.dir/all] Error 2
[  5%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryBinary.cpp.o
[  6%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Execution.cpp.o
[  6%] Building CXX object CMakeFiles/MNNCore.dir/source/core/FileLoader.cpp.o
[  6%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Interpreter.cpp.o
[  6%] Building CXX object CMakeFiles/MNNCore.dir/source/core/MNNMemoryUtils.cpp.o
[  7%] Building CXX object CMakeFiles/MNNCore.dir/source/core/OpCommonUtils.cpp.o
[  7%] Built target MNNUtils
[  7%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Pipeline.cpp.o
In file included from /home/pi/MNN/source/backend/cpu/CPUBinary.cpp:18:
/home/pi/MNN/source/math/Vec.hpp: In static member function ‘static void MNN::Math::Vec<int, 4>::transpose4(VecType&, VecType&, VecType&, VecType&)’:
/home/pi/MNN/source/math/Vec.hpp:298:79: note: use ‘-flax-vector-conversions’ to permit conversions between vectors with differing element types or numbers of subparts
  298 |         vec0.value = reinterpret_cast<int32x4_t>(vsetq_lane_s64(vgetq_lane_s64(m2m3.val[0], 0), vec0.value, 1));
      |                                                                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/pi/MNN/source/math/Vec.hpp:298:90: error: cannot convert ‘int32x4_t’ to ‘int64x2_t’
  298 |         vec0.value = reinterpret_cast<int32x4_t>(vsetq_lane_s64(vgetq_lane_s64(m2m3.val[0], 0), vec0.value, 1));
      |                                                                                ~~~~~~~~~~^
      |                                                                                          |
      |                                                                                          int32x4_t
In file included from /home/pi/MNN/source/math/Vec.hpp:16:
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6350:27: note:   initializing argument 1 of ‘int64_t vgetq_lane_s64(int64x2_t, int)’
 6350 | vgetq_lane_s64 (int64x2_t __a, const int __b)
      |                 ~~~~~~~~~~^~~
/home/pi/MNN/source/math/Vec.hpp:299:90: error: cannot convert ‘int32x4_t’ to ‘int64x2_t’
  299 |         vec1.value = reinterpret_cast<int32x4_t>(vsetq_lane_s64(vgetq_lane_s64(m2m3.val[1], 0), vec1.value, 1));
      |                                                                                ~~~~~~~~~~^
      |                                                                                          |
      |                                                                                          int32x4_t
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6350:27: note:   initializing argument 1 of ‘int64_t vgetq_lane_s64(int64x2_t, int)’
 6350 | vgetq_lane_s64 (int64x2_t __a, const int __b)
      |                 ~~~~~~~~~~^~~
/home/pi/MNN/source/math/Vec.hpp:300:90: error: cannot convert ‘int32x4_t’ to ‘int64x2_t’
  300 |         vec2.value = reinterpret_cast<int32x4_t>(vsetq_lane_s64(vgetq_lane_s64(m0m1.val[0], 1), vec2.value, 0));
      |                                                                                ~~~~~~~~~~^
      |                                                                                          |
      |                                                                                          int32x4_t
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6350:27: note:   initializing argument 1 of ‘int64_t vgetq_lane_s64(int64x2_t, int)’
 6350 | vgetq_lane_s64 (int64x2_t __a, const int __b)
      |                 ~~~~~~~~~~^~~
/home/pi/MNN/source/math/Vec.hpp:301:90: error: cannot convert ‘int32x4_t’ to ‘int64x2_t’
  301 |         vec3.value = reinterpret_cast<int32x4_t>(vsetq_lane_s64(vgetq_lane_s64(m0m1.val[1], 1), vec3.value, 0));
      |                                                                                ~~~~~~~~~~^
      |                                                                                          |
      |                                                                                          int32x4_t
/usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6350:27: note:   initializing argument 1 of ‘int64_t vgetq_lane_s64(int64x2_t, int)’
 6350 | vgetq_lane_s64 (int64x2_t __a, const int __b)
      |                 ~~~~~~~~~~^~~
[  7%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryBroadcastTo.cpp.o
make[2]: *** [CMakeFiles/MNNCPU.dir/build.make:104: CMakeFiles/MNNCPU.dir/source/backend/cpu/CPUBinary.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[  7%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryComputer.cpp.o
[  7%] Building CXX object CMakeFiles/MNNCore.dir/source/core/RuntimeFactory.cpp.o
make[1]: *** [CMakeFiles/Makefile2:316: CMakeFiles/MNNCPU.dir/all] Error 2
[  7%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Schedule.cpp.o
[  8%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Session.cpp.o
[  9%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryComputerUtils.cpp.o
[  9%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConcat.cpp.o
[  9%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Tensor.cpp.o
[  9%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConv2D.cpp.o
[  9%] Building CXX object CMakeFiles/MNNCore.dir/source/core/TensorUtils.cpp.o
[  9%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConv2DBackPropFilter.cpp.o
[ 10%] Building CXX object CMakeFiles/MNNCore.dir/source/core/WrapExecution.cpp.o
[ 11%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConv3D.cpp.o
[ 11%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConvUtils.cpp.o
[ 11%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConvert.cpp.o
[ 12%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryCosineSimilarity.cpp.o
[ 12%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryCrop.cpp.o
[ 12%] Built target MNNCore
[ 12%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryCumSum.cpp.o
[ 12%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryDepthToSpace.cpp.o
[ 13%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryDet.cpp.o
[ 13%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryDilation2D.cpp.o
[ 13%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryELU.cpp.o
[ 13%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryFill.cpp.o
[ 14%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryGather.cpp.o
[ 14%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryImageOp.cpp.o
[ 14%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryInnerProduct.cpp.o
[ 14%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryLRN.cpp.o
[ 15%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryLSTM.cpp.o
[ 15%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryOPRegister.cpp.o
[ 15%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryPermute.cpp.o
[ 16%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryPoolGrad.cpp.o
[ 16%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryPooling3D.cpp.o
[ 16%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryReduce.cpp.o
[ 16%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryReshape.cpp.o
[ 17%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryReverseSequence.cpp.o
[ 17%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryScatter.cpp.o
[ 17%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometrySelect.cpp.o
[ 17%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryShape.cpp.o
[ 18%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometrySlice.cpp.o
[ 18%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometrySpaceToBatchND.cpp.o
[ 18%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometrySpatialProduct.cpp.o
[ 18%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryStridedSlice.cpp.o
[ 19%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryTensorArray.cpp.o
[ 19%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryThreshold.cpp.o
[ 19%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryTile.cpp.o
[ 20%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryTopK.cpp.o
[ 20%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryUnary.cpp.o
[ 20%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeArgMax.cpp.o
[ 20%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeBatchToSpaceND.cpp.o
[ 21%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeBinaryOp.cpp.o
[ 21%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeBroadcastTo.cpp.o
[ 21%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeCast.cpp.o
[ 21%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeConcat.cpp.o
[ 22%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeConvTranspose3D.cpp.o
[ 22%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeConvolution.cpp.o
[ 22%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeConvolution3D.cpp.o
[ 22%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeCosineSimilarity.cpp.o
[ 23%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeCrop.cpp.o
[ 23%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeCropAndResize.cpp.o
[ 23%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDeconvolution.cpp.o
[ 24%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDepthToSpace.cpp.o
[ 24%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDequantize.cpp.o
[ 24%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDet.cpp.o
[ 24%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDetectionOutput.cpp.o
[ 25%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDetectionPostProcess.cpp.o
[ 25%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeExpandDims.cpp.o
[ 25%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeFill.cpp.o
[ 25%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeGatherND.cpp.o
[ 26%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeGatherV2.cpp.o
[ 26%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeGridSample.cpp.o
[ 26%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeHistogram.cpp.o
[ 26%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeInnerProduct.cpp.o
[ 27%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeInterp.cpp.o
[ 27%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeLSTM.cpp.o
[ 27%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeLinSpace.cpp.o
[ 28%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeMatMul.cpp.o
[ 28%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeMoments.cpp.o
[ 28%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeNonMaxSuppressionV2.cpp.o
[ 28%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeOneHot.cpp.o
[ 29%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePack.cpp.o
[ 29%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePadding.cpp.o
[ 29%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePermute.cpp.o
[ 29%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePlugin.cpp.o
[ 30%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePool.cpp.o
[ 30%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePool3D.cpp.o
[ 30%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePriorbox.cpp.o
[ 31%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeProposal.cpp.o
[ 31%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeQuantizedAvgPool.cpp.o
[ 31%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeQuantizedMaxPool.cpp.o
[ 31%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeRNNSequenceGRU.cpp.o
[ 32%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeROIAlign.cpp.o
[ 32%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeROIPooling.cpp.o
[ 32%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeRandomUniform.cpp.o
[ 32%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeRange.cpp.o
[ 33%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeReduction.cpp.o
[ 33%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeRegister.cpp.o
[ 33%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeReshape.cpp.o
[ 33%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeResize.cpp.o
[ 34%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeScatterNd.cpp.o
[ 34%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSegmentMean.cpp.o
[ 35%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSetDiff1D.cpp.o
[ 35%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeShape.cpp.o
[ 35%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSelect.cpp.o
[ 35%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSize.cpp.o
[ 35%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSlice.cpp.o
[ 36%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSliceTf.cpp.o
[ 36%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSpaceToBatchND.cpp.o
[ 36%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSpaceToDepth.cpp.o
[ 36%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSqueeze.cpp.o
[ 37%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeStridedSlice.cpp.o
[ 37%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSvd.cpp.o
[ 37%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeTensorArray.cpp.o
[ 37%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeTensorConvert.cpp.o
[ 38%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeTile.cpp.o
[ 38%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeTopKV2.cpp.o
[ 38%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeTranspose.cpp.o
[ 39%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeUnique.cpp.o
[ 39%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeUnpack.cpp.o
[ 39%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeUnravelIndex.cpp.o
[ 39%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeWhere.cpp.o
[ 40%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/SizeComputer.cpp.o
[ 40%] Built target MNNTransform
make: *** [Makefile:136: all] Error 2

粘贴在这里 Paste log here or pastebin

tarush-001 avatar Feb 20 '24 07:02 tarush-001

cmake 时加上参数 -DCMAKE_SYSTEM_PROCESSOR=armv7

jxt1234 avatar Feb 20 '24 09:02 jxt1234

@jxt1234 thanks for reply but after your suggestion my cmake gives me cmake -DCMAKE_SYSTEM_PROCESSOR=armv7 .. -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Use Threadpool, forbid openmp -- >>>>>>>>>>>>> -- MNN BUILD INFO: -- System: Linux -- Processor: aarch64 -- Version: 2.8.1 -- Metal: OFF -- OpenCL: OFF -- OpenGL: OFF -- Vulkan: OFF -- ARM82: OFF -- oneDNN: OFF -- TensorRT: OFF -- CoreML: OFF -- NNAPI: OFF -- CUDA: OFF -- OpenMP: OFF -- BF16: -- ThreadPool: ON -- Hidden: TRUE -- Build Path: /home/pi/MNN/build -- CUDA PROFILE: OFF -- WIN_USE_ASM: -- Enabling AArch64 Assemblies -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE
-- Configuring done -- Generating done -- Build files have been written to: /home/pi/MNN/build

and after make the issue still persist. make -j8 [ 0%] Building CXX object CMakeFiles/MNNCore.dir/source/core/AutoTime.cpp.o [ 0%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/ConvertUtils.cpp.o [ 0%] Building CXX object CMakeFiles/MNNMath.dir/source/math/Matrix.cpp.o [ 1%] Building CXX object CMakeFiles/MNNCV.dir/source/cv/ImageProcess.cpp.o [ 1%] Building CXX object CMakeFiles/MNNUtils.dir/source/utils/InitNet.cpp.o [ 1%] Building CXX object CMakeFiles/checkDir.out.dir/tools/cpp/checkDir.cpp.o [ 1%] Building ASM object CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S.o [ 1%] Building CXX object CMakeFiles/MNNCPU.dir/source/backend/cpu/CPUArgMax.cpp.o /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S: Assembler messages: /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:22: Error: ARM register expected -- mov x12,#4' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:23: Error: ARM register expected -- mul x2,x12,x2' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:24: Error: ARM register expected -- mul x3,x12,x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:27: Error: ARM register expected -- cmp x4,#8' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:31: Error: ARM register expected -- mov x12,x1' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:32: Error: bad instruction ld1 {v0.4s},[x0],x2' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:33: Error: bad instruction ld1 {v1.4s},[x1],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:35: Error: bad instruction ld1 {v2.4s},[x0],x2' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:36: Error: bad instruction ld1 {v3.4s},[x1],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:38: Error: bad instruction fadd v0.4s,v0.4s,v1.4s' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:39: Error: bad instruction ld1 {v16.4s},[x0],x2' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:40: Error: bad instruction fadd v2.4s,v2.4s,v3.4s' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:42: Error: bad instruction st1 {v0.4s},[x12],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:43: Error: bad instruction st1 {v2.4s},[x12],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:45: Error: bad instruction ld1 {v17.4s},[x1],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:47: Error: bad instruction ld1 {v18.4s},[x0],x2' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:49: Error: bad instruction fadd v16.4s,v16.4s,v17.4s' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:50: Error: bad instruction ld1 {v19.4s},[x1],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:51: Error: bad instruction fadd v18.4s,v18.4s,v19.4s' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:53: Error: bad instruction ld1 {v0.4s},[x0],x2' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:54: Error: bad instruction st1 {v16.4s},[x12],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:55: Error: bad instruction st1 {v18.4s},[x12],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:57: Error: bad instruction ld1 {v1.4s},[x1],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:59: Error: bad instruction ld1 {v2.4s},[x0],x2' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:60: Error: bad instruction ld1 {v3.4s},[x1],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:62: Error: bad instruction fadd v0.4s,v0.4s,v1.4s' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:63: Error: bad instruction fadd v2.4s,v2.4s,v3.4s' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:65: Error: bad instruction st1 {v0.4s},[x12],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:66: Error: bad instruction st1 {v2.4s},[x12],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:68: Error: bad instruction ld1 {v16.4s},[x0],x2' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:69: Error: bad instruction ld1 {v17.4s},[x1],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:71: Error: bad instruction ld1 {v18.4s},[x0],x2' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:72: Error: bad instruction ld1 {v19.4s},[x1],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:74: Error: bad instruction fadd v16.4s,v16.4s,v17.4s' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:75: Error: bad instruction fadd v18.4s,v18.4s,v19.4s' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:77: Error: bad instruction st1 {v16.4s},[x12],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:78: Error: bad instruction st1 {v18.4s},[x12],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:80: Error: ARM register expected -- sub x4,x4,#8' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:81: Error: ARM register expected -- cmp x4,#8' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:85: Error: ARM register expected -- cmp x4,#0' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:89: Error: bad instruction ld1 {v0.4s},[x0],x2' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:90: Error: bad instruction ld1 {v1.4s},[x1]' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:92: Error: bad instruction fadd v0.4s,v0.4s,v1.4s' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:93: Error: bad instruction st1 {v0.4s},[x1],x3' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:95: Error: ARM register expected -- subs x4,x4,#1' /home/pi/MNN/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S:100: Error: bad instruction ret' make[2]: *** [CMakeFiles/MNNARM64.dir/build.make:75: CMakeFiles/MNNARM64.dir/source/backend/cpu/arm/arm64/MNNAddC4WithStride.S.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:342: CMakeFiles/MNNARM64.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 2%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Backend.cpp.o [ 2%] Building CXX object CMakeFiles/MNNCPU.dir/source/backend/cpu/CPUBackend.cpp.o [ 3%] Linking CXX executable checkDir.out [ 3%] Built target checkDir.out [ 3%] Building CXX object CMakeFiles/MNNCore.dir/source/core/BackendRegister.cpp.o In file included from /home/pi/MNN/source/math/Matrix.cpp:16: /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h: In static member function ‘static void MNN::Math::Matrix::multi(MNN::Tensor*, const MNN::Tensor*, const MNN::Tensor*)’: /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:74:43: note: called from here 74 | float32x4_t sum3 = vdupq_n_f32(0.0); | ~~~~~~~~~~~^~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:73:43: note: called from here 73 | float32x4_t sum2 = vdupq_n_f32(0.0); | ~~~~~~~~~~~^~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:72:43: note: called from here 72 | float32x4_t sum1 = vdupq_n_f32(0.0); | ~~~~~~~~~~~^~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:71:43: note: called from here 71 | float32x4_t sum0 = vdupq_n_f32(0.0); | ~~~~~~~~~~~^~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:85:45: note: called from here 85 | sum3 = vmlaq_f32(sum3, a0, b3); | ~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:84:45: note: called from here 84 | sum2 = vmlaq_f32(sum2, a0, b2); | ~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:83:45: note: called from here 83 | sum1 = vmlaq_f32(sum1, a0, b1); | ~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:82:45: note: called from here 82 | sum0 = vmlaq_f32(sum0, a0, b0); | ~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:81:45: note: called from here 81 | float32x4_t b3 = vld1q_f32(bLine + 12); | ~~~~~~~~~^~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:80:45: note: called from here 80 | float32x4_t b2 = vld1q_f32(bLine + 8); | ~~~~~~~~~^~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:79:45: note: called from here 79 | float32x4_t b1 = vld1q_f32(bLine + 4); | ~~~~~~~~~^~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:78:45: note: called from here 78 | float32x4_t b0 = vld1q_f32(bLine); | ~~~~~~~~~^~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:77:47: note: called from here 77 | float32x4_t a0 = vdupq_n_f32(aLine[i]); | ~~~~~~~~~~~^~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch 11024 | vst1q_f32 (float32_t * __a, float32x4_t __b) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:90:22: note: called from here 90 | vst1q_f32(cLine + x + 12, sum3); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch 11024 | vst1q_f32 (float32_t * __a, float32x4_t __b) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:89:22: note: called from here 89 | vst1q_f32(cLine + x + 8, sum2); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch 11024 | vst1q_f32 (float32_t * __a, float32x4_t __b) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:88:22: note: called from here 88 | vst1q_f32(cLine + x + 4, sum1); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch 11024 | vst1q_f32 (float32_t * __a, float32x4_t __b) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:87:22: note: called from here 87 | vst1q_f32(cLine + x, sum0); | ~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:95:42: note: called from here 95 | float32x4_t sum = vdupq_n_f32(0.0); | ~~~~~~~~~~~^~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:100:45: note: called from here 100 | sum = vmlaq_f32(sum, a4, b4); | ~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:99:45: note: called from here 99 | float32x4_t b4 = vld1q_f32(bLine); | ~~~~~~~~~^~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:98:47: note: called from here 98 | float32x4_t a4 = vdupq_n_f32(aLine[i]); | ~~~~~~~~~~~^~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch 11024 | vst1q_f32 (float32_t * __a, float32x4_t __b) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:102:22: note: called from here 102 | vst1q_f32(cLine + x, sum); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:74:43: note: called from here 74 | float32x4_t sum3 = vdupq_n_f32(0.0); | ~~~~~~~~~~~^~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:73:43: note: called from here 73 | float32x4_t sum2 = vdupq_n_f32(0.0); | ~~~~~~~~~~~^~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:72:43: note: called from here 72 | float32x4_t sum1 = vdupq_n_f32(0.0); | ~~~~~~~~~~~^~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:71:43: note: called from here 71 | float32x4_t sum0 = vdupq_n_f32(0.0); | ~~~~~~~~~~~^~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:85:45: note: called from here 85 | sum3 = vmlaq_f32(sum3, a0, b3); | ~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:84:45: note: called from here 84 | sum2 = vmlaq_f32(sum2, a0, b2); | ~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:83:45: note: called from here 83 | sum1 = vmlaq_f32(sum1, a0, b1); | ~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:82:45: note: called from here 82 | sum0 = vmlaq_f32(sum0, a0, b0); | ~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:81:45: note: called from here 81 | float32x4_t b3 = vld1q_f32(bLine + 12); | ~~~~~~~~~^~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:80:45: note: called from here 80 | float32x4_t b2 = vld1q_f32(bLine + 8); | ~~~~~~~~~^~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:79:45: note: called from here 79 | float32x4_t b1 = vld1q_f32(bLine + 4); | ~~~~~~~~~^~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:78:45: note: called from here 78 | float32x4_t b0 = vld1q_f32(bLine); | ~~~~~~~~~^~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:77:47: note: called from here 77 | float32x4_t a0 = vdupq_n_f32(aLine[i]); | ~~~~~~~~~~~^~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch 11024 | vst1q_f32 (float32_t * __a, float32x4_t __b) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:90:22: note: called from here 90 | vst1q_f32(cLine + x + 12, sum3); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch 11024 | vst1q_f32 (float32_t * __a, float32x4_t __b) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:89:22: note: called from here 89 | vst1q_f32(cLine + x + 8, sum2); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch 11024 | vst1q_f32 (float32_t * __a, float32x4_t __b) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:88:22: note: called from here 88 | vst1q_f32(cLine + x + 4, sum1); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch 11024 | vst1q_f32 (float32_t * __a, float32x4_t __b) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:87:22: note: called from here 87 | vst1q_f32(cLine + x, sum0); | ~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:95:42: note: called from here 95 | float32x4_t sum = vdupq_n_f32(0.0); | ~~~~~~~~~~~^~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:1481:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vmlaq_f32(float32x4_t, float32x4_t, float32x4_t)’: target specific option mismatch 1481 | vmlaq_f32 (float32x4_t __a, float32x4_t __b, float32x4_t __c) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:100:45: note: called from here 100 | sum = vmlaq_f32(sum, a4, b4); | ~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:99:45: note: called from here 99 | float32x4_t b4 = vld1q_f32(bLine); | ~~~~~~~~~^~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6784:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch 6784 | vdupq_n_f32 (float32_t __a) | ^~~~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:98:47: note: called from here 98 | float32x4_t a4 = vdupq_n_f32(aLine[i]); | ~~~~~~~~~~~^~~~~~~~~~ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:11024:1: error: inlining failed in call to ‘always_inline’ ‘void vst1q_f32(float32_t*, float32x4_t)’: target specific option mismatch 11024 | vst1q_f32 (float32_t * __a, float32x4_t __b) | ^~~~~~~~~ /home/pi/MNN/source/math/Matrix.cpp:102:22: note: called from here 102 | vst1q_f32(cLine + x, sum); | ~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/MNNMath.dir/build.make:76: CMakeFiles/MNNMath.dir/source/math/Matrix.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:238: CMakeFiles/MNNMath.dir/all] Error 2 [ 3%] Building CXX object CMakeFiles/MNNCore.dir/source/core/BufferAllocator.cpp.o [ 3%] Building CXX object CMakeFiles/MNNCore.dir/source/core/ConvolutionCommon.cpp.o [ 4%] Building CXX object CMakeFiles/MNNCPU.dir/source/backend/cpu/CPUBinary.cpp.o [ 5%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryBatchMatMul.cpp.o [ 5%] Building CXX object CMakeFiles/MNNCV.dir/source/cv/Matrix_CV.cpp.o [ 5%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryBinary.cpp.o In file included from /home/pi/MNN/source/cv/SkNx_neon.h:15, from /home/pi/MNN/source/cv/SkNx.h:415, from /home/pi/MNN/source/cv/Matrix_CV.cpp:13: /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h: In static member function ‘static {anonymous}::SkNx<4, float> {anonymous}::SkNx<4, float>::Load(const void*)’: /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/cv/SkNx_neon.h:177:78: note: called from here 177 | AI static SkNx Load(const void* ptr) { return vld1q_f32((const float*)ptr); } | ^ /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:10446:1: error: inlining failed in call to ‘always_inline’ ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch 10446 | vld1q_f32 (const float32_t * __a) | ^~~~~~~~~ /home/pi/MNN/source/cv/SkNx_neon.h:177:78: note: called from here 177 | AI static SkNx Load(const void* ptr) { return vld1q_f32((const float*)ptr); } | ^ make[2]: *** [CMakeFiles/MNNCV.dir/build.make:90: CMakeFiles/MNNCV.dir/source/cv/Matrix_CV.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:212: CMakeFiles/MNNCV.dir/all] Error 2 [ 6%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Execution.cpp.o [ 6%] Building CXX object CMakeFiles/MNNCore.dir/source/core/FileLoader.cpp.o [ 6%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Interpreter.cpp.o [ 6%] Building CXX object CMakeFiles/MNNCore.dir/source/core/MNNMemoryUtils.cpp.o [ 7%] Building CXX object CMakeFiles/MNNCore.dir/source/core/OpCommonUtils.cpp.o [ 7%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Pipeline.cpp.o [ 7%] Building CXX object CMakeFiles/MNNUtils.dir/source/utils/JNIHelper.cpp.o [ 7%] Built target MNNUtils [ 7%] Building CXX object CMakeFiles/MNNCore.dir/source/core/RuntimeFactory.cpp.o In file included from /home/pi/MNN/source/backend/cpu/CPUBinary.cpp:18: /home/pi/MNN/source/math/Vec.hpp: In static member function ‘static void MNN::Math::Vec<int, 4>::transpose4(VecType&, VecType&, VecType&, VecType&)’: /home/pi/MNN/source/math/Vec.hpp:298:79: note: use ‘-flax-vector-conversions’ to permit conversions between vectors with differing element types or numbers of subparts 298 | vec0.value = reinterpret_cast<int32x4_t>(vsetq_lane_s64(vgetq_lane_s64(m2m3.val[0], 0), vec0.value, 1)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/pi/MNN/source/math/Vec.hpp:298:90: error: cannot convert ‘int32x4_t’ to ‘int64x2_t’ 298 | vec0.value = reinterpret_cast<int32x4_t>(vsetq_lane_s64(vgetq_lane_s64(m2m3.val[0], 0), vec0.value, 1)); | ~~~~~~~~~~^ | | | int32x4_t In file included from /home/pi/MNN/source/math/Vec.hpp:16: /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6350:27: note: initializing argument 1 of ‘int64_t vgetq_lane_s64(int64x2_t, int)’ 6350 | vgetq_lane_s64 (int64x2_t __a, const int __b) | ~~~~~~~~~~^~~ /home/pi/MNN/source/math/Vec.hpp:299:90: error: cannot convert ‘int32x4_t’ to ‘int64x2_t’ 299 | vec1.value = reinterpret_cast<int32x4_t>(vsetq_lane_s64(vgetq_lane_s64(m2m3.val[1], 0), vec1.value, 1)); | ~~~~~~~~~~^ | | | int32x4_t /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6350:27: note: initializing argument 1 of ‘int64_t vgetq_lane_s64(int64x2_t, int)’ 6350 | vgetq_lane_s64 (int64x2_t __a, const int __b) | ~~~~~~~~~~^~~ /home/pi/MNN/source/math/Vec.hpp:300:90: error: cannot convert ‘int32x4_t’ to ‘int64x2_t’ 300 | vec2.value = reinterpret_cast<int32x4_t>(vsetq_lane_s64(vgetq_lane_s64(m0m1.val[0], 1), vec2.value, 0)); | ~~~~~~~~~~^ | | | int32x4_t /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6350:27: note: initializing argument 1 of ‘int64_t vgetq_lane_s64(int64x2_t, int)’ 6350 | vgetq_lane_s64 (int64x2_t __a, const int __b) | ~~~~~~~~~~^~~ /home/pi/MNN/source/math/Vec.hpp:301:90: error: cannot convert ‘int32x4_t’ to ‘int64x2_t’ 301 | vec3.value = reinterpret_cast<int32x4_t>(vsetq_lane_s64(vgetq_lane_s64(m0m1.val[1], 1), vec3.value, 0)); | ~~~~~~~~~~^ | | | int32x4_t /usr/lib/gcc/arm-linux-gnueabihf/12/include/arm_neon.h:6350:27: note: initializing argument 1 of ‘int64_t vgetq_lane_s64(int64x2_t, int)’ 6350 | vgetq_lane_s64 (int64x2_t __a, const int __b) | ~~~~~~~~~~^~~ [ 7%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Schedule.cpp.o [ 8%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Session.cpp.o make[2]: *** [CMakeFiles/MNNCPU.dir/build.make:104: CMakeFiles/MNNCPU.dir/source/backend/cpu/CPUBinary.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:316: CMakeFiles/MNNCPU.dir/all] Error 2 [ 8%] Building CXX object CMakeFiles/MNNCore.dir/source/core/Tensor.cpp.o [ 8%] Building CXX object CMakeFiles/MNNCore.dir/source/core/TensorUtils.cpp.o [ 8%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryBroadcastTo.cpp.o [ 9%] Building CXX object CMakeFiles/MNNCore.dir/source/core/WrapExecution.cpp.o [ 9%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryComputer.cpp.o [ 10%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryComputerUtils.cpp.o [ 10%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConcat.cpp.o [ 10%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConv2D.cpp.o [ 10%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConv2DBackPropFilter.cpp.o [ 11%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConv3D.cpp.o [ 11%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConvUtils.cpp.o [ 11%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryConvert.cpp.o [ 11%] Built target MNNCore [ 12%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryCosineSimilarity.cpp.o [ 12%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryCrop.cpp.o [ 12%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryCumSum.cpp.o [ 12%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryDepthToSpace.cpp.o [ 13%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryDet.cpp.o [ 13%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryDilation2D.cpp.o [ 13%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryELU.cpp.o [ 13%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryFill.cpp.o [ 14%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryGather.cpp.o [ 14%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryImageOp.cpp.o [ 14%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryInnerProduct.cpp.o [ 14%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryLRN.cpp.o [ 15%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryLSTM.cpp.o [ 15%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryOPRegister.cpp.o [ 15%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryPermute.cpp.o [ 16%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryPoolGrad.cpp.o [ 16%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryPooling3D.cpp.o [ 16%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryReduce.cpp.o [ 16%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryReshape.cpp.o [ 17%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryReverseSequence.cpp.o [ 17%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryScatter.cpp.o [ 17%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometrySelect.cpp.o [ 17%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryShape.cpp.o [ 18%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometrySlice.cpp.o [ 18%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometrySpaceToBatchND.cpp.o [ 18%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometrySpatialProduct.cpp.o [ 18%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryStridedSlice.cpp.o [ 19%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryTensorArray.cpp.o [ 19%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryThreshold.cpp.o [ 19%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryTile.cpp.o [ 20%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryTopK.cpp.o [ 20%] Building CXX object CMakeFiles/MNNTransform.dir/source/geometry/GeometryUnary.cpp.o [ 20%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeArgMax.cpp.o [ 20%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeBatchToSpaceND.cpp.o [ 21%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeBinaryOp.cpp.o [ 21%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeBroadcastTo.cpp.o [ 21%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeCast.cpp.o [ 21%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeConcat.cpp.o [ 22%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeConvTranspose3D.cpp.o [ 22%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeConvolution.cpp.o [ 22%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeConvolution3D.cpp.o [ 22%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeCosineSimilarity.cpp.o [ 23%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeCrop.cpp.o [ 23%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeCropAndResize.cpp.o [ 23%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDeconvolution.cpp.o [ 24%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDepthToSpace.cpp.o [ 24%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDequantize.cpp.o [ 24%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDet.cpp.o [ 24%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDetectionOutput.cpp.o [ 25%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeDetectionPostProcess.cpp.o [ 25%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeExpandDims.cpp.o [ 25%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeFill.cpp.o [ 25%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeGatherND.cpp.o [ 26%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeGatherV2.cpp.o [ 26%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeGridSample.cpp.o [ 26%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeHistogram.cpp.o [ 26%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeInnerProduct.cpp.o [ 27%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeInterp.cpp.o [ 27%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeLSTM.cpp.o [ 27%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeLinSpace.cpp.o [ 28%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeMatMul.cpp.o [ 28%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeMoments.cpp.o [ 28%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeNonMaxSuppressionV2.cpp.o [ 28%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeOneHot.cpp.o [ 29%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePack.cpp.o [ 29%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePadding.cpp.o [ 29%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePermute.cpp.o [ 29%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePlugin.cpp.o [ 30%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePool.cpp.o [ 30%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePool3D.cpp.o [ 30%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapePriorbox.cpp.o [ 31%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeProposal.cpp.o [ 31%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeQuantizedAvgPool.cpp.o [ 31%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeQuantizedMaxPool.cpp.o [ 31%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeRNNSequenceGRU.cpp.o [ 32%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeROIAlign.cpp.o [ 32%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeROIPooling.cpp.o [ 32%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeRandomUniform.cpp.o [ 32%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeRange.cpp.o [ 33%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeReduction.cpp.o [ 33%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeRegister.cpp.o [ 33%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeReshape.cpp.o [ 33%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeResize.cpp.o [ 34%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeScatterNd.cpp.o [ 34%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSegmentMean.cpp.o [ 34%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSelect.cpp.o [ 35%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSetDiff1D.cpp.o [ 35%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeShape.cpp.o [ 35%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSize.cpp.o [ 35%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSlice.cpp.o [ 36%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSliceTf.cpp.o [ 36%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSpaceToBatchND.cpp.o [ 36%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSpaceToDepth.cpp.o [ 36%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSqueeze.cpp.o [ 37%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeStridedSlice.cpp.o [ 37%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeSvd.cpp.o [ 37%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeTensorArray.cpp.o [ 37%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeTensorConvert.cpp.o [ 38%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeTile.cpp.o [ 38%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeTopKV2.cpp.o [ 38%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeTranspose.cpp.o [ 39%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeUnique.cpp.o [ 39%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeUnpack.cpp.o [ 39%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeUnravelIndex.cpp.o [ 39%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/ShapeWhere.cpp.o [ 40%] Building CXX object CMakeFiles/MNNTransform.dir/source/shape/SizeComputer.cpp.o [ 40%] Built target MNNTransform make: *** [Makefile:136: all] Error 2

my gcc -v gives me gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/12/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion='Raspbian 12.2.0-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6+fp --with-float=hard --disable-werror --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.2.0 (Raspbian 12.2.0-14+rpi1)

tarush-001 avatar Feb 20 '24 09:02 tarush-001

The processor is still arm64: -- Processor: aarch64

try clear build dir?

jxt1234 avatar Feb 21 '24 08:02 jxt1234

using command uname -m gives aarch64 in bookworm; and getconf_LONG_BIT gives 32 i think bookworm is using aarch64 in 32 bit os. so cmakelist.txt is detecting aarch64 as a processor

tarush-001 avatar Feb 21 '24 11:02 tarush-001

Marking as stale. No activity in 60 days.

github-actions[bot] avatar May 14 '24 09:05 github-actions[bot]