alibaba / MNN

MNN is a blazing fast, lightweight deep learning framework, battle-tested by business-critical use cases in Alibaba
http://www.mnn.zone/
8.66k stars 1.66k forks source link

arm 交叉编译失败 #1863

Closed ZHEQIUSHUI closed 2 years ago

ZHEQIUSHUI commented 2 years ago

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

Platform(Include target platform as well if cross-compiling):

SigmaStar 8838G

编译方式:

Compiling Method

CMake toolchain  arm_gcc_9.1.0

编译日志:

[  0%] Building CXX object CMakeFiles/MNNCPU.dir/source/backend/cpu/compute/WinogradOptFunction.cpp.o
[  6%] Built target MNNCore
[  7%] Built target MNNUtils
[  8%] Built target MNNMath
[ 51%] Built target MNNTransform
[ 52%] Built target MNNCV
during RTL pass: reload
/home/arno/Github/MNN/source/backend/cpu/compute/WinogradOptFunction.cpp: In function ‘void MNN::_sourceUnrollTransformUnit4x4(const float*, float*, size_t, size_t, size_t, size_t)’:
/home/arno/Github/MNN/source/backend/cpu/compute/WinogradOptFunction.cpp:799:1: internal compiler error: in decompose_automod_address, at rtlanal.c:6311
  799 | }
      | ^
0xdadb07 decompose_automod_address
    /home/meng/toolchain/build/snapshots/gcc.git~gcc-9_1_0-release/gcc/rtlanal.c:6311
0xdadb07 decompose_address(address_info*, rtx_def**, machine_mode, unsigned char, rtx_code)
    /home/meng/toolchain/build/snapshots/gcc.git~gcc-9_1_0-release/gcc/rtlanal.c:6476
0xc88671 process_address_1
    /home/meng/toolchain/build/snapshots/gcc.git~gcc-9_1_0-release/gcc/lra-constraints.c:3322
0xc8a43a process_address
    /home/meng/toolchain/build/snapshots/gcc.git~gcc-9_1_0-release/gcc/lra-constraints.c:3593
0xc8a43a curr_insn_transform
    /home/meng/toolchain/build/snapshots/gcc.git~gcc-9_1_0-release/gcc/lra-constraints.c:3908
0xc8da3e lra_constraints(bool)
    /home/meng/toolchain/build/snapshots/gcc.git~gcc-9_1_0-release/gcc/lra-constraints.c:4978
0xc752fc lra(_IO_FILE*)
    /home/meng/toolchain/build/snapshots/gcc.git~gcc-9_1_0-release/gcc/lra.c:2472
0xc275f9 do_reload
    /home/meng/toolchain/build/snapshots/gcc.git~gcc-9_1_0-release/gcc/ira.c:5516
0xc275f9 execute
    /home/meng/toolchain/build/snapshots/gcc.git~gcc-9_1_0-release/gcc/ira.c:5700
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[2]: *** [CMakeFiles/MNNCPU.dir/build.make:1181: CMakeFiles/MNNCPU.dir/source/backend/cpu/compute/WinogradOptFunction.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:422: CMakeFiles/MNNCPU.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
umie0128 commented 2 years ago

请问这个问题解决了吗

121786404 commented 2 years ago

问题解决了吗?

Youngboy001 commented 7 months ago

怎么解决的?

ZHEQIUSHUI commented 7 months ago

把这个OP删掉就可以了