9 Star 72 Fork 179

OpenHarmony / third_party_wpa_supplicant

 / 详情

target_triple错误

已拒绝
缺陷
创建于  
2022-07-20 18:04

【模块名_概率】简要描述:

  • 模块名:third_party_wpa_supplicant
  • 概率:100%
    【环境信息】:
  • 网络环境
  • 硬件开发板型号
    niobeu4
  • 软件版本信息或tag节点
    master
  • 测试环境
  • 其他

【预置条件】:

  • L0级别的OpenHarmony
  • 编译工具链xtensa-esp32-elf-gcc
    【测试步骤】:
  • hb build -f
    【预期结果】:
  • 编译通过
    【实际结果】:
  • 编译报target_triple未定义,即使屏蔽此信息也会报arm-linux-ohoseabi-gcc工具链错误,报错信息如下:
[OHOS INFO] 
[OHOS INFO] build configs generation is complete.
[OHOS INFO] ohos_build_compiler: gcc
[OHOS INFO] ohos_kernel_type: liteos_m
[OHOS INFO] ERROR at //third_party/wpa_supplicant/wpa_supplicant-2.9/BUILD.gn:14:30: Undefined identifier in string expansion.
[OHOS INFO]   arch_cflags += " --target=$target_triple"
[OHOS INFO]                              ^------------
[OHOS INFO] "target_triple" is not currently in scope.
[OHOS INFO] See //build/ohos/ohos_part.gni:25:16: which caused the file to be included.
[OHOS INFO]     _deps += [ get_label_info(module_label, "label_with_toolchain") ]
[OHOS INFO]                ^--------------------------------------------------
[OHOS INFO] liteos_config_file: /home/syn/code/niobeu4/vendor/openvalley/niobeu4/kernel_configs/debug.config
[OHOS INFO] ---------------------------------------------
[OHOS INFO] ccache summary:
[OHOS INFO] cache hit (direct)  : 0
[OHOS INFO] cache hit (preprocessed)  : 0
[OHOS INFO] cache miss  : 0
[OHOS INFO] hit rate:  0.00% 
[OHOS INFO] mis rate: 0.00% 
[OHOS INFO] ---------------------------------------------

【恢复手段】:

【出现概率】:问题出现次数/实际测试次数
100%
【定位信息】:

    1. Log、截图、多媒体文件等,所有和问题有关的信息:

评论 (0)

shiyinang 创建了缺陷
NoCodeNoBB 任务状态待办的 修改为已拒绝
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
1
https://gitee.com/openharmony/third_party_wpa_supplicant.git
git@gitee.com:openharmony/third_party_wpa_supplicant.git
openharmony
third_party_wpa_supplicant
third_party_wpa_supplicant

搜索帮助