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

gnu/stubs-lp64.h: No such file or directory when using riscv64-unknown-linux-gnu-gcc #125

Open
yonghaoXuGit opened this issue Sep 14, 2018 · 2 comments

Comments

@yonghaoXuGit
Copy link

When I configure --host=riscv64-unknown-linux-gnu,I encountered the following problem:
gnu/stubs-lp64.h: No such file or directory
But when I use assign host=riscv64-unknown-elf,the riscv-pk can be built correctly.Why?And how to solve it?

Thanks!

@zongbox
Copy link
Contributor

zongbox commented Oct 17, 2018

Maybe you can refer to #114

@LHY-24
Copy link

LHY-24 commented Apr 22, 2021

A solution that seems to work is:

1.Go to folder ....../include/gnu/
1.cp stubs-lp64d.h stubs-lp64.h

Re-run make command.

Reference: michaeljclark/busybear-linux#10

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

3 participants