Bug 14621 - RISC-V External Toolchain build fails for latest riscv-gnu-toolchain
Summary: RISC-V External Toolchain build fails for latest riscv-gnu-toolchain
Status: RESOLVED MOVED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-01 14:20 UTC by Noah Huetter
Modified: 2024-06-15 15:00 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!