Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails: No rule to make target '/.../build/gdbserver/sim/riscv/libsim.a' #8

Open
hirooih opened this issue May 6, 2022 · 0 comments

Comments

@hirooih
Copy link

hirooih commented May 6, 2022

How to reproduce:

sudo apt install verilator binutils-dev

git clone https://github.com/embecosm/riscv-toolchain.git
cd riscv-toolchain/
./clone-all.sh 
./checkout-all.sh 
./build-targets.sh 
./build-tools.sh --gdbserver-only --with-arch c

Fails as follows:

...
make[2]: *** No rule to make target '/home/hiroo/Work/GitHub/Embecosm/build/gdbserver/sim/riscv/libsim.a', needed by 'riscv32-gdbserver'.  Stop.
...

I took a look at build/gdbserver/server/Makefile. Certainly it has no rule for libsim.a.
(FYI It may not be relevant, but .../build/gdbserver/targets/gdbsim/.libs/libgdbsim.a, instead of libsim.a, is generated during the build process.)

The attached is the full log file from build-tool.sh.
build-2022-05-06-1803-FtEm.log

How can I build riscv-gdbserver?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant