Open wwma opened 3 days ago
log.log
Linux下调用paddle_lite_opt --model_dir=./export_model/ --valid_targets=arm --optimize_out=bridge_opt >log.txt 2>&1
的log信息,由于文件过大有删减。
- 版本、环境信息: 1)Paddle Lite 版本:v2.13rc
- 模型信息 1)模型名称:个人定制模型
- 在windows 没有报错信息,但是也没有转换成功的.nb模型
- 在wsl支持的Linux下,报错
Segmentation fault (core dumped)
重新编译opt工具报错 信息:
In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/bits/stl_tree.h:63, from /usr/include/c++/13/map:62, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_extension.h:38, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_extension.cc:35: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2093:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2093 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2185:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2185 | : public std::iterator<std::random_access_iterator_tag, Element*> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2188:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2188 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 72%] Building CXX object CMakeFiles/libprotoc.dir/home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_file.cc.o /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2334:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2334 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2360:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2360 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2392:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2392 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2422:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2422 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 72%] Building CXX object CMakeFiles/libprotoc.dir/home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_generator.cc.o In file included from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/descriptor.pb.h:27, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.h:41, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_extension_lite.cc:35: /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2089:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2089 | : public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/bits/stl_tree.h:63, from /usr/include/c++/13/map:62, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_extension_lite.h:34, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_extension_lite.cc:31: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2093:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2093 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2185:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2185 | : public std::iterator<std::random_access_iterator_tag, Element*> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2188:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2188 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2334:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2334 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2360:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2360 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2392:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2392 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2422:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2422 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/descriptor.pb.h:27, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.h:41, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_field.cc:47: /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2089:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2089 | : public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/bits/stl_tree.h:63, from /usr/include/c++/13/map:62, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_field.h:38, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_field.cc:35: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2093:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2093 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2185:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2185 | : public std::iterator<std::random_access_iterator_tag, Element*> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2188:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2188 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2334:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2334 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2360:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2360 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2392:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2392 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2422:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2422 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 73%] Building CXX object CMakeFiles/libprotoc.dir/home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_generator_factory.cc.o [ 73%] Building CXX object CMakeFiles/libprotoc.dir/home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.cc.o [ 74%] Building CXX object CMakeFiles/libprotoc.dir/home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_lazy_message_field.cc.o [ 75%] Building CXX object CMakeFiles/libprotoc.dir/home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc.o In file included from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/descriptor.pb.h:27, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.h:41, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_file.cc:48: /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2089:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2089 | : public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_construct.h:61, from /usr/include/c++/13/bits/stl_tempbuf.h:61, from /usr/include/c++/13/memory:66, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_file.h:38, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_file.cc:35: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2093:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2093 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2185:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2185 | : public std::iterator<std::random_access_iterator_tag, Element*> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2188:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2188 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2334:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2334 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2360:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2360 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2392:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2392 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2422:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2422 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/descriptor.pb.h:27, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.h:41, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_generator.cc:44: /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2089:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2089 | : public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13/string:47, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_generator.h:40, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_generator.cc:35: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2093:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2093 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2185:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2185 | : public std::iterator<std::random_access_iterator_tag, Element*> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2188:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2188 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2334:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2334 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2360:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2360 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2392:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2392 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2422:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2422 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/descriptor.pb.h:27, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.h:41, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_generator_factory.cc:40: /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2089:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2089 | : public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13/string:47, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/stubs/common.h:38, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_generator_factory.h:36, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_generator_factory.cc:33: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2093:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2093 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2185:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2185 | : public std::iterator<std::random_access_iterator_tag, Element*> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2188:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2188 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2334:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2334 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2360:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2360 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2392:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2392 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2422:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2422 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/c++/13/set:62, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_file.cc:41: /usr/include/c++/13/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(_Const_Link_type) [with _Key = const google::protobuf::FieldDescriptor*; _Val = const google::protobuf::FieldDescriptor*; _KeyOfValue = std::_Identity<const google::protobuf::FieldDescriptor*>; _Compare = google::protobuf::compiler::java::{anonymous}::FieldDescriptorCompare; _Alloc = std::allocator<const google::protobuf::FieldDescriptor*>; _Const_Link_type = const std::_Rb_tree_node<const google::protobuf::FieldDescriptor*>*]’: /usr/include/c++/13/bits/stl_tree.h:2118:47: required from ‘std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_unique_pos(const key_type&) [with _Key = const google::protobuf::FieldDescriptor*; _Val = const google::protobuf::FieldDescriptor*; _KeyOfValue = std::_Identity<const google::protobuf::FieldDescriptor*>; _Compare = google::protobuf::compiler::java::{anonymous}::FieldDescriptorCompare; _Alloc = std::allocator<const google::protobuf::FieldDescriptor*>; key_type = const google::protobuf::FieldDescriptor*]’ /usr/include/c++/13/bits/stl_tree.h:2171:4: required from ‘std::pair<std::_Rb_tree_iterator<_Val>, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique(_Arg&&) [with _Arg = const google::protobuf::FieldDescriptor* const&; _Key = const google::protobuf::FieldDescriptor*; _Val = const google::protobuf::FieldDescriptor*; _KeyOfValue = std::_Identity<const google::protobuf::FieldDescriptor*>; _Compare = google::protobuf::compiler::java::{anonymous}::FieldDescriptorCompare; _Alloc = std::allocator<const google::protobuf::FieldDescriptor*>]’ /usr/include/c++/13/bits/stl_set.h:514:25: required from ‘std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = const google::protobuf::FieldDescriptor*; _Compare = google::protobuf::compiler::java::{anonymous}::FieldDescriptorCompare; _Alloc = std::allocator<const google::protobuf::FieldDescriptor*>; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterator = std::_Rb_tree<const google::protobuf::FieldDescriptor*, const google::protobuf::FieldDescriptor*, std::_Identity<const google::protobuf::FieldDescriptor*>, google::protobuf::compiler::java::{anonymous}::FieldDescriptorCompare, std::allocator<const google::protobuf::FieldDescriptor*> >::const_iterator; typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other = std::allocator<const google::protobuf::FieldDescriptor*>; typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key> = __gnu_cxx::__alloc_traits<std::allocator<const google::protobuf::FieldDescriptor*>, const google::protobuf::FieldDescriptor*>::rebind<const google::protobuf::FieldDescriptor*>; typename _Allocator::value_type = const google::protobuf::FieldDescriptor*; value_type = const google::protobuf::FieldDescriptor*]’ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_file.cc:97:54: required from here /usr/include/c++/13/bits/stl_tree.h:772:15: error: static assertion failed: comparison object must be invocable as const 772 | is_invocable_v<const _Compare&, const _Key&, const _Key&>, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/stl_tree.h:772:15: note: ‘std::is_invocable_v<const google::protobuf::compiler::java::{anonymous}::FieldDescriptorCompare&, const google::protobuf::FieldDescriptor* const&, const google::protobuf::FieldDescriptor* const&>’ evaluates to false [ 75%] Building CXX object CMakeFiles/libprotoc.dir/home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_map_field.cc.o In file included from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/descriptor.pb.h:27, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.h:41, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc:38: /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2089:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2089 | : public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/bits/stl_tree.h:63, from /usr/include/c++/13/map:62, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_context.h:34, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_lazy_message_field_lite.cc:35: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2093:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2093 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2185:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2185 | : public std::iterator<std::random_access_iterator_tag, Element*> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2188:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2188 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2334:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2334 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2360:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2360 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2392:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2392 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2422:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2422 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[6]: *** [CMakeFiles/libprotoc.dir/build.make:636: CMakeFiles/libprotoc.dir/home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_file.cc.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/descriptor.pb.h:27, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.h:41, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_lazy_message_field.cc:38: /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2089:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2089 | : public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/bits/stl_tree.h:63, from /usr/include/c++/13/map:62, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_context.h:34, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_lazy_message_field.cc:35: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2093:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2093 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2185:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2185 | : public std::iterator<std::random_access_iterator_tag, Element*> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2188:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2188 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2334:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2334 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2360:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2360 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2392:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2392 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2422:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2422 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/descriptor.pb.h:27, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.h:41, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.cc:40: /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2089:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2089 | : public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/algorithm:60, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.cc:35: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2093:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2093 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2185:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2185 | : public std::iterator<std::random_access_iterator_tag, Element*> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2188:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2188 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2334:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2334 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2360:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2360 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2392:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2392 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2422:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2422 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/descriptor.pb.h:27, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_helpers.h:41, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_map_field.cc:35: /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2089:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2089 | : public std::iterator< | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/bits/stl_tree.h:63, from /usr/include/c++/13/map:62, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_field.h:38, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_map_field.h:34, from /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/compiler/java/java_map_field.cc:31: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2093:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2093 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2185:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2185 | : public std::iterator<std::random_access_iterator_tag, Element*> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2188:16: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2188 | typedef std::iterator< | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2334:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2334 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2360:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2360 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2392:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2392 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/google/protobuf/repeated_field.h:2422:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations] 2422 | : public std::iterator<std::output_iterator_tag, T> { | ^~~~~~~~ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[5]: *** [CMakeFiles/Makefile2:141: CMakeFiles/libprotoc.dir/all] Error 2 make[4]: *** [Makefile:136: all] Error 2 make[3]: *** [CMakeFiles/extern_protobuf.dir/build.make:86: /home/myt/paddlelite/Paddle-Lite-2.14-rc/third-party/protobuf-host/src/extern_protobuf-stamp/extern_protobuf-build] Error 2 make[2]: *** [CMakeFiles/Makefile2:925: CMakeFiles/extern_protobuf.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... -- extern_glog configure command succeeded. See also /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/glog-stamp/extern_glog-configure-*.log [ 1%] Performing build step for 'extern_glog' [ 25%] Building CXX object CMakeFiles/glog.dir/src/demangle.cc.o [ 25%] Building CXX object CMakeFiles/glog.dir/src/logging.cc.o [ 50%] Building CXX object CMakeFiles/glog.dir/src/vlog_is_on.cc.o [ 50%] Building CXX object CMakeFiles/glog.dir/src/symbolize.cc.o [ 75%] Building CXX object CMakeFiles/glog.dir/src/signalhandler.cc.o [ 75%] Building CXX object CMakeFiles/glog.dir/src/raw_logging.cc.o [ 87%] Building CXX object CMakeFiles/glog.dir/src/utilities.cc.o [100%] Linking CXX static library libglog.a [100%] Built target glog [ 1%] Performing install step for 'extern_glog' [100%] Built target glog Install the project... -- Install configuration: "" -- Installing: /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/lib/libglog.a -- Installing: /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/include/glog/config.h -- Installing: /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/include/glog/logging.h -- Installing: /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/include/glog/raw_logging.h -- Installing: /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/include/glog/stl_logging.h -- Installing: /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/include/glog/vlog_is_on.h -- Installing: /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/include/glog/log_severity.h -- Installing: /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/lib/cmake/glog/glog-config.cmake -- Installing: /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/lib/cmake/glog/glog-config-version.cmake -- Installing: /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/lib/cmake/glog/glog-targets.cmake -- Installing: /home/myt/paddlelite/Paddle-Lite-2.14-rc/build.opt/third_party/install/glog/lib/cmake/glog/glog-targets-noconfig.cmake [ 1%] Completed 'extern_glog' [ 1%] Built target extern_glog make[1]: *** [CMakeFiles/Makefile2:1680: lite/api/CMakeFiles/opt.dir/rule] Error 2 make: *** [Makefile:514: opt] Error 2
上述编译 log 可能是 gcc 版本太高导致的,目前已经测试的是 gcc 9.3 以下版本,顺便说一下,目前 release note 已经有预编译的 2.14rc 版 opt 工具,https://github.com/PaddlePaddle/Paddle-Lite/releases ,可以直接使用预编译的 opt 工具试试。
你好,我用最新版本的opt工具已经成功转换了。但是部署在Android上时,得到的识别结果数组和图片分辨率大小不符合,且识别结果数组后半部分非常大,与非lite版本得到的结果不一致。 识别结果数组: lite版本的识别结果:识别结果数组.txt 非lite版本的识别结果:tmp.txt
你好,我用最新版本的opt工具已经成功转换了。但是部署在Android上时,得到的识别结果数组和图片分辨率大小不符合,且识别结果数组后半部分非常大,与非lite版本得到的结果不一致。 识别结果数组: lite版本的识别结果:识别结果数组.txt 非lite版本的识别结果:tmp.txt
你的 Paddle Lite 库也用的是最新 2.14-rc 的吗?
重新编译opt工具报错 信息: