oxidecomputer / oxidecomputer/hubris

"Insufficient flash" error message doesn't always seem to work

Open
#439 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3.6k
Forks
239
Avg merge
1d 12h
Merged PRs (30d)
23

Description

While working on https://github.com/oxidecomputer/hubris/pull/438 I got a lot of linker errors when sizes were wrong. But when working on fixing up sidecar, I got:

Error: task-net has insufficient flash: specified 65536 bytes, needs 65620

I remembered we were working on this but forgot it was merged; when I got the linker errors I assumed it was still in a branch. But clearly it's working sometimes and not other times.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the sidecar build described in the issue and compare its linker errors with the "insufficient flash" diagnostic discussed in PR #438. Done should mean the flash-size check reports consistently instead of working only for some builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.