登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
代码拉取完成,页面将自动刷新
开源项目
>
人工智能
>
AI-人工智能
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
221
Star
1.2K
Fork
1.1K
Ascend
/
samples
代码
Issues
33
Pull Requests
98
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
HelloWorldSample编译错误
DONE
#IBA4TZ
缺陷
wrist
创建于
2024-12-09 20:26
一、问题现象(附报错日志上下文): HelloWorldSample编译错误 二、软件版本: -- CANN 版本: 8.0.RC1.1 --Tensorflow/Pytorch/MindSpore 版本: pytorch 2.1.0 --Python 版本: Python 3.9.10 --MindStudio版本: 未安装 --操作系统版本: Linux version 4.19.90-vhulk2211.3.0.h1543.eulerosv2r10.aarch64 (abuild@szxrtosci10000) --cmake版本: 3.30.0 --gcc版本: 10.2.0 --glibc版本: 2.28 三、测试步骤: git clone https://gitee.com/ascend/samples cd samples/operator/HelloWorldSample 修改CMakeLists.txt,设置真实的`ASCEND_CANN_PACKAGE_PATH`,设`SOC_VERSION`为`Ascend910B4`。 bash run.sh 四、日志信息: [ma-user 0_helloworld]$bash run.sh -v Ascend910B4 find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/op_impl/custom/ is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/op_proto/custom/ is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: / is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: / is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/framework/custom/ is empty find: ‘/usr/local/Ascend/ascend-toolkit/8.0.RC1.1/opp/test-ops/script’: Permission denied find: ‘/usr/local/Ascend/ascend-toolkit/8.0.RC1.1/opp/test-ops/script’: Permission denied find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/op_impl/custom/ is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/op_proto/custom/ is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: / is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: / is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/framework/custom/ is empty Current compile soc version is Ascend910B4 -- The C compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:7 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:7 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- The CXX compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:7 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:7 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- 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 -- Configuring done (0.9s) -- Generating done (0.0s) -- Build files have been written to: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build [ 2%] Creating directories for 'kernels_preprocess' [ 5%] No download step for 'kernels_preprocess' [ 8%] No update step for 'kernels_preprocess' [ 11%] No patch step for 'kernels_preprocess' [ 13%] Performing configure step for 'kernels_preprocess' -- The C compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- The CXX compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- 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 -- Configuring done (0.7s) -- Generating done (0.0s) -- Build files have been written to: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_preprocess-prefix/src/kernels_preprocess-build [ 16%] Performing build step for 'kernels_preprocess' [ 33%] Building CXX object CMakeFiles/aic_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [ 66%] Building CXX object CMakeFiles/aiv_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [100%] Building CXX object CMakeFiles/preprocess_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [100%] Built target preprocess_obj [100%] Built target aic_obj [100%] Built target aiv_obj [100%] Built target _host_cpp [ 19%] No install step for 'kernels_preprocess' [ 22%] Completed 'kernels_preprocess' [ 22%] Built target kernels_preprocess [ 25%] Creating directories for 'kernels_aic_device' [ 27%] Creating directories for 'kernels_host' [ 30%] Creating directories for 'kernels_aiv_device' [ 33%] No download step for 'kernels_aic_device' [ 36%] No download step for 'kernels_host' [ 38%] No download step for 'kernels_aiv_device' [ 41%] No update step for 'kernels_aic_device' [ 44%] No update step for 'kernels_host' [ 47%] No update step for 'kernels_aiv_device' [ 50%] No patch step for 'kernels_aic_device' [ 52%] No patch step for 'kernels_host' [ 55%] No patch step for 'kernels_aiv_device' [ 58%] Performing configure step for 'kernels_aic_device' [ 61%] Performing configure step for 'kernels_host' [ 63%] Performing configure step for 'kernels_aiv_device' -- The C compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 10.2.0 -- The C compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- The CXX compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Detecting C compiler ABI info -- The CXX compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- The CXX compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Detecting C compiler ABI info -- 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 C compiler ABI info - done -- Detecting CXX 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 -- 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 -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (0.8s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_MODE -- Build files have been written to: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_aic_device-prefix/src/kernels_aic_device-build -- Detecting CXX compiler ABI info - done -- Detecting CXX compiler ABI info - done [ 66%] Performing build step for 'kernels_aic_device' -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (0.8s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: ASCEND_PYTHON_EXECUTABLE -- Build files have been written to: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_host-prefix/src/kernels_host-build -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (0.8s) -- Generating done (0.0s) -- Build files have been written to: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device-prefix/src/kernels_aiv_device-build [ 69%] Performing build step for 'kernels_host' [ 72%] Performing build step for 'kernels_aiv_device' [ 75%] No install step for 'kernels_aic_device' [ 77%] Completed 'kernels_aic_device' [100%] Building CXX object CMakeFiles/host_bisheng_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [ 77%] Built target kernels_aic_device [100%] Building CXX object CMakeFiles/device_aiv_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/auto_gen/kernels/auto_gen_hello_world.cpp.o [100%] Built target host_bisheng_obj [ 80%] Performing install step for 'kernels_host' [100%] Built target host_bisheng_obj Install the project... -- Install configuration: "Debug" -- Installing: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_host_dir/./objects-Debug/host_bisheng_obj/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [ 83%] Completed 'kernels_host' [ 83%] Built target kernels_host [100%] Built target device_aiv_obj /usr/local/Ascend/ascend-toolkit/latest/tools/ccec_compiler/bin/ld.lld -m aicorelinux -r -Ttext=0 /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device-prefix/src/kernels_aiv_device-build/CMakeFiles/device_aiv_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/auto_gen/kernels/auto_gen_hello_world.cpp.o -static -o /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device_dir/device_aiv.o [100%] Built target merge_aiv_device_obj [ 86%] No install step for 'kernels_aiv_device' [ 88%] Completed 'kernels_aiv_device' [ 88%] Built target kernels_aiv_device /usr/local/Ascend/ascend-toolkit/latest/tools/ccec_compiler/bin/ld.lld -m aicorelinux -n -Ttext=0 /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device_dir/device_aiv.o -static -o /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_merge_obj_dir/device_aiv.o [ 88%] Built target kernels_merge_obj [ 91%] Building CXX object CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o [ 91%] Built target kernels_host_stub_obj [ 94%] Linking CXX static library lib/libkernels.a /usr/local/Ascend/ascend-toolkit/latest/bin/ascendc_pack_kernel /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_merge_obj_dir/device_aiv.o 1 /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o recompile: /usr/bin/ar qc lib/libkernels.a CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_host_dir/objects-Debug/host_bisheng_obj/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o elf_tool.c.o ascendc_runtime.cpp.o recompile: /usr/bin/ranlib lib/libkernels.a [ 94%] Built target kernels [ 97%] Building CXX object CMakeFiles/main.dir/main.cpp.o [100%] Linking CXX executable main [100%] Built target main -- Install configuration: "Debug" -- Installing: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/out/lib64/libkernels.a -- Up-to-date: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/out/include -- Up-to-date: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/out/include/kernels -- Installing: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/out/include/kernels/aclrtlaunch_hello_world.h -- Installing: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/out/include/kernels/aclrtlaunch_triple_chevrons_func.h Error, Expected 8 occurrences of Hello World, but found 0 occurrences.
一、问题现象(附报错日志上下文): HelloWorldSample编译错误 二、软件版本: -- CANN 版本: 8.0.RC1.1 --Tensorflow/Pytorch/MindSpore 版本: pytorch 2.1.0 --Python 版本: Python 3.9.10 --MindStudio版本: 未安装 --操作系统版本: Linux version 4.19.90-vhulk2211.3.0.h1543.eulerosv2r10.aarch64 (abuild@szxrtosci10000) --cmake版本: 3.30.0 --gcc版本: 10.2.0 --glibc版本: 2.28 三、测试步骤: git clone https://gitee.com/ascend/samples cd samples/operator/HelloWorldSample 修改CMakeLists.txt,设置真实的`ASCEND_CANN_PACKAGE_PATH`,设`SOC_VERSION`为`Ascend910B4`。 bash run.sh 四、日志信息: [ma-user 0_helloworld]$bash run.sh -v Ascend910B4 find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/op_impl/custom/ is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/op_proto/custom/ is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: / is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: / is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/framework/custom/ is empty find: ‘/usr/local/Ascend/ascend-toolkit/8.0.RC1.1/opp/test-ops/script’: Permission denied find: ‘/usr/local/Ascend/ascend-toolkit/8.0.RC1.1/opp/test-ops/script’: Permission denied find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/op_impl/custom/ is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/op_proto/custom/ is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: / is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: / is empty find: ‘/usr/local/Ascend/ascend-toolkit/latest/opp/test-ops/script’: Permission denied [INFO]: /usr/local/Ascend/ascend-toolkit/latest/opp/framework/custom/ is empty Current compile soc version is Ascend910B4 -- The C compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:7 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:7 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- The CXX compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:7 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:7 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- 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 -- Configuring done (0.9s) -- Generating done (0.0s) -- Build files have been written to: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build [ 2%] Creating directories for 'kernels_preprocess' [ 5%] No download step for 'kernels_preprocess' [ 8%] No update step for 'kernels_preprocess' [ 11%] No patch step for 'kernels_preprocess' [ 13%] Performing configure step for 'kernels_preprocess' -- The C compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- The CXX compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- 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 -- Configuring done (0.7s) -- Generating done (0.0s) -- Build files have been written to: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_preprocess-prefix/src/kernels_preprocess-build [ 16%] Performing build step for 'kernels_preprocess' [ 33%] Building CXX object CMakeFiles/aic_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [ 66%] Building CXX object CMakeFiles/aiv_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [100%] Building CXX object CMakeFiles/preprocess_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [100%] Built target preprocess_obj [100%] Built target aic_obj [100%] Built target aiv_obj [100%] Built target _host_cpp [ 19%] No install step for 'kernels_preprocess' [ 22%] Completed 'kernels_preprocess' [ 22%] Built target kernels_preprocess [ 25%] Creating directories for 'kernels_aic_device' [ 27%] Creating directories for 'kernels_host' [ 30%] Creating directories for 'kernels_aiv_device' [ 33%] No download step for 'kernels_aic_device' [ 36%] No download step for 'kernels_host' [ 38%] No download step for 'kernels_aiv_device' [ 41%] No update step for 'kernels_aic_device' [ 44%] No update step for 'kernels_host' [ 47%] No update step for 'kernels_aiv_device' [ 50%] No patch step for 'kernels_aic_device' [ 52%] No patch step for 'kernels_host' [ 55%] No patch step for 'kernels_aiv_device' [ 58%] Performing configure step for 'kernels_aic_device' [ 61%] Performing configure step for 'kernels_host' [ 63%] Performing configure step for 'kernels_aiv_device' -- The C compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 10.2.0 -- The C compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake:201 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- The CXX compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Detecting C compiler ABI info -- The CXX compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- The CXX compiler identification is GNU 10.2.0 CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /usr/bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/local/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake:235 (find_program): Policy CMP0109 is not set: find_program() requires permission to execute but not to read. Run "cmake --help-policy CMP0109" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The file /bin/ld is executable but not readable. CMake is ignoring it for compatibility. Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/CMakeDetermineCXXCompiler.cmake:207 (include) CMakeLists.txt:2 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Detecting C compiler ABI info -- 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 C compiler ABI info - done -- Detecting CXX 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 -- 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 -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (0.8s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_MODE -- Build files have been written to: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_aic_device-prefix/src/kernels_aic_device-build -- Detecting CXX compiler ABI info - done -- Detecting CXX compiler ABI info - done [ 66%] Performing build step for 'kernels_aic_device' -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (0.8s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: ASCEND_PYTHON_EXECUTABLE -- Build files have been written to: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_host-prefix/src/kernels_host-build -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (0.8s) -- Generating done (0.0s) -- Build files have been written to: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device-prefix/src/kernels_aiv_device-build [ 69%] Performing build step for 'kernels_host' [ 72%] Performing build step for 'kernels_aiv_device' [ 75%] No install step for 'kernels_aic_device' [ 77%] Completed 'kernels_aic_device' [100%] Building CXX object CMakeFiles/host_bisheng_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [ 77%] Built target kernels_aic_device [100%] Building CXX object CMakeFiles/device_aiv_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/auto_gen/kernels/auto_gen_hello_world.cpp.o [100%] Built target host_bisheng_obj [ 80%] Performing install step for 'kernels_host' [100%] Built target host_bisheng_obj Install the project... -- Install configuration: "Debug" -- Installing: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_host_dir/./objects-Debug/host_bisheng_obj/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [ 83%] Completed 'kernels_host' [ 83%] Built target kernels_host [100%] Built target device_aiv_obj /usr/local/Ascend/ascend-toolkit/latest/tools/ccec_compiler/bin/ld.lld -m aicorelinux -r -Ttext=0 /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device-prefix/src/kernels_aiv_device-build/CMakeFiles/device_aiv_obj.dir/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/auto_gen/kernels/auto_gen_hello_world.cpp.o -static -o /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device_dir/device_aiv.o [100%] Built target merge_aiv_device_obj [ 86%] No install step for 'kernels_aiv_device' [ 88%] Completed 'kernels_aiv_device' [ 88%] Built target kernels_aiv_device /usr/local/Ascend/ascend-toolkit/latest/tools/ccec_compiler/bin/ld.lld -m aicorelinux -n -Ttext=0 /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device_dir/device_aiv.o -static -o /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_merge_obj_dir/device_aiv.o [ 88%] Built target kernels_merge_obj [ 91%] Building CXX object CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o [ 91%] Built target kernels_host_stub_obj [ 94%] Linking CXX static library lib/libkernels.a /usr/local/Ascend/ascend-toolkit/latest/bin/ascendc_pack_kernel /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_merge_obj_dir/device_aiv.o 1 /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o recompile: /usr/bin/ar qc lib/libkernels.a CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/build/kernels_host_dir/objects-Debug/host_bisheng_obj/home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o elf_tool.c.o ascendc_runtime.cpp.o recompile: /usr/bin/ranlib lib/libkernels.a [ 94%] Built target kernels [ 97%] Building CXX object CMakeFiles/main.dir/main.cpp.o [100%] Linking CXX executable main [100%] Built target main -- Install configuration: "Debug" -- Installing: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/out/lib64/libkernels.a -- Up-to-date: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/out/include -- Up-to-date: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/out/include/kernels -- Installing: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/out/include/kernels/aclrtlaunch_hello_world.h -- Installing: /home/ma-user/work/wxl/samples-master/operator/ascendc/0_introduction/0_helloworld/out/include/kernels/aclrtlaunch_triple_chevrons_func.h Error, Expected 8 occurrences of Hello World, but found 0 occurrences.
评论 (
8
)
登录
后才可以发表评论
状态
DONE
TODO
WIP
DONE
CLOSED
REJECTED
负责人
未设置
刘喜强
liu-xiqiang
负责人
协作者
+负责人
+协作者
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (19)
标签 (29)
master
r1.10
r1.9
r1.8
r1.7
r1.5
r1.6
pr_2663
add_lut4_llama7b_quantization
r1.4
r1.3
r1.1
r1.2
r1.21.0
r0.2
r1.0
r0.3
8.0.RC3_bugfix
r.ss928.1
v1.10-8.3.RC1.alpha003
v1.8-8.3.RC1.alpha002
v1.7-8.3.RC1.alpha001
v1.5-8.2.RC1
v1.6-8.2.RC1.alpha003
v1.4-8.2.RC1.alpha002
v1.3-8.2.RC1.alpha001
v1.1-8.1.RC1.beta1
v1.2-8.1.RC1.alpha002
v1.0-8.1.RC1.alpha001
v0.2-8.0.0.beta1
v0.3-8.0.0.alpha003
8.0.RC3
v0.1-8.0.0.alpha002
8.0.RC2.2
8.0.RC2
8.0.RC1
7.0.0
7.0.RC1
6.3.RC2
v0.9.0
v0.8.0
v0.7.0
v0.6.0
v0.1.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/ascend/samples.git
git@gitee.com:ascend/samples.git
ascend
samples
samples
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册