lowRISC / lowRISC/sunburst-chip

build issue with sw build

Open
#82 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
19
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I have pulled the cheriot branch (commit id: fc3298fdae58c2090e7a6045b8acd7e5ae7e2c9d)

Followed the steps in readme.md to build (in WSL Ubuntu 24).

while building sw i encountered below issue (**cmake --build sw/device/build**)

```
/sunburst/sunburst-chip/sw/device/lib/testing/json/../../../../../sw/device/lib/testing/json/pinmux_config.h:40:1: **error**: initializer-string for char array is too long [-Werror,-Wexcess-initializers]
40 | UJSON_SERDE_STRUCT(PinmuxConfig, pinmux_config_t, STRUCT_PINMUX_CONFIG);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

any pointers to what i could be missing ?

Contributor guide

No contributing guide indexed for this repository

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 with the README build steps and reproduce the failure using `cmake --build sw/device/build` at commit `fc3298fdae58c2090e7a6045b8acd7e5ae7e2c9d` in WSL Ubuntu 24. Inspect `sw/device/lib/testing/json/pinmux_config.h` around line 40 and determine what causes the `-Werror=...` initializer error; done means the software build completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cmake
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.