chipsalliance / chipsalliance/rocket-chip

./build.sh failed at riscv-openocd

Open
#2,052 4 comments 0 reactions 0 assignees View on GitHub
build: toolchain
Dominant language
Scala
Stars
3.9k
Forks
1.3k
Avg merge
5d 13m
Merged PRs (30d)
1

Description

**Type of issue**: bug report | feature request | other enhancement

I am trying to install rocket-tools but encountered this error when running ./build.sh. I have already installed all the required packages on https://github.com/freechipsproject/rocket-tools as well as setting the variable RISCV.
And this is blocking me from going further with using rocket-tools.
Below is my errors:
Starting RISC-V Toolchain build process

Configuring project riscv-openocd
Building project riscv-openocd
Makefile:4509: warning: overriding recipe for target 'check-recursive'
Makefile:3920: warning: ignoring old recipe for target 'check-recursive'
Makefile:4509: warning: overriding recipe for target 'check-recursive'
Makefile:3920: warning: ignoring old recipe for target 'check-recursive'
ar: `u' modifier ignored since `D' is the default (see `U')
Makefile:4509: warning: overriding recipe for target 'check-recursive'
Makefile:3920: warning: ignoring old recipe for target 'check-recursive'
/bin/bash: line 9: /usr/local-linux/bin/makeinfo: No such file or directory
make[2]: *** [../doc/openocd.info] Error 127
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thanks,
Regards.
Minh

Contributor guide

Open the contributing guide

Research direction

Start with ./build.sh and the riscv-openocd build step, then inspect how the build invokes /usr/local-linux/bin/makeinfo and compare that with the required packages and RISCV setting. Done means the documented toolchain build completes past riscv-openocd without the missing makeinfo error.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
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.