Swift 嵌入式:没有符号名称的堆栈转储

问题描述 投票:0回答:1

(编辑):Swift嵌入将为esp32C6设备制作固件,这不是为了创建ISO IPA文件。问题可能是指南中的说明中缺少步骤,或者是框架在不需要时尝试使用符号器的错误。

我想知道是否有人尝试过 Swift 嵌入式框架但无法构建智能灯示例固件。

它因错误而下降:

Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):

我遵循了这个 guide,并且 docker 中的

idf.py
构建命令将会失败。

此外,我正在使用工具链的 10 月份开发快照。

日志最后一部分:

Swift version 6.1-dev (LLVM f4b733c38006ec1, Swift f4bea5f7c0a7aa5)
Compiling with effective version 5.10
While evaluating request IRGenRequest(IR Generation for module __idf_main)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend  0x0000aaaaba725274
1  swift-frontend  0x0000aaaaba723268
2  swift-frontend  0x0000aaaaba725980
3  linux-vdso.so.1 0x0000ffff973077a0 __kernel_rt_sigreturn + 0
4  libc.so.6       0x0000ffff958cf200
5  libc.so.6       0x0000ffff9588a67c raise + 28
6  libc.so.6       0x0000ffff95877130 abort + 228
7  libc.so.6       0x0000ffff95883fd0
8  libc.so.6       0x0000ffff95884040 __assert_perror_fail + 0
9  swift-frontend  0x0000aaaab4554b6c
10 swift-frontend  0x0000aaaab440509c
11 swift-frontend  0x0000aaaab445ab18
12 swift-frontend  0x0000aaaab440e870
13 swift-frontend  0x0000aaaab4405d2c
14 swift-frontend  0x0000aaaab4018044
15 swift-frontend  0x0000aaaab40144d8
16 swift-frontend  0x0000aaaab40136b0
17 swift-frontend  0x0000aaaab4020ff0
18 swift-frontend  0x0000aaaab4015df8
19 swift-frontend  0x0000aaaab4014ff8
20 swift-frontend  0x0000aaaab3e234b0
21 libc.so.6       0x0000ffff958773fc
22 libc.so.6       0x0000ffff958774cc __libc_start_main + 152
23 swift-frontend  0x0000aaaab3e226b0
[1135/1257] Building CXX object esp-idf/esp_matter/CMakeFiles/__idf_esp_matter.dir/private/esp_matter_nvs.cpp.obj
[1136/1257] Building CXX object esp-idf/esp_matter/CMakeFiles/__idf_esp_matter.dir/weak_functions.cpp.obj
[1137/1257] Building CXX object esp-idf/esp_matter/CMakeFiles/__idf_esp_matter.dir/esp_matter_identify.cpp.obj
[1138/1257] Building CXX object esp-idf/esp_matter/CMakeFiles/__idf_esp_matter.dir/esp_matter_providers.cpp.obj
[1139/1257] Building CXX object esp-idf/esp_matter/CMakeFiles/__idf_esp_matter.dir/root/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/server/AclStorage.cpp.obj
[1140/1257] Building CXX object esp-idf/esp_matter/CMakeFiles/__idf_esp_matter.dir/esp_matter_feature.cpp.obj
[1141/1257] Building CXX object esp-idf/esp_matter/CMakeFiles/__idf_esp_matter.dir/esp_matter_ota.cpp.obj
[1142/1257] Building CXX object esp-idf/esp_matter/CMakeFiles/__idf_esp_matter.dir/esp_matter_client.cpp.obj
[1143/1257] Building CXX object esp-idf/esp_matter/CMakeFiles/__idf_esp_matter.dir/root/esp/esp-matter/connectedhomeip/connectedhomeip/zzz_generated/app-common/app-common/zap-generat
ed/attributes/Accessors.cpp.obj
ninja: build stopped: subcommand failed.

有人遇到过这个问题并找到解决方法吗?

swift docker embedded toolchain
1个回答
0
投票

这是一个错误,任何收到此错误的人请打开错误报告

© www.soinside.com 2019 - 2024. All rights reserved.