Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

飞腾2000+,麒麟V10环境下编译paddlepaddle报错 #68553

Open
clarisDi opened this issue Oct 4, 2024 · 1 comment
Open

飞腾2000+,麒麟V10环境下编译paddlepaddle报错 #68553

clarisDi opened this issue Oct 4, 2024 · 1 comment
Assignees
Labels

Comments

@clarisDi
Copy link

clarisDi commented Oct 4, 2024

请提出你的问题 Please ask your question

[99%] Linking CXX static library libpaddle_inference.a
[100%] Built target paddle_inference_shared
make[2]: 进入目录“/root/桌面/Paddle/build”
Merge and generate static lib: libpaddle_inference.a
桌面Syntax error in archive script, line 1
桌面/usr/bin/ar: /root/: file format not recognized
make[2]: *** [paddle/fluid/inference/CMakeFiles/paddle_inference.dir/build.make:784:paddle/fluid/inference/libpaddle_inference.a] 错误 1
make[2]: *** 正在删除文件“paddle/fluid/inference/libpaddle_inference.a”
make[2]: 离开目录“/root/桌面/Paddle/build”
Scanning dependencies of target check_symbol
make[1]: *** [CMakeFiles/Makefile2:83288:paddle/fluid/inference/CMakeFiles/paddle_inference.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
make[2]: 离开目录“/root/桌面/Paddle/build”
make[2]: 进入目录“/root/桌面/Paddle/build”
[100%] Generating .check_symbol
make[2]: 离开目录“/root/桌面/Paddle/build”
[100%] Built target check_symbol
make[1]: 离开目录“/root/桌面/Paddle/build”
make: *** [Makefile:130:all] 错误 2

===========================================
paddle/fluid/inference/CMakeFiles/paddle_inference.dir/build.make.784

781     cd /root/桌面/Paddle/build/paddle/fluid/inference && $(CMAKE_COMMAND) -P CMakeFiles/paddle_inference.dir/cmake_clean_target.cmake
782     cd /root/桌面/Paddle/build/paddle/fluid/inference && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/paddle_inference.dir/link.txt --verbose=$(VERBOSE)
783     @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold "Merge and generate static lib: libpaddle_inference.a"
784     cd /root/桌面/Paddle/build/paddle/fluid/inference && /usr/bin/ar -M < /root/桌面/Paddle/build/paddle/fluid/inference/paddle_inference.mri
785     cd /root/桌面/Paddle/build/paddle/fluid/inference && /usr/bin/ranlib /root/桌面/Paddle/build/paddle/fluid/inference/libpaddle_inference.a

请帮忙,谢谢。

版本&环境信息
银河麒麟v10 aarch64版本
Paddle version: 2.5
Python version: 3.7.9
CMake version: version 3.16.5

@engineer1109
Copy link
Contributor

VERBOSE=1 cmake --build .
会逐行暴露执行的命令。
一个个执行过去看看断在哪里?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants