Open LetmeSay opened 1 year ago
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
依赖包提前下载好 另外还是建议从官方的拉代码 可以使用gitee
现在是编译的问题过不去,感觉不像是依赖包的问题
问题描述 Issue Description
环境: Ubuntu v18.04 TensorRT v8.0.1.6 CUDA v10.2.300 CUDNN v8.2.1.32 Paddle v2.1 (链接https://gitee.com/jiaopan/Paddle/tree/build_cn/ 因为官方的第三方引用都是从github上下载的,老是中断,所以用的该链接)
执行以下命令时 cd Paddle mkdir build cd build cmake .. \ -DWITH_CONTRIB=OFF \ -DWITH_MKL=OFF \ -DWITH_MKLDNN=OFF \ -DWITH_TESTING=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DON_INFER=ON \ -DWITH_PYTHON=OFF \ -DWITH_XBYAK=OFF \ -DWITH_NV_JETSON=ON make -j1
报错: c++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-7/README.Bugs for instructions. paddle/fluid/operators/math/CMakeFiles/math_function.dir/build.make:65: recipe for target 'paddle/fluid/operators/math/CMakeFiles/math_function.dir/math_function.cc.o' failed make[2]: [paddle/fluid/operators/math/CMakeFiles/math_function.dir/math_function.cc.o] Error 4 CMakeFiles/Makefile2:73723: recipe for target 'paddle/fluid/operators/math/CMakeFiles/math_function.dir/all' failed make[1]: [paddle/fluid/operators/math/CMakeFiles/math_function.dir/all] Error 2 Makefile:132: recipe for target 'all' failed make: *** [all] Error 2
版本&环境信息 Version & Environment Information
环境: Ubuntu v18.04 TensorRT v8.0.1.6 CUDA v10.2.300 CUDNN v8.2.1.32 Paddle v2.1 (链接https://gitee.com/jiaopan/Paddle/tree/build_cn/ 因为官方的第三方引用都是从github上下载的,老是中断,所以用的该链接)