riscv-software-src / riscv-software-src/opensbi

Make Clean Did Not Clean Completely

Open
#401 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.5k
Forks
712
PR merge metrics
No merged PRs in 30d

Description

Hi:

I was facing a bug while using openSBI, and it eventually turns out that some of the old content in build folder ruin the new build.
Once manully delete build folder and re-Make, the problem was gone.

For the make clean, should it be better to just delete build folder?

Jerry

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 locating the build configuration that defines the make clean target and inspect how it removes generated content from build. Reproduce the issue by leaving old files in build, run make clean, and verify that a subsequent build no longer uses them.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.