Bug 14621

Summary: RISC-V External Toolchain build fails for latest riscv-gnu-toolchain
Product: buildroot Reporter: Noah Huetter <noahhuetter>
Component: OtherAssignee: unassigned
Status: RESOLVED MOVED    
Severity: normal CC: buildroot, yann.morin.1998
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Noah Huetter 2022-03-01 14:20:11 UTC
I want to use the RISC-V GNU toolchain as external toolchain from [1] to use in buildroot. When I specify it and start the build process, the first package fails to link with the message

libpthread.so: read failed. Is a directory.

Buildroot creates a symlink in the sysroot of output/host that points to `../../` which is a directory. On older versions with GCC 8 it works.

riscv-gnu-toolchain: tag: 2022.02.25
buildroot: 2022.02-rc3
host: Linux 3.10.0-1160.42.2.el7.x86_64

[1]: https://github.com/riscv-collab/riscv-gnu-toolchain
Comment 1 Thomas Petazzoni 2022-07-27 13:45:55 UTC
Is a pre-compiled version of this RISC-V toolchain available somewhere, to be able to reproduce more quickly?
Comment 2 Yann E. MORIN 2024-06-15 15:00:51 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!