6732
- 收藏
- 点赞
- 分享
- 举报
Hi3559A V100 020 交叉编译报错,006之前没问题
本帖最后由 qn1550662443 于 2019-2-20 22:49 编辑
安装交叉工具链 Hi3559A V100R001C02SPC020: 引入一个开源 json 库,仅一个头文件 (https://github.com/nlohmann/json)
报错,怎么都不过,之前用过该库的。
于是使用 Hi3559A V100R001C02SPC006 之前版本的交叉工具链就没问题。
求助,是不是交叉工具链的bug啊?如果是怎么提交这个bug 出来给相关团队?
aarch64-himix100-linux_020/aarch64-himix100-linux/bin/aarch64-himix100-linux-g++ -g -g3 -O0 -fPIC -Wall -Werror -std=c++11 -c -o mini main.cpp
In file included from main.cpp:2:0:
json.hpp:6135:91: internal compiler error: same canonical type node for different types nlohmann::detail::json_reverse_iterator ::base_iterator and std::reverse_iterator<_Iterator>
explicit json_reverse_iterator(const base_iterator& it) noexcept : base_iterator(it) {}
^
0x835b4d4 comptypes(tree_node*, tree_node*, int)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1435
0x823e67e resolve_typename_type(tree_node*, bool)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/pt.c:23601
0x83592fd structural_comptypes
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1199
0x835b438 comptypes(tree_node*, tree_node*, int)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1445
0x83591e7 structural_comptypes
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1357
0x835b438 comptypes(tree_node*, tree_node*, int)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1445
0x835c49b compparms(tree_node const*, tree_node const*)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1537
0x82b8852 add_method(tree_node*, tree_node*, tree_node*)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/class.c:1157
0x83b79e1 finish_member_declaration(tree_node*)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/semantics.c:3007
0x8343460 cp_parser_member_declaration
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:22625
0x8344a24 cp_parser_member_specification_opt
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:22186
0x8344a24 cp_parser_class_specifier_1
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:21378
0x8321bda cp_parser_class_specifier
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:21614
0x8321bda cp_parser_type_specifier
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:15868
0x8321ea1 cp_parser_decl_specifier_seq
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:12788
0x834153d cp_parser_single_declaration
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:25803
0x83418d8 cp_parser_template_declaration_after_parameters
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:25498
0x8342166 cp_parser_explicit_template_declaration
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:25730
0x8342488 cp_parser_template_declaration_after_export
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:25748
0x834673f cp_parser_declaration
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:12123
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See for instructions.
安装交叉工具链 Hi3559A V100R001C02SPC020: 引入一个开源 json 库,仅一个头文件 (https://github.com/nlohmann/json)
报错,怎么都不过,之前用过该库的。
于是使用 Hi3559A V100R001C02SPC006 之前版本的交叉工具链就没问题。
求助,是不是交叉工具链的bug啊?如果是怎么提交这个bug 出来给相关团队?
aarch64-himix100-linux_020/aarch64-himix100-linux/bin/aarch64-himix100-linux-g++ -g -g3 -O0 -fPIC -Wall -Werror -std=c++11 -c -o mini main.cpp
In file included from main.cpp:2:0:
json.hpp:6135:91: internal compiler error: same canonical type node for different types nlohmann::detail::json_reverse_iterator
explicit json_reverse_iterator(const base_iterator& it) noexcept : base_iterator(it) {}
^
0x835b4d4 comptypes(tree_node*, tree_node*, int)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1435
0x823e67e resolve_typename_type(tree_node*, bool)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/pt.c:23601
0x83592fd structural_comptypes
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1199
0x835b438 comptypes(tree_node*, tree_node*, int)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1445
0x83591e7 structural_comptypes
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1357
0x835b438 comptypes(tree_node*, tree_node*, int)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1445
0x835c49b compparms(tree_node const*, tree_node const*)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/typeck.c:1537
0x82b8852 add_method(tree_node*, tree_node*, tree_node*)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/class.c:1157
0x83b79e1 finish_member_declaration(tree_node*)
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/semantics.c:3007
0x8343460 cp_parser_member_declaration
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:22625
0x8344a24 cp_parser_member_specification_opt
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:22186
0x8344a24 cp_parser_class_specifier_1
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:21378
0x8321bda cp_parser_class_specifier
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:21614
0x8321bda cp_parser_type_specifier
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:15868
0x8321ea1 cp_parser_decl_specifier_seq
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:12788
0x834153d cp_parser_single_declaration
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:25803
0x83418d8 cp_parser_template_declaration_after_parameters
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:25498
0x8342166 cp_parser_explicit_template_declaration
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:25730
0x8342488 cp_parser_template_declaration_after_export
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:25748
0x834673f cp_parser_declaration
/home/sying/SDK_CPU_UNIFIED/build/script/aarch64-himix100-linux/aarch64_himix100_build_dir/src/gcc-6.3.0/gcc/cp/parser.c:12123
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See
我来回答
回答18个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2019-04-10 08:42:45
-
2018-11-15 17:24:26
-
2020-04-22 17:36:25
-
2021-01-11 21:56:19
-
2020-12-08 20:56:29
-
2019-03-02 10:25:56
-
2020-07-17 15:52:32
-
2020-09-12 18:02:03
-
2019-03-07 09:12:53
-
2019-04-25 15:04:32
-
2020-08-21 11:26:56
-
2021-08-26 21:04:18
-
2018-12-05 20:09:31
-
2019-04-16 11:40:44
-
2021-08-16 08:52:17
-
2018-11-13 16:45:50
-
2019-08-06 20:21:47
-
2018-04-22 15:18:33
-
2018-12-20 15:34:53
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认