当我尝试使用以下命令递归克隆riscv-tools
时:
git clone https://github.com/riscv/riscv-tools.git --recursive
我收到此错误:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/riscv/riscv-glibc.git' into submodule path '/home/joe/riscv-tools/riscv-gnu-toolchain/riscv-glibc' failed
Failed to clone 'riscv-glibc'. Retry scheduled
任何帮助将不胜感激。
答案 0 :(得分:0)
最后,我通过将DNS IP地址更改为8.8.8.8
来解决了该问题。我不知道为什么会这样,但是出于某种原因。