Builds that do not fit within the FC's flash should produce a better failure message
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- build-system, tooling
调研方向
首先追踪自定义构建服务器的 Waf/linking 失败路径,该路径会产生所示的链接器错误和“Build failed”输出。确认 flash 溢出是如何报告的,然后让失败信息说明需要选择更少的 feature,并验证生成的构建输出。
由索引模型根据 Issue 内容生成。
描述
This issue is in response to this 4.6.0-beta1 user report in which the user saw a linker error and was unable to produce a firmware for their autopilot.
The issue turned out to simply be that the build would not fit in the autopilot's flash. We should improve the message so that the user knows they can resolve the issue by de-selecting some features.
The current message is something like this
[1215/1222] Linking ../CubeOrangePlus/bin/arducopter
/home/custom/gcc-arm-none-eabi-10-2020-q4-major/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld:common.ld:202 cannot move location counter backwards (from 0000000008201e60 to 0000000008200000)
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/mnt/volume_nyc3_01/custom/base/tmp/copter:CubeOrangePlus:4d31a7320a1d2c38e2d742ae63c34f914febaa8f:a440fcafd32cc20580367b5d6fc30a97/CubeOrangePlus'
Build failed
A better message would be something like, "flash overflow, reduce the number of features selected"
- 主要语言
- Python
- 星标
- 33
- 派生
- 73
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ArduPilot/CustomBuild 的其他 Issue
-
generator issue未关闭
难度 2/5 1-3 小时 新手友好度 85/100
ArduPilot/CustomBuild#259 ·
-
misspelling未关闭
难度 1/5 1 小时以内 新手友好度 90/100
ArduPilot/CustomBuild#254 ·
-
Defaults for boards when selecting heli include multi copter frames and non compatibly flight modes.未关闭
难度 3/5 1-2 天 新手友好度 55/100
ArduPilot/CustomBuild#255 ·
-
难度 3/5 1-2 天 新手友好度 55/100
ArduPilot/CustomBuild#237 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 55/100
ArduPilot/CustomBuild#236 · 2 条评论 ·
查看 ArduPilot/CustomBuild 的全部 Issue
相似的 Issue
-
ui
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
accepted
难度 2/5 1-3 小时 新手友好度 68/100
future-agi/future-agi#5070 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
juandresrodca/AdminForge#69 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
deepset-ai/haystack-integrations#817 ·
维护者通常 12 天内回复
-
[Bug]: test_remote_realpath_uses_argument_vector fails on Windows with Python 3.13+ (ntpath.isabs)可能已有人在做 @gouyu-hou 今天认领。 未关闭triage/confirmed
难度 1/5 1 小时以内 新手友好度 90/100
agentscope-ai/agentscope#4397 ·
维护者通常 2 天内回复