Skip to content

Building riscv-gnu-toolchain fails #72

@rxwb

Description

@rxwb

Description

Following the steps in toolchain/build/scripts/README.md leads to an error in the 2nd step when trying to build the toolchain in the container:

Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/binutils'...
fatal: could not read Username for 'https://github.com': No such device or address
fatal: clone of 'https://github.com/bminor/binutils-gdb.git' into submodule path '/toolchain/build_scripts/riscv-gnu-toolchain/binutils' failed
Failed to clone 'binutils'. Retry scheduled
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/dejagnu'...
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/gcc'...
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/gdb'...
fatal: could not read Username for 'https://github.com': No such device or address
fatal: clone of 'https://github.com/bminor/binutils-gdb.git' into submodule path '/toolchain/build_scripts/riscv-gnu-toolchain/gdb' failed
Failed to clone 'gdb'. Retry scheduled
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/glibc'...
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/llvm'...
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/musl'...
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/newlib'...
fatal: could not read Username for 'https://github.com': No such device or address
fatal: clone of 'https://github.com/bminor/newlib.git' into submodule path '/toolchain/build_scripts/riscv-gnu-toolchain/newlib' failed
Failed to clone 'newlib'. Retry scheduled
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/pk'...
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/qemu'...
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/spike'...
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/uclibc-ng'...
Cloning into '/toolchain/build_scripts/riscv-gnu-toolchain/binutils'...
fatal: could not read Username for 'https://github.com': No such device or address
fatal: clone of 'https://github.com/bminor/binutils-gdb.git' into submodule path '/toolchain/build_scripts/riscv-gnu-toolchain/binutils' failed

Reason for this is that the code mirrors in github.com/bminor do not exist anymore. Upstream this was fixed in:
riscv-collab/riscv-gnu-toolchain@311e70f

Can the riscv-gnu-toolchain be updated to a newer release, or are there compatibility problems to be expected?

Click to expand!

Issue Type

Build/Install

Operating System

Linux

Coral Device

No response

Other Devices

No response

Programming Language

No response

Relevant Log Output

```</details>

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions