Skip to content

Problem with submodules when compiling #1674

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

Closed
Every2 opened this issue Feb 17, 2025 · 1 comment
Closed

Problem with submodules when compiling #1674

Every2 opened this issue Feb 17, 2025 · 1 comment

Comments

@Every2
Copy link

Every2 commented Feb 17, 2025

Hi, I followed the commands described in the documentation to cross compile. However, I received the following error: Error: Server does not allow request for unadvertised object 3beb2cdb.

So far, that's fine. I was able to solve by running git submodule sync, but compiling again he accuses not finding binutils/config. Thus making it impossible for me to compile.

I was able to resolve the error running git clone --recurse-submodules [email protected]:riscv-collab/riscv-gnu-toolchain.git and following the steps described in the documentation.

Idk if this's the correct way to solve, but worked to me.

Thanks in advance!

@TommyMurphyTM1234
Copy link
Collaborator

See here and use the workaround linked from there for now:

Do the initial clone of the repo afresh if necessary before using the workaround.

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

2 participants